officejs:: gulp server

 

# install certi
gulp trust-dev-cert

# run
gulp serve


---------------------
gulp serve: To start the server and open the page in browser
gulp serve --nobrowser: To start the server but will not open the new browser
gulp test: To run the test on your solution
gulp bundle --ship: To build the solution in release mode
gulp package-solution --ship: To build .sppkg file

 

Error - 'spfx-serve' sub task errored after 1.42 s
 No development certificate found. Generate a new certificate manually, or set the `canGenerateNewCertificate` parameter to `true` when calling `ensureCertificateAsync`.

 

 

 

 

 

 

 

 

_

반응형