Maison > Questions et réponses > le corps du texte
最近在学习前端自动化的一些工具,在网上找了一个教程跟着一步步做,
前面需要安装的npm,grunt,bower,yeoman,都已经正确安装了,
在终端执行yo angular mytodo后一步步yes后,就出错,文件夹里也只多一个npm-debug.log文件,其他应该生成的文件都没有。
报错信息如下:
ps:也试过直接 npm install -g generator-angular,还是报错。
巴扎黑2017-05-15 16:58:40
Cela devrait être un problème d'autorisations. Essayez de remplacer le propriétaire de votre répertoire de projet par vous-même. Le propriétaire généré par l'outil n'est peut-être pas vous.
Si cela ne fonctionne toujours pas, soyez brutal et chmod 777 -R le répertoire du projet.