Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install through NPM error #60

Closed
Elecash opened this issue Nov 12, 2015 · 2 comments
Closed

Install through NPM error #60

Elecash opened this issue Nov 12, 2015 · 2 comments

Comments

@Elecash
Copy link

Elecash commented Nov 12, 2015

I've tried to install through NPM and I'm getting this error:

ENOENT No bower.json present
npm WARN EPACKAGEJSON safx-web@1.0.0 No repository field.
npm WARN EPACKAGEJSON safx-web@1.0.0 No license field.
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "angular-apimock" "--save-dev"
npm ERR! node v4.2.2
npm ERR! npm  v3.3.9
npm ERR! code ELIFECYCLE

npm ERR! angular-apimock@0.3.2 postinstall: `bower install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the angular-apimock@0.3.2 postinstall script 'bower install'.
npm ERR! This is most likely a problem with the angular-apimock package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-apimock
npm ERR! There is likely additional logging output above.

It works as expected with Bower.

@seriema
Copy link
Owner

seriema commented Nov 14, 2015

Thank you for reminding me. It was actually fixed in a696e14 when I removed the postinstall step that used Bower since it wasn't needed. But it wasn't published, until now. v0.3.3 is up and I tested it with npm v2 and v3, and it worked for me. Let me know how it works for you as well.

@Elecash
Copy link
Author

Elecash commented Nov 14, 2015

Yes, it works, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants