Sp-dev-docs: Gulp 3 is no longer supported

Created on 14 Nov 2019  路  4Comments  路  Source: SharePoint/sp-dev-docs

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

yo @microsoft/sharepoint should be updated to use Gulp 4.

Observed Behavior

Command yo @microsoft/sharepoint with all default settings for SharePoint Online Application Customizer generates project with dev-dependency from gulp 3.9.1.
Gulp 3 is not compatible with NodeJS 12 LTS. It crashes with exception https://github.com/gulpjs/gulp/issues/2324
The single solution is to use Gulp 4 that doesn't depend on outdated packages.

Steps to Reproduce

  1. Install NodeJS LTS (it's 12.13.0 currently)
  2. run npm install -g yo gulp @microsoft/generator-sharepoint
  3. run yo @microsoft/sharepoint with all defaults
  4. try to build solution gulp bundle --ship
  5. You will receive exception https://github.com/gulpjs/gulp/issues/2324
tooling wont-fix

Most helpful comment

Thanks for the comment.

Unfortunately, you are using an unsupported version of Node. SPFx currently only supports Node 10x. Please uninstall Node 12, and re-install Node 10.

All 4 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Thanks for the comment.

Unfortunately, you are using an unsupported version of Node. SPFx currently only supports Node 10x. Please uninstall Node 12, and re-install Node 10.

@bcameron1231
Thank you, not so good news. I hope, new nodejs LTS version will be supported soon.

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

jonthenerd picture jonthenerd  路  3Comments

acksoft picture acksoft  路  3Comments

qrown picture qrown  路  3Comments

ken-harris picture ken-harris  路  3Comments

mikeparkie picture mikeparkie  路  3Comments