You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chromatic CLI v6.0.5
https://www.chromatic.com/docs/cli
Authenticating with Chromatic
→ Connecting to https://index.chromatic.com
Authenticated with Chromatic
→ Using project token '********ed41'
Retrieving git information
Retrieved git information
→ Commit 'd91d176' on branch 'TP-36'; found 1 parent commit
Collecting Storybook metadata
Collected Storybook metadata
→ ; no supported addons found
Building your Storybook
→ Running command: npm run --silent build:storybook -- --output-dir /tmp/chromatic--1658-T1kaYVKMlYD4
The CLI tried to run your build:storybook script, but the command failed. This indicates a problem with your Storybook. Here's what to do:
- Check the Storybook build log printed below.
- Run npm run build:storybook or yarn build:storybook yourself and make sure it outputs a valid Storybook by opening the generated index.html in your browser.
→ Command failed: npm run --silent build:storybook -- --output-dir /tmp/chromatic--1658-T1kaYVKMlYD4
- Review the build-storybook CLI options at https://storybook.js.org/docs/configurations/cli-options/#for-build-storybook
Command failed with exit code 1: npm run --silent build:storybook -- --output-dir /tmp/chromatic--1658-T1kaYVKMlYD4
ℹ Spawn settings:
{
"client": "npm",
"clientVersion": "6.14.15",
"nodeVersion": "v14.18.1",
"platform": "linux",
"command": "npm",
"clientArgs": [
"run",
"--silent"
],
"scriptArgs": [
"build:storybook",
"--",
"--output-dir",
"/tmp/chromatic--1658-T1kaYVKMlYD4"
]
}
ℹ Storybook build output:
/home/runner/work/TILBox/TILBox/client/build-storybook.log
sh: 1: build-storybook: not found
Error: non-zero exit code
I'm on
chromatic 6.0.5
storybook/react 6.3.12
The text was updated successfully, but these errors were encountered:
Yes, that basically sets the nodeLinker mentioned in the yarn berry docs to use node-modules just for your CI action. It changes the configuration before running yarn install so that the packages are build in the old node-modules folder location where chromatic can find them
@hwookim. Take a look at the two last comments in this thread. I think those comments could help you, because it helped me fix it. The docs could be a lot clearer about this!
I saw the #166 issue and the 6.0.2 version of the release note, but I don't know what to do.
https://github.com/CrossroadsCX/action/blob/afe74f34a1608ecb8571b65163a7695ecf1af0d4/README.md#yarn-2-support
It's solved in this way...
Is it a way to allow node_modules only for a moment?
Did I not find the right way?
If possible, I want to see an example.
I'm trying like this.
The error is like this.
I'm on
chromatic 6.0.5
storybook/react 6.3.12
The text was updated successfully, but these errors were encountered: