Skip to content

The latest version of log4js cannot be used in nextjs #1439

@qiweiff

Description

@qiweiff

After initializing log4js, Nextjs has the following error
I found that this error did not occur in versions earlier than 6.5

⨯ ./node_modules/log4js/lib/appenders
Module not found: Can't resolve './ROOT/' '.cjs'
server relative imports are not implemented yet. Please try an import relative to the file you are importing from.

https://nextjs.org/docs/messages/module-not-found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions