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
Command not found #1863
Comments
|
Having the same issue here. Using yarn (1.22.4) + lerna (3.20.2) with yarn workspaces. Edit: Fixed it. Was missing the |
|
@danielmartinsen try using |
|
This may be caused by npm not being configured properly, that is, not being part of the path that your shell is looking through when you execute commands. It’s a bit hard to say without more information. You should be able to use |
|
Thanks, that worked for me! |
|
Had the same issue |
|
npx @sanity/cli init was the solution to my problem. |
|
npx sanity init worked for me!! amiralitaheri thank you! |
|
sudo npm @sanity/cli solved my problem |
npm run start gives error |
|
$ sanity start How can i solve it? |
|
@saikat100 @raqibnur |
|
npx @sanity/cli init npx @sanity/cli start try this it's work |
|
|
|
npx @sanity/cli start it's work in my case go to your folder by cd command and start the cli |
|
sanity init I get this message: No such file or directory Any suggestions will be helpful |
|
npm i @sanity/core |
|
I can run sanity with npx @sanity/cli init, but when installed I cant launch it. After the successful installation it says that i can run sanity with the command line sanity start . When doing so (double checked that I am in the right directory) it give me a "zsh: command not found: sanity". Anyone an idea what that could be? |
Follow this steps... |
|
I kinda suspect that the problem has to be something with a wrong path. I checked when reinstalling node again that the path selected is usr/local/bin. However when I check in the terminal with echo $PATH it shows me this: /Users/s****/opt/anaconda3/bin:/Users/s****/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin could that be the root for the problem? and if so, any suggestions how to untangle this mess? |
|
hmm, did so but still stuck with the same command. "command not found: sanity" |
Very helpful, Thanks....this worked for me |
I am unable to fix it npx/npm both giving error |
|
was trying to run the new sanity to test and found myself here. nothing seems to work. Not good. Going to move on. |
|
Whenever i run sanity manage it says you are not a member of this project |
|
I had a similar problem on my mac which was caused by not installing sanity globally. Go to your terminal and enter: |
|
same problem. worked for me. |
|
npx @sanity/cli init npx sanity start this worked for me. |
Thanks Knut, it also worked for me! |
|
Also I had a problem while using "javascriptmastery" coupon I used this code line and worked.
|
use (npm run dev) |
|
sanity manage showing error |
|
I solved this problem by running npm install -g @sanity/cli which was not included in the package.json file. |






Hello!
I have a problem with running the
sanitycommand. I have installed the Sanity CLI withnpm install -g @sanity/cliand when I writesanity init, I get this error message:bash: sanity: command not foundI am using npm version 6.14.4 and node version v12.16.2
I am not quite sure about wath sanity-version it is, but I think it would be the newest one.
The text was updated successfully, but these errors were encountered: