[英]troubleshoot angular project errors
I was provided an angular project with a set of existing errors and a list of enhancements to work on. 为我提供了一个有角度的项目,其中包含一系列现有错误以及要进行的改进。 When I downloaded the same and tried running "npm install" on the project, it failed saying "Operation not permitted by operating system". 当我下载相同的文件并尝试在项目上运行“ npm install”时,它失败并显示“操作系统不允许的操作”。 I have tried all the solutions suggested online including: 我尝试了在线建议的所有解决方案,包括:
If someone could help me figure out what the issue is? 如果有人可以帮助我找出问题所在?
I found a thread on Github discussing the error. 我在Github上找到一个讨论该错误的线程。 The solutions described do not work for me. 所描述的解决方案不适用于我。
https://github.com/google/material-design-icons/issues/853 https://github.com/google/material-design-icons/issues/853
Finally, The below steps helped me resolve the issue. 最后,以下步骤帮助我解决了问题。
Installed material-design-icons
globally using npm install material-design-icons -g
Next, removed the node_modules
directory from the project and ran npm install
. 安装material-design-icons
全球使用npm install material-design-icons -g
接下来,去掉了node_modules
从项目和RAN目录npm install
。 This worked for me but not in time to submit before deadline. 这对我有用,但没有在截止日期之前及时提交。 The project compiled and ran successfully using npm start
post the above steps. 通过上述步骤npm start
使用npm start
编译并成功npm start
该项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.