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

"The term 'json-server' is not recognized as the name of a cmdlet..." even after installed #1472

Closed
fernandodamaso opened this issue Jan 7, 2024 · 7 comments

Comments

@fernandodamaso
Copy link

i'm getting a message of the error below, even tough i've installed and test it both locally and globally.

"The term 'json-server' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, see if the path is correct and try again."

in the print screen you can see in details my node -v and npm -v, i'm running on windows 11, in a powershell.

anyone know how can i fix tis?

thanks

Captura de tela 2024-01-07 113922

@rafaelsachetto
Copy link

Try npm install json-server@0.17.4

Best regards

@fernandodamaso
Copy link
Author

that works, thanks! Can you explain to me what the problem was? :}

@Sathish107
Copy link

Thanks for solving my issue, i have been searching how to resolve this issue in chatgpt,google,stackoverflow,youtube etc.. etc .since from morning i keep on searching and got fuc**d up.

@golamrabbiazad
Copy link

This issue happening because of the alpha version of json-server installed when we run npm i json-server. So, I have checked that the alpha version doesn't have a json-server executable. That's why json-server is not recognized.

@typicode
Copy link
Owner

typicode commented Jan 7, 2024

Fixed, thanks for the heads up

@typicode typicode closed this as completed Jan 7, 2024
@MMDREZA7
Copy link

Thanks
that fixed

@Haroun-Azoulay
Copy link

Fixed, Thanks a lot !

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

7 participants