sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Latest Node.js LTS version (8.9.0) doesn't work in SharePoint Framework web part development

Open ollij opened this issue 9 years ago • 7 comments

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

  1. Uninstall current version of Node.Js
  2. Install latest LTS version (8.9.0) of Node.js from https://nodejs.org/en/
  3. Create new web part project with Yeoman using the default values
  4. Execute gulp serve

ollij avatar Nov 02 '17 08:11 ollij

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/.

kimpihlstrom avatar Nov 02 '17 09:11 kimpihlstrom

Could it be the same as #1002?

waldekmastykarz avatar Nov 02 '17 09:11 waldekmastykarz

I had this issue, followed procedure for #1002 and it now works.

yogsodoth avatar Nov 02 '17 18:11 yogsodoth

+1 from my customer. Created a pull request for https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment

adambu avatar Nov 03 '17 02:11 adambu

Thanks @waldekmastykarz, it works fine. See #1002

patrick-blanc avatar Nov 07 '17 11:11 patrick-blanc

Closing this ticket as dupe of 1002

qz2017 avatar Jan 09 '18 23:01 qz2017

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

msft-github-bot avatar Jan 28 '20 18:01 msft-github-bot