Created
November 25, 2022 15:32
-
-
Save javierarce/9a990df52c0bbde43a766391bd072fa8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> @wordpress/[email protected] build /Users/javier/Local Sites/fin/app/public/wp-content/plugins/gutenberg/packages/babel-preset-default | |
> node ./bin/index.js | |
lerna success run Ran npm script 'build' in 2 packages in 1.6s: | |
lerna success - @wordpress/babel-preset-default | |
lerna success - @wordpress/block-serialization-spec-parser | |
> [email protected] build:packages /Users/javier/Local Sites/fin/app/public/wp-content/plugins/gutenberg | |
> npm run build:package-types && node ./bin/packages/build.js | |
> [email protected] build:package-types /Users/javier/Local Sites/fin/app/public/wp-content/plugins/gutenberg | |
> node ./bin/packages/validate-typescript-version.js && tsc --build | |
packages/components/src/navigator/stories/index.tsx:25:3 - error TS2322: Type '{ as: { control: { type: null; }; }; children: { control: { type: null; }; }; initialPath: { control: { type: null; }; }; }' is not assignable to type 'Partial<ArgTypes<NavigatorProviderProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<...>>, "as" | keyof NavigatorProviderProps>>>'. | |
Object literal may only specify known properties, and 'as' does not exist in type 'Partial<ArgTypes<NavigatorProviderProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<...>>, "as" | keyof NavigatorProviderProps>>>'. | |
25 as: { control: { type: null } }, | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/@storybook/api/node_modules/@storybook/csf/dist/story.d.ts:107:5 | |
107 argTypes?: Partial<ArgTypes<TArgs>>; | |
~~~~~~~~ | |
The expected type comes from property 'argTypes' which is declared here on type 'ComponentMeta<WordPressComponent<"div", NavigatorProviderProps, false>>' | |
Found 1 error. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 2 | |
npm ERR! [email protected] build:package-types: `node ./bin/packages/validate-typescript-version.js && tsc --build` | |
npm ERR! Exit status 2 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build:package-types script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/javier/.npm/_logs/2022-11-25T15_31_22_378Z-debug.log | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 2 | |
npm ERR! [email protected] build:packages: `npm run build:package-types && node ./bin/packages/build.js` | |
npm ERR! Exit status 2 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build:packages script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/javier/.npm/_logs/2022-11-25T15_31_22_398Z-debug.log | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 2 | |
npm ERR! [email protected] dev: `npm run build:packages && concurrently "wp-scripts start" "npm run dev:packages"` | |
npm ERR! Exit status 2 | |
npm ERR! | |
npm ERR! Failed at the [email protected] dev script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment