这个项目是从离职人员那接手的。由于自身不太熟悉nodejs,接手的时候就觉得要出事了。。。
如下是npm run dev时遇到的错误:
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
server started at localhost:8080
/data/project/vue-ssr/node_modules/memory-fs/lib/MemoryFileSystem.js:107
throw new MemoryFileSystemError(errors.code.ENOENT, _path); ^
Error: no such file or directory
at MemoryFileSystem.readFileSync (/data/project/vue-ssr/node_modules/memory-fs/lib/MemoryFileSystem.js:107:10) at Compiler.clientCompiler.plugin (/data/project/vue-ssr/build/setup-dev-server.js:28:44) at Compiler.applyPlugins (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:61:14) at Watching._done (/data/project/vue-ssr/node_modules/webpack/lib/Compiler.js:91:17) at onCompiled (/data/project/vue-ssr/node_modules/webpack/lib/Compiler.js:50:17) at /data/project/vue-ssr/node_modules/webpack/lib/Compiler.js:480:13 at next (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:138:11) at Compiler.(/data/project/vue-ssr/node_modules/webpack/lib/CachePlugin.js:62:5) at Compiler.applyPluginsAsyncSeries (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:142:13) at /data/project/vue-ssr/node_modules/webpack/lib/Compiler.js:477:10 at Compilation.applyPluginsAsyncSeries (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:131:46) at self.applyPluginsAsync.err (/data/project/vue-ssr/node_modules/webpack/lib/Compilation.js:640:19) at Compilation.applyPluginsAsyncSeries (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:131:46) at self.applyPluginsAsync.err (/data/project/vue-ssr/node_modules/webpack/lib/Compilation.js:631:11) at next (/data/project/vue-ssr/node_modules/tapable/lib/Tapable.js:138:11) at Compilation.compilation.plugin (/data/project/vue-ssr/node_modules/webpack/lib/optimize/UglifyJsPlugin.js:140:5)