rm -r .cache build node_modules yarn.lock package-lock.json yarn yarn build yarn dev
worked for me, too