Created
June 15, 2020 11:00
-
-
Save jtyjty99999/e1e71c00d349e2b1d905531f4918b0ea to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| jiangtianyi@jiangtinyideMBP shuhe2 % yarn build sample | |
| yarn run v1.22.4 | |
| $ node scripts/build.js sample | |
| $ yarn workspace @alife/shuhe2-core build | |
| warning package.json: No license field | |
| $ rimraf lib/ && tsc | |
| $ yarn workspace @alife/shuhe2-schema-form build | |
| warning package.json: No license field | |
| $ rimraf lib/ && babel src -d lib && cp -r src/types.d.ts lib | |
| Successfully compiled 26 files with Babel (778ms). | |
| $ yarn workspace @alife/shuhe2-data-sources build | |
| warning package.json: No license field | |
| $ rimraf lib/ && tsc | |
| $ yarn workspace @alife/shuhe2-edit build | |
| warning package.json: No license field | |
| $ rimraf lib/ && tsc | |
| src/components/dnd/DataField.tsx:146:17 - error TS2769: No overload matches this call. | |
| Overload 1 of 2, '(props: Readonly<CloseableProps>): Closeable', gave the following error. | |
| Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Closeable> & Readonly<CloseableProps> & Readonly<...>'. | |
| Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Closeable> & Readonly<CloseableProps> & Readonly<...>'. | |
| Overload 2 of 2, '(props: CloseableProps, context?: any): Closeable', gave the following error. | |
| Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Closeable> & Readonly<CloseableProps> & Readonly<...>'. | |
| Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Closeable> & Readonly<CloseableProps> & Readonly<...>'. | |
| 146 value={item.code} | |
| ~~~~~ | |
| Found 1 error. | |
| error Command failed with exit code 2. | |
| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
| error Command failed. | |
| Exit code: 2 | |
| Command: /usr/local/bin/node | |
| Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js build | |
| Directory: /Users/jiangtianyi/Documents/workspace/shuhe2/packages/edit | |
| Output: | |
| info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command. | |
| child_process.js:650 | |
| throw err; | |
| ^ | |
| Error: Command failed: yarn workspace @alife/shuhe2-edit build | |
| at checkExecSyncError (child_process.js:611:11) | |
| at execSync (child_process.js:647:15) | |
| at Object.serially (/Users/jiangtianyi/Documents/workspace/shuhe2/scripts/utils.js:40:5) | |
| at /Users/jiangtianyi/Documents/workspace/shuhe2/scripts/build.js:14:9 | |
| at /Users/jiangtianyi/Documents/workspace/shuhe2/scripts/utils.js:90:5 | |
| at ChildProcess.exithandler (child_process.js:294:7) | |
| at ChildProcess.emit (events.js:315:20) | |
| at maybeClose (internal/child_process.js:1051:16) | |
| at Socket.<anonymous> (internal/child_process.js:442:11) | |
| at Socket.emit (events.js:315:20) { | |
| status: 2, | |
| signal: null, | |
| output: [ null, null, null ], | |
| pid: 76418, | |
| stdout: null, | |
| stderr: null | |
| } | |
| error Command failed with exit code 1. | |
| info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
| jiangtianyi@jiangtinyideMBP shuhe2 % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment