egoist / vuepack

:package: A modern starter which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)
http://vuepack.surge.sh
MIT License
2.43k stars 202 forks source link

webpack-dev-middleware go wrong #117

Open cddsgtc opened 7 years ago

cddsgtc commented 7 years ago

when i start "npm run dev" some msg below show in the cli

Error: no such file or directory
    at MemoryFileSystem.readFileSync (I:\project\projects\pangda\node_modules\memory-fs\lib\MemoryFileSystem.js:107:10)
    at devMiddleWare.waitUntilValid (I:\project\projects\pangda\build\server.js:47:22)
    at Object.ready (I:\project\projects\pangda\node_modules\webpack-dev-middleware\lib\Shared.js:149:29)
    at Function.waitUntilValid (I:\project\projects\pangda\node_modules\webpack-dev-middleware\lib\Shared.js:196:10)
    at app.get (I:\project\projects\pangda\build\server.js:46:17)
    at Layer.handle [as handle_request] (I:\project\projects\pangda\node_modules\express\lib\router\layer.js:95:5)
    at next (I:\project\projects\pangda\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (I:\project\projects\pangda\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (I:\project\projects\pangda\node_modules\express\lib\router\layer.js:95:5)
    at I:\project\projects\pangda\node_modules\express\lib\router\index.js:281:22
    at param (I:\project\projects\pangda\node_modules\express\lib\router\index.js:354:14)
    at param (I:\project\projects\pangda\node_modules\express\lib\router\index.js:365:14)
    at Function.process_params (I:\project\projects\pangda\node_modules\express\lib\router\index.js:410:3)
    at next (I:\project\projects\pangda\node_modules\express\lib\router\index.js:275:10)
    at middleware (I:\project\projects\pangda\node_modules\webpack-hot-middleware\middleware.js:26:48)
    at Layer.handle [as handle_request] (I:\project\projects\pangda\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (I:\project\projects\pangda\node_modules\express\lib\router\index.js:317:13)
    at I:\project\projects\pangda\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (I:\project\projects\pangda\node_modules\express\lib\router\index.js:335:12)
    at next (I:\project\projects\pangda\node_modules\express\lib\router\index.js:275:10)
    at goNext (I:\project\projects\pangda\node_modules\webpack-dev-middleware\middleware.js:28:49)
    at processRequest (I:\project\projects\pangda\node_modules\webpack-dev-middleware\middleware.js:58:12)

then i upgrade that module still can't work