Latest Node.js LTS version (8.9.0) doesn't work in SharePoint Framework web part development
Updating to the latest Node.js LTS version 8.9.0 causes security error when creating new web part project and doing gulp serve.
Category
- Bug
Expected or Desired Behavior
After gulp serve command browser opens and workbench loads correctly.
Observed Behavior
Edge: 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. Chrome: This site can’t provide a secure connection - localhost sent an invalid response. - ERR_SSL_PROTOCOL_ERROR
Steps to Reproduce
- Uninstall current version of Node.Js
- Install latest LTS version (8.9.0) of Node.js from https://nodejs.org/en/
- Create new web part project with Yeoman using the default values
- Execute gulp serve
This behavior is also reproducible on all major browsers (Chrome, Firefox, IE, Egde, etc).
Possible workaround is to uninstall the current LTS relase of NodeJS and download the previous LTS release, https://nodejs.org/download/release/v6.11.5/.
Could it be the same as #1002?
I had this issue, followed procedure for #1002 and it now works.
+1 from my customer. Created a pull request for https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment
Thanks @waldekmastykarz, it works fine. See #1002
Closing this ticket as dupe of 1002
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