1、在使用angular4編譯的時候就會提示這個問題,最后能編譯成功,但是每次保存后都會提示這個問題從而導(dǎo)致編譯非常緩慢。2、警告代碼:`node_modules/_@angular_compiler@4.4.4@@angular/compiler/@angular/compiler.es5.js(Emitted value instead of an instance of Error) Cannot find source file 'compiler.es5.ts': Error: Can't resolve './compiler.es5.ts' in 'node_modules_@angular_compiler@4.4.4@@angularcompiler@angular'`。3、我嘗試過重新安裝angular/cli,但是依然會出現(xiàn)這個問題。請問大家該如何解決這個問題,謝謝了。
angular4在編譯時Cannot find source file 'compiler.es5
翻閱古今
2019-02-13 10:17:49