mslearn-staticwebapp icon indicating copy to clipboard operation
mslearn-staticwebapp copied to clipboard

npm install not working

Open Derngineer opened this issue 2 years ago • 1 comments

I have cloned the repository successfully, when l try to run the dependencies l get npm install

changed 1 package, and audited 1408 packages in 6s

238 packages are looking for funding run npm fund for details

8 vulnerabilities (2 moderate, 6 high)

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

Seems the npm audit fix --force doesn't solve the problem either. Some l am stuck here.

Derngineer avatar Dec 13 '23 10:12 Derngineer

It could be a version thing.

I noticed in the audit that ...

@angular-devkit/build-angular <=14.2.12 || 15.0.0-next.0 - 15.2.10 || 16.0.0-next.0 - 16.2.12 || 17.0.0-next.0 - 17.3.1

and the version that is used nowadays is 20.

The app needs to be updated to use modern versions of node.js

also this...

npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { npm: '>=8.0.0 <9.0.0', node: '>=16.0.0 <17.0.0' }, npm warn EBADENGINE current: { node: 'v22.2.0', npm: '10.8.1' } npm warn EBADENGINE }

RyanRRothwell avatar Jun 02 '24 15:06 RyanRRothwell