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?
3 Answers
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
.
1/ Find the "@sanity/base" in sanity.json 2/ Remove it all "env" in below
"env": {
"development": {
"plugins": [
"@sanity/base"
]
}
},
3/ Start again
-
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.– Community BotMar 8, 2023 at 4:59