Contributing Onboarding
mmadson opened this issue · comments
Matthew Madson commented
Bug Report
Description
Unable to build / run yarn dev from either latest main branch or v1.0.1 tag branch
Steps to Reproduce
- Forked Repo
- Checkout branch for tag v1.0.1
- using node v16.19.1 and yarn 1.22.19 run:
- yarn install
- yarn link-cli
- yarn dev
Expected Behavior
Successful build without errors.
Environment
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
node v16.19.1
yarn 1.22.19
Yevhen Zavhorodnii commented
Interestingly I'm getting this error message only if I run yarn upgrade
for some exact packages (@types, @storybook/* or material)
Yevhen Zavhorodnii commented
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"
},