Unexpected end of JSON input while parsing near '[email protected]/run-sequence' Angular6

前言 新建angular項目,輸入ng new my-project, 後出現以下錯誤(my project 爲項目名稱) 解決辦法 1、重新建立空項目:ng new 項目名稱 --skip-install 2、進入你的項目目錄:cd 項目名稱 3、重新設置鏈接:npm set registry https://registry.npmjs.org/ 4、重置cache:npm cache cle
相關文章
相關標籤/搜索