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

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

Description

@mrEckendonk

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') 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions