-
Notifications
You must be signed in to change notification settings - Fork 512
Using npm alternative and node6 break the build #186
Comments
Please install the nodejs version management tool NVM and switch the version to 5.0.0。
2.Install the version you need
3.Switch version
|
@camoth yeh, I know node5 with npminstall works well. It seems extract-text-webpack-plugin using |
after doing some logging and diff stuff I found that in the pitch loader , original
I am not familiar with webpack plugin development, but it seems node6 changed just to not resolve the symlink? Maybe this is a webpack side issue ? |
OK, it seems the root cause is node changed the way handling symlink in nodejs/node#5950, which resolve imported modules' I decided just to close this issue, cuz there is nothing wrong with the extract-text-webpack-plugin. Sorry for the noise ! |
webpack.config.js
main.js
main.css
html{}
when using node6, if modules was installed from npm alternatives (eg: https://github.com/cnpm/npminstall, https://github.com/alexanderGugel/ied, which using symlink to save disk space and time) result in following error.
which works well in the node5.11.1, and using original npm with node 6 works well too.
The text was updated successfully, but these errors were encountered: