jiangtianyi@jiangtinyideMBP shuhe2 % yarn start sample yarn run v1.22.4 $ node scripts/start.js sample $ concurrently --names @alife/shuhe2-core,@alife/shuhe2-schema-form,@alife/shuhe2-data-sources,@alife/shuhe2-edit,sample --prefix-colors green,yellow,magenta,bgGreen,bgYellow "yarn workspace @alife/shuhe2-core start" "yarn workspace @alife/shuhe2-schema-form start" "yarn workspace @alife/shuhe2-data-sources start" "yarn workspace @alife/shuhe2-edit start" "yarn workspace sample start" warning package.json: No license field warning package.json: No license field warning package.json: No license field warning package.json: No license field $ tsc -w --preserveWatchOutput $ cp -r src/types.d.ts lib && babel src -d lib --watch $ tsc -w --preserveWatchOutput $ tsc --watch --preserveWatchOutput $ webpack-dev-server --mode=development [@alife/shuhe2-core] [@alife/shuhe2-core] 下午6:27:17 - Starting compilation in watch mode... [@alife/shuhe2-core] [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:17 - Starting compilation in watch mode... [@alife/shuhe2-data-sources] [@alife/shuhe2-edit] [@alife/shuhe2-edit] 下午6:27:17 - Starting compilation in watch mode... [@alife/shuhe2-edit] [@alife/shuhe2-schema-form] Error: EEXIST: file already exists, mkdir '/Users/jiangtianyi/Documents/workspace/shuhe2/packages/schema-form/lib' [@alife/shuhe2-schema-form] at Object.mkdirSync (fs.js:940:3) [@alife/shuhe2-schema-form] at module.exports.sync (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/make-dir/index.js:97:6) [@alife/shuhe2-schema-form] at /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:233:27 [@alife/shuhe2-schema-form] at Generator.next () [@alife/shuhe2-schema-form] at asyncGeneratorStep (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:76:103) [@alife/shuhe2-schema-form] at _next (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:78:194) [@alife/shuhe2-schema-form] at /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:78:364 [@alife/shuhe2-schema-form] at new Promise () [@alife/shuhe2-schema-form] at /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:78:97 [@alife/shuhe2-schema-form] at _ref (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/@babel/cli/lib/babel/dir.js:283:15) { [@alife/shuhe2-schema-form] errno: -17, [@alife/shuhe2-schema-form] syscall: 'mkdir', [@alife/shuhe2-schema-form] code: 'EEXIST', [@alife/shuhe2-schema-form] path: '/Users/jiangtianyi/Documents/workspace/shuhe2/packages/schema-form/lib' [@alife/shuhe2-schema-form] } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed. [@alife/shuhe2-schema-form] Exit code: 1 [@alife/shuhe2-schema-form] Command: /usr/local/bin/node [@alife/shuhe2-schema-form] Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js start [@alife/shuhe2-schema-form] Directory: /Users/jiangtianyi/Documents/workspace/shuhe2/packages/schema-form [@alife/shuhe2-schema-form] Output: [@alife/shuhe2-schema-form] info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command. [@alife/shuhe2-schema-form] yarn workspace @alife/shuhe2-schema-form start exited with code 1 [sample] Error: Cannot find module 'monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands' [sample] Require stack: [sample] - /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/monaco-editor-webpack-plugin/out/index.js [sample] - /Users/jiangtianyi/Documents/workspace/shuhe2/apps/sample/webpack.config.js [sample] - /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/webpack-cli/bin/utils/convert-argv.js [sample] - /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/webpack-dev-server/bin/webpack-dev-server.js [sample] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15) [sample] at Function.resolve (internal/modules/cjs/helpers.js:79:19) [sample] at resolveMonacoPath (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/monaco-editor-webpack-plugin/out/index.js:26:20) [sample] at /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/monaco-editor-webpack-plugin/out/index.js:161:63 [sample] at Array.map () [sample] at createLoaderRules (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/monaco-editor-webpack-plugin/out/index.js:161:43) [sample] at MonacoEditorWebpackPlugin.apply (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/monaco-editor-webpack-plugin/out/index.js:80:23) [sample] at webpack (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/webpack/lib/webpack.js:51:13) [sample] at startDevServer (/Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/webpack-dev-server/bin/webpack-dev-server.js:94:16) [sample] at /Users/jiangtianyi/Documents/workspace/shuhe2/node_modules/webpack-dev-server/bin/webpack-dev-server.js:166:3 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed. [sample] Exit code: 1 [sample] Command: /usr/local/bin/node [sample] Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js start [sample] Directory: /Users/jiangtianyi/Documents/workspace/shuhe2/apps/sample [sample] Output: [sample] info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command. [sample] yarn workspace sample start exited with code 1 [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:20 - Found 0 errors. Watching for file changes. [@alife/shuhe2-core] [@alife/shuhe2-core] 下午6:27:21 - Found 0 errors. Watching for file changes. [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:21 - File change detected. Starting incremental compilation... [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:21 - Found 0 errors. Watching for file changes. [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:21 - File change detected. Starting incremental compilation... [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] [@alife/shuhe2-data-sources] 下午6:27:22 - Found 0 errors. Watching for file changes. [@alife/shuhe2-edit] src/components/data-filed-menus/NumberFormatter.tsx(3,30): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] src/components/dnd/DataField.tsx(146,17): error TS2769: No overload matches this call. [@alife/shuhe2-edit] Overload 1 of 2, '(props: Readonly): Closeable', gave the following error. [@alife/shuhe2-edit] Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Overload 2 of 2, '(props: CloseableProps, context?: any): Closeable', gave the following error. [@alife/shuhe2-edit] Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] src/components/edit-chart/makeChartForm.tsx(2,30): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] src/components/LinkageBuilder.tsx(17,31): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] [@alife/shuhe2-edit] 下午6:27:22 - Found 4 errors. Watching for file changes. [@alife/shuhe2-edit] [@alife/shuhe2-edit] 下午6:27:23 - File change detected. Starting incremental compilation... [@alife/shuhe2-edit] [@alife/shuhe2-edit] src/components/data-filed-menus/NumberFormatter.tsx(3,30): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] src/components/dnd/DataField.tsx(146,17): error TS2769: No overload matches this call. [@alife/shuhe2-edit] Overload 1 of 2, '(props: Readonly): Closeable', gave the following error. [@alife/shuhe2-edit] Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Overload 2 of 2, '(props: CloseableProps, context?: any): Closeable', gave the following error. [@alife/shuhe2-edit] Type '{ children: any[]; type: "primary"; size: "small"; onClose: () => true; color: string; value: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] Property 'value' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. [@alife/shuhe2-edit] src/components/edit-chart/makeChartForm.tsx(2,30): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] src/components/LinkageBuilder.tsx(17,31): error TS2307: Cannot find module '@alife/shuhe2-schema-form' or its corresponding type declarations. [@alife/shuhe2-edit] [@alife/shuhe2-edit] 下午6:27:23 - Found 4 errors. Watching for file changes.