亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

angular-cli構建工具報錯

angular-cli構建工具報錯

守著一只汪 2018-07-20 21:28:58
使用angular-cli執行ng new hello-angular后執行ng serve報如下錯誤ERROR in ./src/main.ts Module build failed: TypeError: Cannot read property 'newLine' of undefined at Object.getNewLineCharacter (C:\Users\sunny\Documents\hello-angular\node_modules\typescript\lib\typescript.js:8062:20) at Object.createCompilerHost (C:\Users\sunny\Documents\hello-angular\node_modules\typescript\lib\typescript.js:44978:26) at Object.ngcLoader (C:\Users\sunny\Documents\hello-angular\node_modules\@ngtools\webpack\src\loader.js:171:31)
查看完整描述

2 回答

?
冉冉說

TA貢獻1877條經驗 獲得超1個贊

node-sass安裝的問題,別用cnpm安裝,換成npm安裝就好了

查看完整回答
反對 回復 2018-07-22
  • 2 回答
  • 0 關注
  • 882 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號