You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm still having issues with log4js and webpack...
I believe log4js is going to be a barrier to anyone using webpack and xero-node. I'm sure there is a way in your webpack config to fix it, but it's a barrier.
Is anyone else using webpack and having these issues?
I have a branch that removes all references to log4js and replaces them with console.logs. Is that something you want to be PRd?
I'm having the same issue as outlined here: NaturalNode/natural#320
Looks like log4js has a bunch of require statements but does not have the dependancies in package.json
Looks like log4js got a major overhaul since NZTim was working on the module and is now log4js-node but has the same npm name (log4js).
I tried updating to the latest version (2.2.0) but this broke the build as there was a/some API changes.
Making an Issue to track the bug. I have not done any active work on getting 2.2.0 to work in the project. Anyone else is welcome to give it a go.
Webpack output:
` ERROR in ./node_modules/log4js/lib/appenders/loggly.js
Module not found: Error: Can't resolve 'loggly' in 'C:\Users\phil.alsford\Desktop\project\node_modules\log4js\lib\appenders'
@ ./node_modules/log4js/lib/appenders/loggly.js 3:11-28
@ ./node_modules/log4js/lib/appenders ^./.*$
@ ./node_modules/log4js/lib/log4js.js
@ ./node_modules/xero-node/lib/logger.js
@ ./node_modules/xero-node/lib/index.js
@ ./src/server.ts
`
The text was updated successfully, but these errors were encountered: