thomvaill / log4brains

✍️ Log and publish your architecture decisions (ADR)
Apache License 2.0
1.15k stars 94 forks source link

Contributing Onboarding #104

Open mmadson opened 1 year ago

mmadson commented 1 year ago

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

ezavgorodniy commented 10 months ago

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

ezavgorodniy commented 10 months ago

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"
  },