nextjs-wordpress-starter
nextjs-wordpress-starter copied to clipboard
TypeError: Cannot set properties of undefined (setting 'parent')
Describe the bug Clean clone, with .env gives TypeError
To Reproduce Steps to reproduce the behavior:
- clone repo
- follow steps back-end (without gravity forms) & front-end
- npm i --legacy-peer-deps (can't install without --legacy-peer-deps)
- npm run dev
- bug / error appears
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Additional context A starter repo should "start" without any issues. Currently gives error below on npm run dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from D:\Work\WORDPRESS_SITES\admi-webdev\.env
warn - SWC minify release candidate enabled. https://nextjs.org/docs/messages/swc-minify-enabled
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[4].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[4].use[2]!./components/organisms/Header/Header.module.css
TypeError: Cannot set properties of undefined (setting 'parent')
(node:3528) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
(Use `node --trace-deprecation ...` to show where the warning was created)
wait - compiling /_error (client and server)...
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[4].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[4].use[2]!./components/organisms/Header/Header.module.css
TypeError: Cannot set properties of undefined (setting 'parent')
sorry, duplicate https://github.com/WebDevStudios/nextjs-wordpress-starter/issues/1009