pnp / sp-dev-fx-vs-extension

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

SPFx Extension does not generate scaffolding for project? What pre-reqs needed to set up first? #14

Closed nyannios closed 6 years ago

nyannios commented 6 years ago

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

[ x ] Question [ x ] Bug [ x ] Enhancement

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit.

When creating a new SPFx project Visual Studio 2017 with the SPFx extension, we get this error:

'yo' is not recognized as an internal or external command, operable program or batch file.

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.

'yo' is not recognized as an internal or external command, operable program or batch file.

Steps to Reproduce

If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.

New Install of Visual Studio 2017 enterprise with the SPFx extension. Create SPFx Project for Web part but get error above

  1. What are the path prerequisites yeoman, npm, gulp, etc on Windows 10 prior to using Visual Studio to create SPFx WebParts and Extensions?
  2. Can they be installed globally rather than on every project?
  3. Is there a SETUP script/PowerShell that can set up all the prerequisites first or is this documented?

SPFX.zip

Thank you

Nick

pschaeflein commented 6 years ago

The pre-requisites are detailed in the README.md file.

nyannios commented 6 years ago

Got it - Thanks!