catdadcode / angular-spinners

A library for easily managing loading spinners in complex Angular2+ applications.
MIT License
140 stars 49 forks source link

Install Error : #27

Closed saostad closed 6 years ago

saostad commented 6 years ago

Can you please tell me what is my problem?

Here is the command line:

$ npm i angular-spinners --save
npm WARN extract-text-webpack-plugin@2.1.2 requires a peer of webpack@^2.2.0 but none was installed.
npm WARN less-loader@4.0.4 requires a peer of webpack@^2.2.0 but none was installed.

npm ERR! Cannot read property '0' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Saeid\AppData\Roaming\npm-cache\_logs\2017-07-31T14_28_57_747Z-debug.log

and Here is my package versions:

"angular": "4.1.3
"angular/cli": "^1.2.0",
"html-webpack-plugin": "^2.29.0",
"jasmine-core": "^2.6.4",
"jasmine-spec-reporter": "^4.1.1",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.3.0",
"tslint": "~5.5.0",
"typescript": "~2.4.2",
"webpack": "^3.3.0",
"webpack-dev-server": "^2.6.1"
saostad commented 6 years ago

Problem solved! it was npm problem, https://github.com/npm/npm/issues/17858