thomvaill / log4brains

✍️ Log and publish your architecture decisions (ADR)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributing Onboarding

mmadson opened this issue · comments

Bug Report

Description

Unable to build / run yarn dev from either latest main branch or v1.0.1 tag branch

Steps to Reproduce

  1. Forked Repo
  2. Checkout branch for tag v1.0.1
  3. using node v16.19.1 and yarn 1.22.19 run:
  4. yarn install
  5. yarn link-cli
  6. yarn dev

image

Expected Behavior

Successful build without errors.

Environment

NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
node v16.19.1
yarn 1.22.19

Interestingly I'm getting this error message only if I run yarn upgrade for some exact packages (@types, @storybook/* or material)

Adding resolutions into package.json (following advice from https://stackoverflow.com/questions/71831601/ts2786-component-cannot-be-used-as-a-jsx-component) helped me to solve the issue

 "resolutions": {
    "@types/react": "17.0.14",
    "@types/react-dom": "17.0.14"
  },