Khu*_*ufu 15 angularjs yeoman yeoman-generator-angular
所以我想看看最新的发电机,看看他们现在使用gulp.
无论如何,在更新所有内容两次后,重新安装节点,删除npm-cache等等,当我做角度时,会发生以下情况:
然后它崩溃了(显然在运行npm install/bower install之前),并没有非常有用的消息
Error angular
You don't seem to have a generator with the name angular:common:C:\Users\myuser\AppData\Roaming\npm\node_modules\generator-angular\app\index.js installed.
Run Code Online (Sandbox Code Playgroud)
目录在那里(generator-angular).子目录在那里(generator-angular/common).index.js存在.我已经安装并更新了生成器和所有依赖项,如现在5次.
现在,奇怪的是,我尝试了旧版本的yo和生成器角度,它们都失败了同样的错误信息,所以它很可能是我的结果,但我无法弄明白.
我在StackOverflow上找到了这个问题的旧线程,但都通过更新或修复路径来解决.这些都没有帮助我:(
这是哟医生的输出
Yeoman Doctor
Running sanity checks on your system
? Global configuration file is valid
? Node.js version
? No .bowerrc file in home directory
? No .yo-rc.json file in home directory
? npm version
? NODE_PATH matches the npm root
Everything looks all right!
Run Code Online (Sandbox Code Playgroud)
我也在使用Win10x64.有任何想法吗?
| 归档时间: |
|
| 查看次数: |
1341 次 |
| 最近记录: |