-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I have created the new project with angular 17 and do npm install. I am getting below warning and mostly these warning are due to karma using the old version of glob and inflight. How i can remove these warning?
npm install
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
package.json file:
{
"name": "test-project",
"version": "0.0.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false --browsers=ChromeHeadless",
"lint": "ng lint",
"pretty-quick": "pretty-quick --staged",
"prepare": "husky",
"compodoc": "compodoc -p tsconfig.json",
"compodoc-serve": "compodoc -s"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.1.0",
"@angular/common": "^17.1.0",
"@angular/compiler": "^17.1.0",
"@angular/core": "^17.1.0",
"@angular/elements": "^17.3.12",
"@angular/forms": "^17.1.0",
"@angular/platform-browser": "^17.1.0",
"@angular/platform-browser-dynamic": "^17.1.0",
"@angular/router": "^17.1.0",
"angular-font-awesome": "^3.1.2",
"bootstrap": "^5.3.3",
"grapesjs": "^0.21.12",
"grapesjs-preset-webpage": "^1.0.3",
"husky": "^9.1.1",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.1.2",
"@angular/cli": "^17.1.2",
"@angular/compiler-cli": "^17.1.0",
"@types/jasmine": "~5.1.0",
"angular-eslint": "18.1.0",
"eslint": "^9.6.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"typescript": "~5.3.2",
"typescript-eslint": "8.0.0-alpha.38"
}
}
Can someone please help me with this?