SharePoint Framework Getting Started
Most steps here can be found in : Official MS Documentation
- NodeJS ( PC Installation - Admin Support needed)
- NPM (Installed with NodeJS)
- Yeoman ( Installed via npm )
npm install -g yo gulp
yo -v
If you get an error: "yo" is not recognized as an internal or external command, operable program or batch file.
Get the npm AppData Path by running (WinKey + R) : %APPDATA%\npm It should give you the location, copy the path : It will look like this: 'D:\Users\John E Sebulino\AppData\Roaming\npm'
Then Search for : "Environment Variable" and click it
Click "path", edit, Enter the path you get earlier ('D:\Users\John E Sebulino\AppData\Roaming\npm') then 'ok'
Restart your console (wps or cmd);
npm install -g @microsoft/generator-sharepoint
gulp trust-dev-cert
Refer to this tutorial.
Run
yo @microsoft/sharepoint
Installation of scaffolding will take some time.
Local Workbench - for testing locally
Modify confg/serve.json and set https: false for the meantime
Sample: https://yoursharepointsite.com/_layouts/15/workbench.aspx