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
reactBoilerplateDeps: Module not found errors on Windows 7 #769
Comments
Try |
I get the same error. |
Got it working. I had to:
The 'Installing dependencies...' part of the setup seems to do nothing on Windows. The node_modules directory is empty after this completes. |
I'm curious to see what happens if you:
If you do not get the expected node_modules, please post your If you do get the expected node modules, run Then Let us know what happens. |
I use webpack to compress images,then get this error
|
I get the same error,too |
when I use gulp minify images. get this error,too(I use Window 7)
|
Are you by any chance using cnpm? Try main npm see #467 (comment). |
Thank a lot .My problem has been resolved.I remove all node_modules that install from cnpm .then use npm install again ,then the errors disappear |
@gihrig
I have:
|
The warnings are generally not significant.
I'm just guessing here, but if the file exists try these steps and see what happens. |
The file exists. Your suggestion for removing image-webpack worked. Looks like there's a regression in npm 3 on windows 7: tcoopman/image-webpack-loader#16 Thanks! |
That was a tough one, well done on finding it! npm 3.10.6 might have a relevant fix. Note that react-boilerplate has a requirement for npm 3+ |
Mine worked after removing image optimization. |
I just had the same problem with the You can quickly repeat and fix this error using the following steps. Freshly clone the repo and get inside a Docker container: git clone --depth=1 https://github.com/mxstbr/react-boilerplate.git
cd react-boilerplate
docker run -v `pwd`:/app -p 3000:3000 --rm -it --entrypoint=/bin/sh mhart/alpine-node Inside the Docker container: node --version #v6.4.0
npm --version #3.10.6
cd /app
npm run setup
npm start The fix for me was the same as what @sourcesoft and @gihrig recommended: removing optimizations then running Edit Original: test: /\.(jpg|png|gif)$/,
loaders: [
'file-loader',
'image-webpack?{progressive:true, optimizationLevel: 7, interlaced: false, pngquant:{quality: "65-90", speed: 4}}',
], Fixed: test: /\.(jpg|png|gif)$/,
loaders: [
'file-loader',
], |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Webback can't resolve modules when building reactBoilerplateDeps
Steps to reproduce
running
npm run setup
goes ok until it tries to run internals/dependencies.js:Versions
The text was updated successfully, but these errors were encountered: