Skip to content
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

TypeError: Cannot read property 'theme' of undefined after first start #5

Closed
tbsvttr opened this issue Nov 23, 2021 · 1 comment
Closed

Comments

@tbsvttr
Copy link

tbsvttr commented Nov 23, 2021

git clone --depth=1 https://github.com/ixartz/Next-js-Blog-Boilerplate.git website-next-js
cd website-next-js/
yarn
yarn run dev

results in:

yarn run v1.22.10 $ next ready - started server on 0.0.0.0:3000, url: http://localhost:3000 info - Using webpack 5. Reason: future.webpack5 option enabled https://nextjs.org/docs/messages/webpack5 error - ./node_modules/next/dist/compiled/css-loader/cjs.js??ruleSet[1].rules[2].oneOf[6].use[1]!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ruleSet[1].rules[2].oneOf[6].use[2]!./src/styles/main.css TypeError: Cannot read property 'theme' of undefined

@ixartz
Copy link
Owner

ixartz commented Nov 23, 2021

Hi @tbsvttr,

The project currently doesn't support yarn.

Please run the following command: git clone https://github.com/ixartz/Next-js-Blog-Boilerplate.git website-next-js
cd website-next-js/
npm install
npm run dev

I'm currently working to add the yarn support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants