无法将“ ngc”识别为内部或外部命令,可操作程序或批处理文件

时间:2018-08-25 15:10:19

标签: angular npm

尝试了Web上的所有解决方案,但没有一个起作用,有人可以帮忙吗?

C:\Users\<username>\Downloads\Copies\TryAngularv4masterWithChangesOfUniversalButNotWorking>ng build --prod && ngc && webpack
Date: 2018-08-25T14:21:08.094Z
Hash: 83a6b1ff1c57a20b3f5c
Time: 44628ms
chunk {0} runtime.06daa30a2963fa413676.js (runtime) 1.44 kB [entry] [rendered]
chunk {1} main.246773ba9e0bac43b3c6.js (main) 603 kB [initial] [rendered]
chunk {2} polyfills.3f11bf9959f924754af3.js (polyfills) 64.3 kB [initial] [rendered]
chunk {3} styles.e1de924f6916038db79f.css (styles) 781 bytes [initial] [rendered]

出现以下错误

  

'ngc'不被识别为内部或外部命令,       可操作的程序或批处理文件。

0 个答案:

没有答案