sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Install the developer certificate step is missing important details

Open sharepointland opened this issue 8 years ago • 4 comments

Before you can run the "gulp trust-dev-cert" command you must first create a project ("yo @microsoft/sharepoint") and then in a command window or PowerShell window you can run the "gulp trust-dev-cert" command from the root of the project folder created. Also, I got the error "local gulp not found" on Windows 10 after installing gulp if I don't reboot first. The error I get when running the trust-dev-cert command in a folder without the gulpfile.js is "no gulpfile found".


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

sharepointland avatar Aug 28 '18 20:08 sharepointland

We have reproduce this and will try to fix it.

Seiyasu avatar Sep 04 '18 09:09 Seiyasu

The issue is fixed by running npm i command in the directory where your webpart is installed.

deepikatyagi avatar Nov 26 '18 11:11 deepikatyagi

Running npm i seems to have fixed the problem. Still had different errors running gulp trust-dev-cert after going back to version 8.

bblasingame avatar Nov 29 '18 19:11 bblasingame

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 27 '20 00:01 msft-github-bot