IBM-Blockchain / blockchain-vscode-extension

IBM Blockchain Platform extension for Visual Studio Code (this project is no longer active)
https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform
Other
264 stars 156 forks source link

Yeoman generator is not detected correctly #436

Closed piaste closed 5 years ago

piaste commented 5 years ago

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

suil commented 5 years ago

still have the same issue in windows environment with version of v0.3.1. has the change been published to vscode marketplace yet?