Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in js-application-analytics installation process #1468

Open
1 of 9 tasks
tristian2 opened this issue Jan 27, 2025 · 0 comments
Open
1 of 9 tasks

Issue in js-application-analytics installation process #1468

tristian2 opened this issue Jan 27, 2025 · 0 comments
Labels
Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@tristian2
Copy link

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

  1. 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

@tristian2 tristian2 added Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

1 participant