pnp / sp-dev-fx-vs-extension

Visual Studio extension work around SPFx together with community
MIT License
56 stars 25 forks source link

Yeoman Generator not found (create new project error) #33

Closed PeterHamiltonTO closed 6 years ago

PeterHamiltonTO commented 6 years ago

Hi there,

I am just starting with this tool. The .VSIX is installed from the latest version in GitHub. When I try to create a new SharePoint Foundation Web-Part. I receive the error "Yeoman Generator Not Found". I have set the "PATH$" in the VS options to be the first search path. And Yeoman commands can be run fine from a command prompt.

image

Category

[ x] Question [x ] Bug [ ] Enhancement

Versions

[15.6.0 ] Visual Studio version (Help > About) [ 1.3.2 ] SPFx Generator version (npm list -g @microsoft/generator-sharepoint)

Expected or Desired Behavior

This should create a new project, but it does not display the Windows Form for parameters.

Steps to Reproduce

I try to create a new project and it fails with the "Yeoman generator..." issue.

PeterHamiltonTO commented 6 years ago

I have resolved the Yeoman issue above by rerunning the command below:

npm install -g yo gulp