小编xan*_*age的帖子

Couldn't find the 'yo' binary. Make sure it's installed and in your $PATH. Could you tell me what the problem is?

I'm using npm install -g yo gulp to install yeoman and this is the error I'm getting  
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
C:\Usr\local\gulp -> C:\Usr\local\node_modules\gulp\bin\gulp.js
C:\Usr\local\yo -> C:\Usr\local\node_modules\yo\lib\cli.js
C:\Usr\local\yo-complete -> C:\Usr\local\node_modules\yo\lib\completion\index.js

> yo@3.1.0 postinstall C:\Usr\local\node_modules\yo
> yodoctor


Yeoman Doctor
Running sanity checks on your system

? No .bowerrc file in home directory
? Global configuration file is valid
? NODE_PATH matches the npm root
? No .yo-rc.json file in home directory …
Run Code Online (Sandbox Code Playgroud)

yeoman yeoman-generator

8
推荐指数
2
解决办法
8907
查看次数

标签 统计

yeoman ×1

yeoman-generator ×1