node -v
. It should return version 10.19.0.npm install
after creating the project. This step will install all gulp tasks as part of a project.NODE_NO_HTTP2=1
. This environment variable only exists in NodeJS v8.x. Therefore, if you are building SPFx solutions for SharePoint Server 2016, you should use NodeJS v8.x.gulp trust-dev-cert
, does not have the desired effect of trusting the self-signed development certificate on your machine. In rare cases such as these, you may need to delete a hidden folder that's generated in your profile folder. Locate & delete the folder <homedir>/.gcb-serve-data
and then try to trust the self-signed development certificate again.