I am new to SPFx, tried to create simple webpart using SPFx.
Referred from here.
Followed these steps:
-Installed gulp & yomen using
npm install -g yo gulp in powershell.
-Loaded sharepoint framework using
npm install -g @microsoft/generator-sharepoint
-Now created a new directory using
-Navigated to the directory
-Tried to create the webpart using
-Installed developer certificate
-Tried to build & preview the webpart using
There is no error showing in the windows powershell.
I have been using Node.js v8.9.
With the help of answer setting the
NODE_NO_HTTP2=1 environment variable to disable the experimental feature.
$env:NODE_NO_HTTP2="1" in powershell (
set NODE_NO_HTTP2=1 in CMD) to fix the issue.