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
Hello, I came across a weird behavior with irc module, iconv and webpack.
When simply using irc module with nodejs, I've got no problem so far.
But, if I try to use it in an Angular5 Electron app, webpack fails to compile:
ERROR in ./node_modules/irc/node_modules/iconv/lib/iconv.js
Module not found: Error: Can't resolve '../build/Debug/iconv.node' in '...\angular-electron\node_modules\irc\node_modules\iconv\lib'
webpack: Failed to compile.
I had a look, the iconv.node is present (in Release/), i tried to recompile iconv with differents params but still got the error.
Hello, I came across a weird behavior with irc module, iconv and webpack.
When simply using irc module with nodejs, I've got no problem so far.
But, if I try to use it in an Angular5 Electron app, webpack fails to compile:
I had a look, the iconv.node is present (in Release/), i tried to recompile iconv with differents params but still got the error.
So, I tracked the error down to those lines:
If I comment the try/catch part, webpack compiles with no error:
Env:
Win 10 x64
node v8.9.4 x64
npm v5.6.0
node-gyp v3.6.2
irc 0.5.2
electron 1.8.2
angular/cli: 1.7.1
ngtools/webpack: 1.10.1
The text was updated successfully, but these errors were encountered: