Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google API Nodejs client 5.2.0 won't install its dependencies

Today I switched to version 5.2.0 but npm (seems to) fails to install its dependencies.

Running my project I get "dependency swig is missing".

If I manually install it (npm install swig) I get "dependency js-beautify is missing".

If I manually install it (npm install js-beautify) I get "Error: ENOENT: no such file or directory, open './templates/api-endpoint.js'"

Am I missing something or 5.2.0 is just broken?

Thank You.

like image 480
maxdelia Avatar asked Dec 16 '25 17:12

maxdelia


1 Answers

I've been having this issue as well. A temporary fix is to go inside of googleapis folder, and run npm install in there. For some reason I've been having trouble getting googlepais to download its dependencies.

like image 101
Austin Shoecraft Avatar answered Dec 19 '25 05:12

Austin Shoecraft



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!