Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

TypeError: Cannot set properties of undefined (setting 'parent') #1059

Open
mrEckendonk opened this issue Oct 11, 2022 · 1 comment
Open

Comments

@mrEckendonk
Copy link

Describe the bug
Clean clone, with .env gives TypeError

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. follow steps back-end (without gravity forms) & front-end
  3. npm i --legacy-peer-deps (can't install without --legacy-peer-deps)
  4. npm run dev
  5. bug / error appears

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

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') 
@mrEckendonk
Copy link
Author

sorry, duplicate #1009

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

No branches or pull requests

1 participant