-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local Workbench SSL issue with node 9.0.0 #1379
Comments
SPFx isn't supported on Node.js v9... only LTS ATM (v8). I've seen in a few places where that env variable has issues in some Node,js v9 versions. |
Any ETA on when it will be supported? For now, I'll give NVM a shot and roll back to v8. |
No... considering MSFT has always said they only support LTS, my assumption is that they'll just make sure it works with the next LTS version of Node.js: v10.* (which comes out in April but won't go into LTS until October 2018). |
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 |
Category
Expected or Desired Behavior
After installing the SharePoint Framework dependencies, generating a Hello-World project with the react template, trusting the dev cert, and running gulp serve, the workbench should display at:
https://localhost:4321/temp/workbench.html
Observed Behavior
After installing the SharePoint Framework dependencies, generating a Hello-World project with the react template, trusting the dev cert, and running gulp serve, the workbench displays an SSL error. The error returned in Chrome is "ERR_SSL_PROTOCOL_ERROR". In Edge, I receive the message "Can't connect securely to this page. This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website's owner."
After seeing #1002, I then tried running "set NODE_NO_HTTP2=1" & "gulp serve", but observed the same SSL error. I verified that the env variable was set using the command "set NODE_NO_HTTP2", which produced a result of "NODE_NO_HTTP2=1".
Steps to Reproduce
Environment:
After all dependencies have been installed (yo, gulp, ms yo generator, etc.), run:
yo @microsoft/sharepoint
(select default values with the exception of selecting react as the framework.)gulp trust-dev-cert
(select yes when prompted to trust the cert)set NODE_NO_HTTP2=1
gulp serve
The text was updated successfully, but these errors were encountered: