Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

webpackBootstrap included in main.js included after npm run start #19

Closed
1wheel opened this issue Dec 27, 2017 · 2 comments
Closed

webpackBootstrap included in main.js included after npm run start #19

1wheel opened this issue Dec 27, 2017 · 2 comments

Comments

@1wheel
Copy link
Contributor

1wheel commented Dec 27, 2017

Makes a bunch of HMR requests that throw errors:

image

@Rich-Harris
Copy link
Member

Does this happen if you do npm run build first? npm start doesn't automatically run the app in prod mode (which is unfortunate but necessary — if npm start depends on npm run build it will fail in certain environments, such as Now, because of illegal filesystem access).

@1wheel
Copy link
Contributor Author

1wheel commented Jan 2, 2018

That fixed it! Filed a pull request adding that info to the readme.

Rich-Harris added a commit that referenced this issue Jan 2, 2018
closes #19 - production needs `npm run build`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants