在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/HTML5  HTML/ angular4在編譯時(shí)Cannot find source file 'com

angular4在編譯時(shí)Cannot find source file 'compiler.es5.ts'的警告如何處理。

1、在使用angular4編譯的時(shí)候就會(huì)提示這個(gè)問(wèn)題,最后能編譯成功,但是每次保存后都會(huì)提示這個(gè)問(wèn)題從而導(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、我嘗試過(guò)重新安裝angular/cli,但是依然會(huì)出現(xiàn)這個(gè)問(wèn)題。請(qǐng)問(wèn)大家該如何解決這個(gè)問(wèn)題,謝謝了。

回答
編輯回答
過(guò)客

是不是使用了cnpm,假如是的話,刪除node-modules下的內(nèi)容,清空緩存,重新npm install

2017年10月26日 13:15
編輯回答
礙你眼

是不是沒(méi)有導(dǎo)入polyfill依賴包

2018年4月17日 09:54
編輯回答
使勁操

有些npm包有問(wèn)題需要重裝

2017年3月29日 18:44