After using the Create smart contract project and choosing language/folder/window options, the extension exits with the following message:
Error: You don't seem to have a generator with the name “fabric:contract” installed.
But help is on the way:
You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/.
Install them with npm install generator-fabric:contract.
To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators.
If yo cannot find the generator, run yo doctor to troubleshoot your system.
However, the fabric generator is installed. Indeed, if I open the terminal and run yo fabric:contract from the current folder, the generator runs without problems.
Perhaps some environment option is not being passed to yo correctly? Let me know if there is any diagnostic output I can provide.
Environment:
Win10 x64
Node v11.6.0 (had the same problem with v8)
Npm v6.5
Yeoman v2.0.5
VSCode v1.30.1
After using the
Create smart contract project
and choosing language/folder/window options, the extension exits with the following message:However, the fabric generator is installed. Indeed, if I open the terminal and run
yo fabric:contract
from the current folder, the generator runs without problems.Perhaps some environment option is not being passed to
yo
correctly? Let me know if there is any diagnostic output I can provide.Environment:
Win10 x64 Node v11.6.0 (had the same problem with v8) Npm v6.5 Yeoman v2.0.5 VSCode v1.30.1