试图将Angular Universal添加到我的app.This错误崩溃nodemon

时间:2018-05-15 07:54:40

标签: angular serverside-rendering angular-universal

npm run start导致下面的问题。 有关此问题的更多信息:: https://github.com/angular/angular-cli/issues/4386     fs.js:646     return binding.open(pathModule._makeLong(path),stringToFlags(flags),mode);     ^

 Error: ENOENT: no such file or directory, open '/home/user/zip2/dist/browser/index.html'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object. (/home/user/zip2/dist/server.js:98:21)
at webpack_require (/home/user/zip2/dist/server.js:20:30)
at /home/satish/Downloads/zip2/dist/server.js:63:18
at Object. (/home/user/zip2/dist/server.js:66:10)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)

0 个答案:

没有答案