-
Notifications
You must be signed in to change notification settings - Fork 852
Description
Sample
js-application-analytics
Author(s)
@giuleon,@bernierh,@joao12ferreira,@NicolasKheirallah
What happened?
i follow the instructions in the readme, making sure taht the correct versions of gulp, node etc are installed.
npm ls -g --depth=0
/Users/development/.nvm/versions/node/v18.20.5/lib
├── @microsoft/[email protected]
├── [email protected]
├── [email protected]
└── [email protected]
we also see node -v is 18.20.5 as the readme install file suggests
maybe the gulp version is too high?
NO, in the package.json it stats 5.0.0
"gulp": "^5.0.0"
but we get errors when we compile using npm install
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/[email protected]',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
suggesting using different version of node?!
required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
BUT, in package.json, it states gulp 5
"gulp": "^5.0.0"
any ideas so i can get this to compile?
Steps to reproduce
- npm install
Expected behavior
the sppkg file
Target SharePoint environment
SharePoint Online
Developer environment
macOS
Browsers
- Internet Explorer
- Microsoft Edge
- Google Chrome
- FireFox
- Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Node.js version
v18.20.5
Additional environment details
No response