gulp trust-dev-cert must be run from the project folder, otherwise you get an error
Category
- [ ] Question
- [ ] Typo
- [ ] Bug
- [x ] Additional article idea
Expected or Desired Behavior
Install and trust certificate
Observed Behavior
Error: "No gulpfile found"
Steps to Reproduce
Follow setup instructions and install the developer certificate without changing folders (no instructions to change folders in the article). Going into a newly created project folder where you generated a new project using yo and running gulp trust-dev-cert returns a successful status.
Submission Guidelines
Hi @samboustani It should be a easy fix, I presume you have navigated to wrong path. You should use CD to navigate the specific project folder. Once you have navigated to correct project folder, you will find gulpfile.js if you use DIR to check your project folder Than, you can install and trust certificate.
The instructions in creating your first web part tutorial do say to run this command from within the project directory. I'll add some additional information on the dev environment setup that addresses this as well.
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