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
webpack-dev-server won't run #41
Comments
@Blackbaud-DanHamlin could you delete |
Thanks, express did work. Removing node_modules and reinstalling didn’t fix my problem with webpack. From: PatrickJS [mailto:notifications@github.com] @Blackbaud-DanHamlinhttps://github.com/Blackbaud-DanHamlin could you delete node_modules/ and install it again. In the meantime you can use the express server with npm run express but make sure you install the deps first with npm run express-install — |
I found the culprit - it seems that if NODE_ENV is not defined, then the environment plugins lookup produce a null to the plugins array in the webpack.config.js. Adding the definition to explicity default to development if NODE_ENV is not defined fixed it. |
@noxxious thanks for looking into it 👍 can you make a Pull-Request? var NODE_ENV = process.env.NODE_ENV || 'development'; |
great, i wonder if those npm scripts for setting the environment aren't actually working then? |
@noxxious you can make a pull-request simply just by clicking edit icon either on desktop or mobile |
fixed via #43 |
I'm getting the following when I run
npm run server
I couldn't find any open issues with webpack or webpack-dev-server. Also, nothing is jumping out at me in the webpack config.
The text was updated successfully, but these errors were encountered: