Sp-dev-docs: Latest Node.js LTS version (8.9.0) doesn't work in SharePoint Framework web part development

Created on 2 Nov 2017  路  7Comments  路  Source: SharePoint/sp-dev-docs

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鈥檛 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鈥檚 owner.
Chrome: This site can鈥檛 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_

Most helpful comment

Could it be the same as #1002?

All 7 comments

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SteIvanov picture SteIvanov  路  3Comments

christianbueschi picture christianbueschi  路  3Comments

zerovectorspace picture zerovectorspace  路  3Comments

waldekmastykarz picture waldekmastykarz  路  3Comments

karishmaTCS picture karishmaTCS  路  3Comments