Error: No "sanity.json" file found in plugin "#sanity/base" - sanity

I am new to sanity and trying to follow along to a tutorial on youtube but I am getting this error when I run ' sanity start'. Can anyone give me advice on what I should do?
sanity error

In my case, running sanity install solved this issue.
If it won't help, try manually deleting node_modules folder and then run sanity install.

sanity upgrade will solve the issue

Related

I have a problem with the path when downloaded packages on visual studio code. What the way to solve this problem?

When I install any packages in terminal of VSCODE, I can't use the command of packages directly instead of I have to add the path of package executor behind each command. Example:
I have downloaded Nodemon package for my project and I use its command in terminal like this:
"C:\Users\ACER\AppData\Roaming\npm\nodemon --inspect src/index.js"
Instead of using ( _name_Package + command -> nodemon --inspect src/index.js) as usual.
I have tried many ways "add variables environment" or reinstall with different options but failed.
Please help me if you have solutions. THANK YOU !!!
Most probably C:\Users\ACER\AppData\Roaming\npm is not added to the Path environmental variable. Please try to add C:\Users\ACER\AppData\Roaming\npm. Note that the edited Path won't be available in already opened terminal sessions, so please close them and try the command after reopening the commend line. If it does not help, please try to restart the computer.

Why ng(angular-cli) is not recognized as internal or external command?

I tried everything.I set the path variable.But nothing worked.Then i tried using ng command by running command line in administrator mode.And it worked.But it doesn't work untill i run it as administrator.Can anyone help me overcome this?
You shouldn't not use administrator privileges for npm installs, it may cause to a lot of problems. use this link as official guide

conan io : Unknown command 'export-pkg'

I am using conan io to create a package from pre build binaries. I found this post on the conan website: http://docs.conan.io/en/latest/creating_packages/existing_binaries.html but the problem is: Every time I try to use export-pkg command I get an error that this command is unknown. What is more I can neither create a --bare package. What is wrong?
Do you have any idea what commands to use?
Thank you in advance,
K.
So, it occured that I had a prehistoric version of conan. What was surprising because couple of minutes before I upgraded conan. What happened: the upgrade was not successfull (although eveyrthing looked fine) because I had installed pythonx86. As soon as I installed pythonx64 and re-upgraded conan I had access to these new commands,
just in case someone had similar issues....

Command /bin/sh failed with exit code 1 while archive

Application is building and installing but not archiving. Yes I found some answers related to this issue but didn't work for me and this is the one of them "how to fix the issue "Command /bin/sh failed with exit code 1" in iphone", I checked the Run script in Build Phases and tried deleting the DerivedData folder in Library but nothing worked. Please help me in this
Xcode-8.3
After trying for some days my project successfully archived, The reason is I was running shell command behind the proxy. Yes because of proxy it was not working, once I removed the proxy and tried to archive it worked smoothly.
Thanks

Command /usr/sbin/chown failed with exit code 1 Error when archiving

I'm trying to archive a project to submit it to the iOS App Store, but keep getting this problem. I have already set yes to the skip install option, re-installed Xcode, rebooted and re-copied my libraries, as well as edited my schemes. I've done my research and tried everything suggested, but still get this error.
Does anybody has a suggestion?
chown: /Users/Samuel/Library/Developer/Xcode/DerivedData/Safari-clksdtmdmbdyrefxcltqlpejzefv/ArchiveIntermediates/Branon/InstallationBuildProductsLocation/Applications/i386: No such file or directory
Command /usr/sbin/chown failed with exit code 1
Thanks in advance,
Sam
#Jason Coco - I got a chance to look at this again and you were right. Architectures!
Sam