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

Quote packages name, when calling npm #64

Closed
zdm opened this issue Dec 30, 2019 · 2 comments · Fixed by #126
Closed

Quote packages name, when calling npm #64

zdm opened this issue Dec 30, 2019 · 2 comments · Fixed by #126
Labels

Comments

@zdm
Copy link

zdm commented Dec 30, 2019

Hi, you need to quote packages names, when you calling package manager.
For example, if peer deps is specified like "package": ">=1.2.3"
then you will call npm to install deps like:
npm i package@>=1.2.3, that produces stdout redirect to the file =1.2.3

@nathanhleung
Copy link
Owner

nathanhleung commented Jan 29, 2021

#126 (specifically, naively adding quotes around package names) breaks the package, so I reverted it. Reopening this.

@nathanhleung nathanhleung reopened this Jan 29, 2021
@zdm zdm closed this as completed Sep 8, 2021
@ljharb ljharb reopened this Sep 8, 2021
@zdm
Copy link
Author

zdm commented May 17, 2022

Seems, that this is not already actial with the npm 8.

@zdm zdm closed this as completed May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants