-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cannot npm start / build on Windows 10 #9
Comments
Yes sure 👍 PRs are very welcome! |
Cool. I was able to build using the fix stated. After doing another pull I ran into this error:
Any idea here? |
Thanks for the bug reports. We are doing an update in the next days. Let's see if it will resolve your issues. |
Hey @GeoMC, we just updated everything on the |
Hey @moklick, thanks for the update. Nope, it is not working out of the box. At first, the error concerning After that, webpack is not found. Fix for my system was
After that webpack complains about unresolved plugin dependencies:
System: |
Thanks. We are now using |
Whoops. Running Just one more comment about a detail:
Is there a reason why its is not set to localhost? More importantly, I still cannot build:
|
We set the host to |
Yep, all good :) Thanks! |
Bug description 1
Running
npm start
ornpm run build
results in this error:Solution approach 1
Setting cross-env abstracts away different syntaxes for setting environment variables on different platforms.
Doing so results in another error:
Bug description 2
Solution approach 2
Upgrading webpack and webpack cli according to this conment
Can I do a PR?
Results of
webpack-cli info
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
Binaries:
npm: 6.4.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
clean-webpack-plugin: ^0.1.19 => 0.1.19
copy-webpack-plugin: ^4.5.1 => 4.5.4
eslint-import-resolver-webpack: ^0.8.4 => 0.8.4
html-webpack-plugin: ^3.0.7 => 3.2.0
uglifyjs-webpack-plugin: ^1.2.3 => 1.3.0
webpack: ^4.20.2 => 4.22.0
webpack-bundle-analyzer: ^2.13.1 => 2.13.1
webpack-cli: ^3.1.1 => 3.1.2
webpack-dev-server: ^3.1.6 => 3.1.9
webpack-merge: ^4.1.2 => 4.1.4
The text was updated successfully, but these errors were encountered: