boyney123 / eventcatalog

Discover, Explore and Document your Event Driven Architectures powered by Markdown.

Home Page:https://eventcatalog.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Cannot read properties of undefined (reading '700')

aholbreich opened this issue · comments

Have you read the Contributing Guidelines on issues?

Description

Latest version 1.0.0
after the upgrade started to see the following problems:

../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
TypeError: Cannot read properties of undefined (reading '700')

Steps to reproduce

Run yarn dev or npm run dev

Expected behavior

No exception is expected like it was in the version before

Actual behavior

../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
TypeError: Cannot read properties of undefined (reading '700')

Your environment

  • EventCatalog version used: 1.0.0
  • Node v16.15.0
  • Fedora Linux

What version of @eventcatalog/types are you using? If it is not the current one (0.4.2), would you mind trying upgrading to that version and testing again?

The 1.0.0 core is working fine here along with the 0.4.2 types.

Hey @rafaelrenanpacheco I'm using types 0.4.2

The 1.0.0 core is working fine here along with the 0.4.2 types.

that's what I tried directly after the 1.0.0 core was released.

Having the same issue here

npm run dev

> XXXXXX@0.0.1 dev
> eventcatalog dev


> @eventcatalog/core@1.0.0 scripts:move-schema-for-download
> node scripts/move-schemas-for-download.js


> @eventcatalog/core@1.0.0 dev
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
error - ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
TypeError: Cannot read properties of undefined (reading '700')
wait  - compiling /_error (client and server)...
error - ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
TypeError: Cannot read properties of undefined (reading '700')

Hey all,

I found the issue with this, looks like tailwind was updated and we missed the create-catalog CLI fix is here

If you do a new create-catalog CLI it should be fixed now, sorry about that! New version is out.

Reopen if you still have issues, thanks!