5

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

3 Answers 3

5

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

1/ Find the "@sanity/base" in sanity.json 2/ Remove it all "env" in below

  "env": {
    "development": {
      "plugins": [
        "@sanity/base"
      ]
    }
  },

3/ Start again

1
  • 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 Bot
    Mar 8, 2023 at 4:59
0

sanity upgrade will solve the issue

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.