npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
I am getting "npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump" whenever i try to create a new Angular Application.I have refered this "ng new error #11219". But my node and npm version are 10.5.0 and 6.1.0 and i am using windows version 10 (64-bit). Below is the error i am getting
$ ng new my-app CREATE my-app/angular.json (3548 bytes) CREATE my-app/package.json (1310 bytes) CREATE my-app/README.md (1022 bytes) CREATE my-app/tsconfig.json (384 bytes) CREATE my-app/tslint.json (2805 bytes) CREATE my-app/.editorconfig (245 bytes) CREATE my-app/.gitignore (503 bytes) CREATE my-app/src/environments/environment.prod.ts (51 bytes) CREATE my-app/src/environments/environment.ts (631 bytes) CREATE my-app/src/favicon.ico (5430 bytes) CREATE my-app/src/index.html (292 bytes) CREATE my-app/src/main.ts (370 bytes) CREATE my-app/src/polyfills.ts (3194 bytes) CREATE my-app/src/test.ts (642 bytes) CREATE my-app/src/assets/.gitkeep (0 bytes) CREATE my-app/src/styles.css (80 bytes) CREATE my-app/src/browserslist (375 bytes) CREATE my-app/src/karma.conf.js (964 bytes) CREATE my-app/src/tsconfig.app.json (194 bytes) CREATE my-app/src/tsconfig.spec.json (282 bytes) CREATE my-app/src/tslint.json (314 bytes) CREATE my-app/src/app/app.module.ts (314 bytes) CREATE my-app/src/app/app.component.html (1141 bytes) CREATE my-app/src/app/app.component.spec.ts (989 bytes) CREATE my-app/src/app/app.component.ts (207 bytes) CREATE my-app/src/app/app.component.css (0 bytes) CREATE my-app/e2e/protractor.conf.js (752 bytes) CREATE my-app/e2e/src/app.e2e-spec.ts (302 bytes) CREATE my-app/e2e/src/app.po.ts (208 bytes) CREATE my-app/e2e/tsconfig.e2e.json (213 bytes)
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
[email protected] install C:\Users\lenovo\documents\angular\my-app\node_modules\node-sass node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.0/win32-x64-64_binding.node Download complete Binary saved to C:\Users\lenovo\documents\angular\my-app\node_modules\node-sass\vendor\win32-x64-64\binding.node Caching binary to C:\Users\lenovo\AppData\Roaming\npm-cache\node-sass\4.9.0\win32-x64-64_binding.node
[email protected] postinstall C:\Users\lenovo\documents\angular\my-app\node_modules\node-sass node scripts/build.js
Binary found at C:\Users\lenovo\Documents\angular\my-app\node_modules\node-sass\vendor\win32-x64-64\binding.node Testing binary Binary is fine
@angular/[email protected] postinstall C:\Users\lenovo\documents\angular\my-app\node_modules@angular\cli node ./bin/ng-update-message.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1114 packages from 1285 contributors and audited 21861 packages in 265.928s
found 13 vulnerabilities (9 low, 4 high)
run npm audit fix to fix them, or npm audit for details
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in angular.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in e2e/tsconfig.e2e.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/app/app.component.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/app/app.component.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/app/app.module.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/browserslist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/environments/environment.prod.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/environments/environment.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/karma.conf.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/polyfills.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/styles.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/test.ts.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/tsconfig.app.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/tsconfig.spec.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/tslint.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in tsconfig.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory.
the same warning here
The same.
Hi while installing Angular CLI: 6.0.8 globally in my system i am getting below npm warn.Did anyone got the same?Is this is the reason why i am getting npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump while creating new angular application.
$ npm install -g @angular/cli C:\Users\lenovo\AppData\Roaming\npm\ng -> C:\Users\lenovo\AppData\Roaming\npm\no de_modules@angular\cli\bin\ng
@angular/[email protected] postinstall C:\Users\lenovo\AppData\Roaming\npm\node_module s@angular\cli node ./bin/ng-update-message.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules@an gular\cli\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} )
- @angular/[email protected] added 248 packages in 63.666s
the same
same error i'm getting
I am getting the same error since a couple of days. doesn't look like someone found a resolution :(
I guess, I am facing the same error: npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
Actuall, looks like this is just a warning.
Its either that I just had to wait for the installation - Or - Upgrading node to the latest version helped I guess.
my node version is v8.11.2 npm version is 5.6.0 @angular 6.0.8 and i'm getting the same error trying to create an angular 6 project
Guys, that's not an error. That's a warning.
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
npm WARN notice [SECURITY] ws has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=ws&version=1.1.2 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.2.0 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=parsejson&version=0.0.3 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm WARN notice [SECURITY] tunnel-agent has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=tunnel-agent&version=0.4.3 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
getting error while creating a project in angular js? how cn this be resolved
Even when I try to skip this warn and start a server for a project I got some another errors.
Guys those are just warning and not errors..
Your template application will work irrespective of those warning.
Use ng serve -o to run your application, it should work fine..
I had same error, start run your command prompt as admin and run npm install should work.
Looks like no one having the answer for that error.... And of course i'm getting the same error....
It's true that it's only a warning but my npm install is taking a ridiculous amount of time to complete.
it's my first app in angular, but the warning dont generate problems in the future?
the same.
Similar warning. I hope it doesn't affect the app later