Open Sanyorke-Han opened 8 years ago
I am getting this
sh: 1: typings: not found npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14 npm ERR! Linux 4.4.0-43-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular2-google-chart" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn
npm ERR! angular2-google-chart@1.1.2 postinstall:
typings install
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the angular2-google-chart@1.1.2 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! /home/cfontes/workspace/ask-the-world/src/main/resources/static/ask-the-world/npm-debug.log
cfontes, try it before install the library:
npm install typings --global
when I tried on windows 7 and Ubunt6u, I got below error with npm install command:
d:\Test\ng2\angular2-google-chart>npm install angular2-google-chart 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.6.0 npm ERR! npm v3.10.3 npm ERR! code ENOSELF
npm ERR! Refusing to install angular2-google-chart as a dependency of itself npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! d:\Test\ng2\angular2-google-chart\npm-debug.log
thanks.