Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cat it run in log4js-5.1.0 ? i got follow error #5

Open
gsons opened this issue Sep 24, 2019 · 1 comment
Open

cat it run in log4js-5.1.0 ? i got follow error #5

gsons opened this issue Sep 24, 2019 · 1 comment

Comments

@gsons
Copy link

gsons commented Sep 24, 2019

The "path" argument must be of type string. Received type undefined"

@adrian-e
Copy link

I had just the same problem! I had it related to webpack when trying to run the bundle.
I had to manually edit log4js/lib/appenders/index.js and add the following line

coreAppenders.set('@log4js-node/smtp', require('../../../@log4js-node/smtp/lib/index'));

After the last appender defined and it worked like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants