Closed Coffeegerm closed 1 year ago
doesn't look like a storybook issue, can you confirm?
seems like multiple issues around this regarding yarn and node so I would try clearing cache and regenerating the lock file
Also I wouldn't recommend mixing version 7 storybook with version 6, better to put everything to 6.5
Na, I'm afraid running yarn cache clean
didn't solve the issue. Any other thoughts?
I have found you have to force a fsevents
upgrade in the package.json
:
"resolutions": {
"**/**/fsevents": "^2.3.3"
}
Describe the bug A clear and concise description of what the bug is.
Our CI pipeline has been hitting a snag with chokidar2 and fsevents when installing from yarn.
To Reproduce Steps to reproduce the behavior:
Error does not occur in local development, but has started happening recently on our CI steps.
Expected behavior A clear and concise description of what you expected to happen.
Chokidar2 should not throw errors on install in our CI pipeline
Screenshots If applicable, add screenshots to help explain your problem.
Code snippets If applicable, add code samples to help explain your problem.
System: Please paste the results of
npx -p @storybook/cli@next sb info
here.Environment Info:
System: OS: macOS 13.4 CPU: (10) x64 Apple M1 Pro Binaries: Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.19.2 - ~/.nvm/versions/node/v16.18.0/bin/npm Browsers: Chrome: 114.0.5735.133 Safari: 16.5 npmPackages: @storybook/addon-actions: ^6.5.16 => 6.5.16 @storybook/addon-controls: ^7.0.9 => 7.0.9 @storybook/addon-links: ^7.0.9 => 7.0.9 @storybook/addon-ondevice-actions: ^6.5.3 => 6.5.3 @storybook/addon-ondevice-backgrounds: ^6.5.3 => 6.5.3 @storybook/addon-ondevice-controls: ^6.5.3 => 6.5.3 @storybook/addon-ondevice-notes: ^6.5.3 => 6.5.3 @storybook/addons: ^7.0.9 => 7.0.9 @storybook/react-native: ^6.5.3 => 6.5.3 @storybook/react-native-server: ^6.5.3 => 6.5.3
Additional context Add any other context about the problem here.
Our CI pipeline is occuring on mac machine for iOS builds