We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following an upgrade to an Angular NX monorepo (just upgraded from 15.5->16.10.0), when running nx storybook <library-name>, we get:
nx storybook <library-name>
NX Property 'webpackStatsJson' does not match the schema. 'false' should be a 'string'.
Not sure what's changed, but I found this ticket: #20296 which updated the schema to include both "string" and "json" for the build-storybook builder.
Making the same change in the start-storybook builder fixes the problem.
Here's the patch:
diff --git a/node_modules/@storybook/angular/.DS_Store b/node_modules/@storybook/angular/.DS_Store new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/@storybook/angular/dist/builders/start-storybook/schema.json b/node_modules/@storybook/angular/dist/builders/start-storybook/schema.json index 017c33c..cf3c1ab 100644 --- a/node_modules/@storybook/angular/dist/builders/start-storybook/schema.json +++ b/node_modules/@storybook/angular/dist/builders/start-storybook/schema.json @@ -130,7 +130,7 @@ "description": "URL path to be appended when visiting Storybook for the first time" }, "webpackStatsJson": { - "type": "string", + "type": ["boolean", "string"], "description": "Write Webpack Stats JSON to disk", "default": false },
No response
NX 16.10.0 SB 7.0.18
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Following an upgrade to an Angular NX monorepo (just upgraded from 15.5->16.10.0), when running
nx storybook <library-name>
, we get:NX Property 'webpackStatsJson' does not match the schema. 'false' should be a 'string'.
Not sure what's changed, but I found this ticket: #20296 which updated the schema to include both "string" and "json" for the build-storybook builder.
Making the same change in the start-storybook builder fixes the problem.
Here's the patch:
To Reproduce
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: