In development,I set NODE_ENV=='development',and then throw error.
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)"
In development,I set NODE_ENV=='development',and then throw error.
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