...
A lot of issues can arise from having an outdated version of main. Try pulling and installing all dependencies again (
git pull
and thenyarn install
).Another solution is to run
yarn install:hard
which should give you a clean install.
...
You may have the wrong prisma version installed or may not have run
yarn install
.If this does not work, please try
yarn install:hard
.If this also does not work, there is another method that resets ALL local progress. If you have not made many/any changes (and are fine with them being erased) or are setting up the project from scratch, try
git reset --hard
and thenyarn install -
–immutable--immutable
to get the right version of prisma.
...
Most Node errors are caused by the wrong version (although we did recently update the repo and new errors are bound to arise). Please confirm that you are on the correct version using
node -v
and if it does not show some variant of version 16 (happens sometimes even if you installed version 16 but have a previous pre-existing version), please reinstall version 16.
...