yo @microsoft/sharepoint should be updated to use Gulp 4.
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.
npm install -g yo gulp @microsoft/generator-sharepointyo @microsoft/sharepoint with all defaultsgulp bundle --shipThank 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
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.