Open hut36 opened 1 year ago
Is this a yarn
version issue? I tried with node@16, node@18 and node@19 in MacOS and things work as you'd expect them to. I'm on yarn v1. Perhaps one of the dependency has a problem with yarn v3. Could you try deleting node_modules
and yarn.lock
and try installing the dependencies using npm
or even pnpm
to see if the problem is really with yarn v3?
Tried npm and yarn v1 and both worked. So this is perhaps a yarn version issue as you said. Thanks for help!
Probably one (or a few) of the dependencies is not compatible with yarn 2/3 pnp - https://yarnpkg.com/features/pnp
This happens with PNPM too, however simply updating the packages to their latest version fixes this.
How to reproduce:
npx create-blogster@latest --theme sleek
cd my-blogster-blog
yarn run dev --host
The page displays an error message:
Other information: