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

Issues with installing to non alpha version #1514

Closed
Timofey-Makhankov opened this issue Feb 9, 2024 · 3 comments
Closed

Issues with installing to non alpha version #1514

Timofey-Makhankov opened this issue Feb 9, 2024 · 3 comments

Comments

@Timofey-Makhankov
Copy link

I have been working on a json-server project. I have used a docker image to create the json-server and deploy it. recently, i had issues with my image. after some time, i figured out the problem. since using npm install / yarn add will always install the latest version, that i was using the alpha version of Json-server. I was able to resolve the issue by setting the stable verion of json-server "0.7.4".

The reason why i have opened the issue is that, i wanted to ask, if you can set the stable version to be "0.7.4" in the npm registry. you could still be able use alpha verions by setting it yourself. example: "yarn add json-server@version". In the future of course, you can set it to the stable verion of "1.x"

@textbook
Copy link
Contributor

textbook commented Mar 28, 2024

This could be done by running npm dist-tag add json-server@0.17.4 latest with publishing rights (see https://stackoverflow.com/q/67813980/3001761, https://docs.npmjs.com/cli/v10/commands/npm-dist-tag).

@textbook
Copy link
Contributor

Completed? https://www.npmjs.com/package/json-server?activeTab=versions says latest is still alpha.23.

@Timofey-Makhankov
Copy link
Author

Timofey-Makhankov commented May 9, 2024

Know I see the Problem.

Sry for confusing you, because I set the Issue as "completed". I just wanted to close the Issue since it is not a problem anymore. Thanks for the help

@Timofey-Makhankov Timofey-Makhankov closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
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