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

when I set NODE_ENV =='development',it throw error #359

Open
hiBruce opened this issue Mar 13, 2019 · 2 comments
Open

when I set NODE_ENV =='development',it throw error #359

hiBruce opened this issue Mar 13, 2019 · 2 comments

Comments

@hiBruce
Copy link

hiBruce commented Mar 13, 2019

In development,I set NODE_ENV=='development',and then throw error.

image

here is error detail:
"ReferenceError: development is not defined
at Object. (server-bundle.js:998:13)
at webpack_require (server-bundle.js:27:30)
at Object.module.exports.webpack_exports.a (server-bundle.js:227:14)
at webpack_require (server-bundle.js:27:30)
at server-bundle.js:92:18
at Object. (server-bundle.js:95:10)
at evaluateModule (E:\work\vue-ssr-new\node_modules\vue-server-renderer\build.dev.js:9274:21)
at E:\work\vue-ssr-new\node_modules\vue-server-renderer\build.dev.js:9332:18
at new Promise ()
at E:\work\vue-ssr-new\node_modules\vue-server-renderer\build.dev.js:9324:14
at Object.renderToString (E:\work\vue-ssr-new\node_modules\vue-server-renderer\build.dev.js:9500:9)
at
at process._tickCallback (internal/process/next_tick.js:188:7)"

more detail:
node:8.11.2

@hiBruce
Copy link
Author

hiBruce commented Mar 13, 2019

I set default env,now vue Devtools not work.

@hiBruce
Copy link
Author

hiBruce commented Mar 13, 2019

image
write like this,it's ok.
please colse this issue,thanks.

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

1 participant