-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require is not defined #7
Comments
Is this a |
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:
The text was updated successfully, but these errors were encountered: