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

Saalim
  • 61
  • 2

3 Answers3

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.

HynekS
  • 2,738
  • 1
  • 19
  • 34
1

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

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

3/ Start again

Ric
  • 11
  • 3
  • 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](/help/how-to-answer). – Community Mar 08 '23 at 04:59
0

sanity upgrade will solve the issue

Eugene
  • 163
  • 1
  • 1
  • 6