angular2-google-chart icon indicating copy to clipboard operation
angular2-google-chart copied to clipboard

npm install is failing to install angular2-google-chart

Open smile18 opened this issue 7 years ago • 5 comments

I am trying to install angular2-google-chart using npm for my angular2 with Angular-Cli. Below is the error I get while doing npm install. Please let me know if there are any dependency on node js version? Thanks.

D:\gitmyworkspace\mywork\pcfdeploy>	npm install angular2-google-chart
> [email protected] postinstall D:\gitmyworkspace\mywork\pcfdeploy\node_modules\angular2-google-chart
> typings install
'typings' is not recognized as an internal or external command,operable program or batch file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'D:\gitmyworkspace\mywork\pcfdeploy\node_modules\es6-promise\package.json'
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of rxjs@^5.0.1 but none was installed.
npm WARN @angular/[email protected] requires a peer of zone.js@^0.7.2 but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\nodeJS\\node.exe" "D:\\nodeJS\\node_modules\\	npm\\bin\\	npm-cli.js" "install" "angular2-google-chart"
npm ERR! node v6.9.5
npm ERR! 	npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and 	npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-google-chart package,
npm ERR! not with 	npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     	npm bugs angular2-google-chart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     	npm owner ls angular2-google-chart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\gitmyworkspace\mywork\pcfdeploy\	npm-debug.log

smile18 avatar Apr 05 '17 21:04 smile18

Hi Please check whethere you have installed typings globally or not. If not please do npm install typings -g

To check verion typings -v

vimalaanthony avatar Apr 06 '17 06:04 vimalaanthony

Is it possible to install this package without installing typings? This is the first package I'm using that needs this (I'm in the final phase of migrating from angularjs (1.6.x) to angular 4). I rather not install it if it's not necessary (this will complicate the setup instructions of my project... :-/).

HarelM avatar May 13 '17 10:05 HarelM

I get this error even though I have installed typings globally...

roar avatar May 23 '17 11:05 roar

I have this same problem ;/

pawelec avatar May 27 '17 11:05 pawelec

Hi,

I hope I fixed that that issue.. The reason is that am doing "typings install" script in the postinstall step. I published the new version. Please take a latest version of this module 2.2.3 and then check the flow. Please let me know the result here.

vimalavinisha avatar May 29 '17 13:05 vimalavinisha