Skip to content
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

'require is not defined' error in web mode #40

Closed
tdesvenain opened this issue Jul 6, 2017 · 2 comments
Closed

'require is not defined' error in web mode #40

tdesvenain opened this issue Jul 6, 2017 · 2 comments

Comments

@tdesvenain
Copy link

I have an error when i launch the app on web mode

npm install
npm run start:web

external "require('url')":1 Uncaught ReferenceError: require is not defined
at Object. (external "require('url')":1)
at webpack_require (bootstrap c843660…:54)
at Object. (client:2)
at Object.module.exports (client?ffdb:184)
at webpack_require (bootstrap c843660…:54)
at Object. (polyfills.bundle.js:4837)
at webpack_require (bootstrap c843660…:54)
at webpackJsonpCallback (bootstrap c843660…:25)
at polyfills.bundle.js:1

@tdesvenain
Copy link
Author

Then app works, but live reload doesn't

@maximegris
Copy link
Owner

Yes, as said in README, live relaod doesn't work in browser mode (npm run start:web)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants