carlcraig / tc-angular-chartjs

AngularJS directives for Chart.js
http://carlcraig.github.io/tc-angular-chartjs/
Other
233 stars 83 forks source link

NPM install failing #81

Closed jacob-robertson closed 7 years ago

jacob-robertson commented 7 years ago

I'm getting the following output when I attempt to install the npm package.

npm install --save tc-angular-chartjs

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "tc-angular-chartjs"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! tc-angular-chartjs@2.1.2 postinstall: `cd test/angular-1-2 && npm install && cd ../angular-1-5 && npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tc-angular-chartjs@2.1.2 postinstall script 'cd test/angular-1-2 && npm install && cd ../angular-1-5 && npm 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 tc-angular-chartjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cd test/angular-1-2 && npm install && cd ../angular-1-5 && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs tc-angular-chartjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls tc-angular-chartjs
npm ERR! There is likely additional logging output above.

I'm not getting a log file for some reason.

carlcraig commented 7 years ago

Thanks for creating this issue.

I will take a look into this, something is breaking in the postinstall script

carlcraig commented 7 years ago

I have published a new release 2.1.3

@jacob-robertson would you be able to test to see if this solves your problem?

jacob-robertson commented 7 years ago

That did the trick. Thanks!

carlcraig commented 7 years ago

ok great, will close this issue now.

any other problems, please just open an issue.