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/generator-sharepoint@1.20.0
├── corepack@0.29.4
├── gulp@5.0.0
└── npm@10.8.2
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/sp-search-extensibility@1.12.1',
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
Node.js version
v18.20.5
Additional environment details
No response
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/generator-sharepoint@1.20.0
├── corepack@0.29.4
├── gulp@5.0.0
└── npm@10.8.2
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/sp-search-extensibility@1.12.1',
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
Expected behavior
the sppkg file
Target SharePoint environment
SharePoint Online
Developer environment
macOS
Browsers
Node.js version
v18.20.5
Additional environment details
No response