angular.js - 在终端中用yeoman启用angular-generator报错,求解?
给我你的怀抱
给我你的怀抱 2017-05-15 16:56:40
0
2
493

最近在学习前端自动化的一些工具,在网上找了一个教程跟着一步步做,
前面需要安装的npm,grunt,bower,yeoman,都已经正确安装了,

在终端执行yo angular mytodo后一步步yes后,就出错,文件夹里也只多一个npm-debug.log文件,其他应该生成的文件都没有。

报错信息如下:

ps:也试过直接 npm install -g generator-angular,还是报错。

给我你的怀抱
给我你的怀抱

reply all(2)
巴扎黑

It should be a permissions issue. Try changing the owner of your project directory to yourself. The owner generated by the tool may not be you.
If that still doesn’t work, be rough and chmod 777 -R the project directory.

黄舟

Try sudo xxx. .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!