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

[cli] Should polymer install --npm run npm install? #118

Closed
bicknellr opened this issue Apr 12, 2018 · 0 comments · Fixed by #145
Closed

[cli] Should polymer install --npm run npm install? #118

bicknellr opened this issue Apr 12, 2018 · 0 comments · Fixed by #145

Comments

@bicknellr
Copy link
Member

When running polymer install (with or without --npm) in a 3.0-style package with a package.json instead of a bower.json, this error is produced:

info: [cli.install]    Installing default Bower components...
error: [cli.main]   cli runtime exception: Error: No bower.json present
error: [cli.main]   Error: No bower.json present
    ... stack trace ...

Maybe we should make the --npm flag cause polymer install to run npm install if a package.json is found?

@bicknellr bicknellr changed the title [polymer-cli] Should polymer install --npm run npm install? [cli] Should polymer install --npm run npm install? Apr 12, 2018
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

Successfully merging a pull request may close this issue.

1 participant