ng g component components/home
發生如下提示:


由於使用 cnpm install 安裝 node_modules 導致這樣.
解決辦法:
刪除 node_modules, 使用 npm install 重新安裝, 一切正常


ng g component components/home
發生如下提示:


由於使用 cnpm install 安裝 node_modules 導致這樣.
解決辦法:
刪除 node_modules, 使用 npm install 重新安裝, 一切正常


本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。