diff --git a/.tmp_scripts/build.2.log b/.tmp_scripts/build.2.log deleted file mode 100644 index 9a283dc64..000000000 --- a/.tmp_scripts/build.2.log +++ /dev/null @@ -1,2792 +0,0 @@ - -> nocobase@0.21.0-alpha.1 build /Users/seal/Documents/projects/codes/tachycode -> nocobase build - - -> @nocobase/build@0.21.0-alpha.1 build /Users/seal/Documents/projects/codes/tachycode/packages/core/build -> tsup - -@nocobase/cache: core/cache build start -@nocobase/cache: build cjs -@nocobase/cache: build declaration -packages/core/cache/src/bloom-filter/redis-bloom-filter.ts(11,3): error TS2742: The inferred type of 'getStore' cannot be named without a reference to '.pnpm/redis@4.6.13/node_modules/redis'. This is likely not portable. A type annotation is necessary. -packages/core/cache/src/cache-manager.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/cache/src/cache-manager.ts(5,23): error TS2307: Cannot find module 'deepmerge' or its corresponding type declarations. -packages/core/cache/src/cache-manager.ts(57,15): error TS2339: Property 'store' does not exist on type '{}'. -packages/core/cache/src/cache-manager.ts(57,28): error TS2700: Rest types may only be created from object types. -TypeScript: 4 semantic errors -TypeScript: 1 declaration error -TypeScript: emit failed -errors in build declareation. -create-nocobase-app: core/create-nocobase-app build start -create-nocobase-app: build cjs -create-nocobase-app: build declaration -@nocobase/logger: core/logger build start -@nocobase/logger: build cjs -@nocobase/logger: build declaration -packages/core/logger/src/deprecated/create-app-logger.ts(2,17): error TS2307: Cannot find module 'koa' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/sdk: core/sdk build start -@nocobase/sdk: build cjs -@nocobase/sdk: build declaration -@nocobase/utils: core/utils build start -@nocobase/utils: build cjs -@nocobase/utils: build declaration -packages/core/utils/src/date.ts(143,32): error TS2339: Property 'match' does not exist on type 'string | number'. - Property 'match' does not exist on type 'number'. -packages/core/utils/src/date.ts(145,30): error TS2339: Property 'match' does not exist on type 'string | number'. - Property 'match' does not exist on type 'number'. -packages/core/utils/src/fs-exists.ts(1,22): error TS2307: Cannot find module 'fs/promises' or its corresponding type declarations. -packages/core/utils/src/isPortalInBody.ts(16,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/isPortalInBody.ts(20,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/perf-hooks.ts(1,50): error TS2307: Cannot find module 'perf_hooks' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(1,18): error TS2307: Cannot find module 'path' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(2,31): error TS2307: Cannot find module 'url' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(6,9): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/requireModule.ts(19,8): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -TypeScript: 10 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/database: core/database build start -@nocobase/database: build cjs -@nocobase/database: .pegjs will not be processed, only be copied to the lib directory. -@nocobase/database: build declaration -packages/core/database/src/model-hook.ts(24,24): error TS2339: Property 'split' does not exist on type 'string | symbol'. - Property 'split' does not exist on type 'symbol'. -packages/core/database/src/model.ts(149,17): error TS2322: Type 'string | string[]' is not assignable to type 'string'. - Type 'string[]' is not assignable to type 'string'. -packages/core/database/src/model.ts(155,12): error TS2339: Property 'forEach' does not exist on type 'string | string[]'. - Property 'forEach' does not exist on type 'string'. -packages/core/database/src/repository.ts(692,11): error TS2322: Type '(TargetKey | TargetKey[])[]' is not assignable to type 'TargetKey[]'. - Type 'TargetKey | TargetKey[]' is not assignable to type 'TargetKey'. - Type 'TargetKey[]' is not assignable to type 'TargetKey'. -TypeScript: 4 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/evaluators: core/evaluators build start -@nocobase/evaluators: build cjs -@nocobase/evaluators: build declaration -@nocobase/resourcer: core/resourcer build start -@nocobase/resourcer: build cjs -@nocobase/resourcer: build declaration -packages/core/resourcer/src/resourcer.ts(2,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/acl: core/acl build start -@nocobase/acl: build cjs -@nocobase/acl: build declaration -packages/core/acl/src/acl-available-strategy.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-available-strategy.ts(36,18): error TS2322: Type 'string | false | string[]' is not assignable to type 'string'. - Type 'boolean' is not assignable to type 'string'. -packages/core/acl/src/acl-available-strategy.ts(40,38): error TS2339: Property 'reduce' does not exist on type 'string | false | string[]'. - Property 'reduce' does not exist on type 'string'. -packages/core/acl/src/acl-resource.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-resource.ts(60,14): error TS2339: Property 'emit' does not exist on type 'ACL'. -packages/core/acl/src/acl-role.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-role.ts(53,40): error TS2345: Argument of type 'string | AvailableStrategyOptions' is not assignable to parameter of type 'string'. - Type 'AvailableStrategyOptions' is not assignable to type 'string'. -packages/core/acl/src/acl-role.ts(54,44): error TS2345: Argument of type 'string | AvailableStrategyOptions' is not assignable to parameter of type 'AvailableStrategyOptions'. - Type 'string' has no properties in common with type 'AvailableStrategyOptions'. -packages/core/acl/src/acl.ts(3,26): error TS2307: Cannot find module 'events' or its corresponding type declarations. -packages/core/acl/src/acl.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/acl/src/acl.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl.ts(170,30): error TS2345: Argument of type 'string | string[]' is not assignable to parameter of type 'string'. - Type 'string[]' is not assignable to type 'string'. -packages/core/acl/src/acl.ts(189,10): error TS2339: Property 'addListener' does not exist on type 'ACL'. -TypeScript: 13 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/actions: core/actions build start -@nocobase/actions: build cjs -@nocobase/actions: build declaration -packages/core/actions/src/actions/list.ts(1,24): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/core/actions/src/actions/move.ts(1,27): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/core/actions/src/actions/proxy-to-repository.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/actions/src/index.ts(4,17): error TS2307: Cannot find module 'koa' or its corresponding type declarations. -packages/core/actions/src/index.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 5 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/auth: core/auth build start -@nocobase/auth: build cjs -@nocobase/auth: build declaration -@nocobase/data-source-manager: core/data-source-manager build start -@nocobase/data-source-manager: build cjs -@nocobase/data-source-manager: build declaration -packages/core/data-source-manager/src/collection.ts(2,35): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/data-source-manager/src/collection.ts(3,19): error TS2307: Cannot find module 'deepmerge' or its corresponding type declarations. -packages/core/data-source-manager/src/data-source.ts(1,21): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/core/data-source-manager/src/data-source.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 5 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/telemetry: core/telemetry build start -@nocobase/telemetry: build cjs -@nocobase/telemetry: build declaration -@nocobase/server: core/server build start -@nocobase/server: build cjs -@nocobase/server: build declaration -packages/core/server/src/app-supervisor.ts(2,23): error TS2307: Cannot find module 'async-mutex' or its corresponding type declarations. -packages/core/server/src/app-supervisor.ts(233,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(241,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(262,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(288,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(292,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/application.ts(19,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -packages/core/server/src/application.ts(23,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/server/src/application.ts(47,30): error TS2307: Cannot find module 'redis' or its corresponding type declarations. -packages/core/server/src/application.ts(195,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(362,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(378,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,15): error TS2339: Property 'listenerCount' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,44): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,61): error TS2339: Property 'onerror' does not exist on type 'Application'. -packages/core/server/src/application.ts(421,24): error TS2339: Property 'createContext' does not exist on type 'Application'. -packages/core/server/src/application.ts(741,12): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(742,55): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(856,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(1039,34): error TS2339: Property 'eventNames' does not exist on type 'Application'. -packages/core/server/src/application.ts(1040,35): error TS2339: Property 'listeners' does not exist on type 'Application'. -packages/core/server/src/application.ts(1042,16): error TS2339: Property 'removeListener' does not exist on type 'Application'. -packages/core/server/src/application.ts(1048,3): error TS2742: The inferred type of 'createLogger' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/application.ts(1065,19): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1085,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1087,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1088,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1089,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1164,67): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/cache/index.ts(8,7): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/commands/console.ts(12,12): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(10,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(14,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(18,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/gateway/index.ts(10,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/server/src/gateway/index.ts(13,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/server/src/gateway/index.ts(130,3): error TS2742: The inferred type of 'getLogger' cannot be named without a reference to '../../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/gateway/ws-server.ts(8,30): error TS2307: Cannot find module 'redis' or its corresponding type declarations. -packages/core/server/src/helper.ts(37,9): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/helper.ts(129,7): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/locale/locale.ts(16,14): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/plugin-manager/plugin-manager.ts(4,19): error TS2307: Cannot find module 'execa' or its corresponding type declarations. -packages/core/server/src/plugin-manager/plugin-manager.ts(5,16): error TS2307: Cannot find module 'fast-glob' or its corresponding type declarations. -packages/core/server/src/plugin-manager/utils.ts(5,16): error TS2307: Cannot find module 'fast-glob' or its corresponding type declarations. -packages/core/server/src/plugin.ts(5,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -packages/core/server/src/plugin.ts(57,7): error TS2742: The inferred type of 'log' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/plugin.ts(59,23): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/plugin.ts(100,3): error TS2742: The inferred type of 'createLogger' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -TypeScript: 44 semantic errors -TypeScript: 4 declaration errors -TypeScript: emit failed -errors in build declareation. -@nocobase/test: core/test build start -@nocobase/test: build cjs -@nocobase/test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'EventEmitter' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/core/test/src/client/index.ts(4,10): error TS2742: The inferred type of 'customRender' cannot be named without a reference to '.pnpm/@testing-library+dom@9.3.3/node_modules/@testing-library/dom/types/queries'. This is likely not portable. A type annotation is necessary. -packages/core/test/src/e2e/e2eUtils.ts(2,21): error TS2307: Cannot find module '@formily/shared' or its corresponding type declarations. -packages/core/test/src/e2e/e2eUtils.ts(4,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-creator.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-distributor.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/server/index.ts(4,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(1,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(2,23): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/core/test/src/server/mockServer.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(4,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(67,14): error TS2415: Class 'MockServer' incorrectly extends base class '_Application'. - Property 'createDatabase' is protected in type 'MockServer' but public in type '_Application'. -TypeScript: 10 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/devtools: core/devtools build start -@nocobase/devtools: build cjs -@nocobase/devtools: build declaration -@nocobase/app: core/app build start -@nocobase/app: build cjs -@nocobase/app: build declaration -packages/core/app/src/config/cache.ts(1,37): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/core/app/src/config/logger.ts(1,52): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -packages/core/app/src/config/logger.ts(2,10): error TS2614: Module '"@nocobase/server"' has no exported member 'AppLoggerOptions'. Did you mean to use 'import AppLoggerOptions from "@nocobase/server"' instead? -packages/core/app/src/config/plugins.ts(1,10): error TS2614: Module '"@nocobase/server"' has no exported member 'PluginConfiguration'. Did you mean to use 'import PluginConfiguration from "@nocobase/server"' instead? -packages/core/app/src/config/telemetry.ts(1,10): error TS2614: Module '"@nocobase/server"' has no exported member 'AppTelemetryOptions'. Did you mean to use 'import AppTelemetryOptions from "@nocobase/server"' instead? -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 5 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/client: core/client build start -@nocobase/client: build client -@nocobase/client: build client esm -vite v5.1.5 building for production... -transforming... -packages/core/client/src/application/utils/requirejs.ts (2146:11) Use of eval in "packages/core/client/src/application/utils/requirejs.ts" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 889 modules transformed. -rendering chunks... -computing gzip size... -packages/core/client/es/index.css 1.18 kB │ gzip: 0.47 kB -packages/core/client/es/md-iAGHvWot.mjs 1.70 kB │ gzip: 0.88 kB -packages/core/client/es/index.mjs 2,031.77 kB │ gzip: 380.43 kB -✓ built in 2.85s -@nocobase/client: build client lib -vite v5.1.5 building for production... -transforming... -packages/core/client/es/index.ts (17482:11) Use of eval in "packages/core/client/es/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 2 modules transformed. -rendering chunks... -computing gzip size... -packages/core/client/lib/md-iAGHvWot-jxZqkGLs.js 1.36 kB │ gzip: 0.80 kB -packages/core/client/lib/index.js 1,500.10 kB │ gzip: 316.07 kB -✓ built in 1.36s -@nocobase/client: build client locale -@nocobase/client: build declaration -packages/core/client/src/block-provider/hooks/index.ts(140,11): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(302,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(533,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(628,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(836,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/useParsedFilter.ts(38,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/collection-manager/templates/components/sql-collection/FieldsConfigure.tsx(11,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/client/src/data-source/data-source/DataSourceManager.ts(92,12): error TS2347: Untyped function calls may not accept type arguments. -packages/core/client/src/filter-provider/utils.ts(200,19): error TS2349: This expression is not callable. - Not all constituents of type 'string | ((target: { uid: string; field?: string; }) => string)' are callable. - Type 'string' has no call signatures. -packages/core/client/src/filter-provider/utils.ts(203,22): error TS2349: This expression is not callable. - Not all constituents of type 'string | ((target: { uid: string; field?: string; }) => string)' are callable. - Type 'string' has no call signatures. -packages/core/client/src/filter-provider/utils.ts(214,17): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. -packages/core/client/src/filter-provider/utils.ts(215,19): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. -packages/core/client/src/global-theme/defaultTheme.ts(20,14): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx(30,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/action/Action.Modal.tsx(29,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/hooks.ts(87,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/InternalDrawerSubTable.tsx(33,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/InternalPopoverNester.tsx(49,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/Nester.tsx(57,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/Nester.tsx(114,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/form-item/hooks/useParseDefaultValue.ts(74,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/select/FormulaSelect.tsx(9,68): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/core/client/src/schema-settings/hooks/useIsAllowToSetDefaultValue.tsx(98,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-settings/SchemaSettings.tsx(467,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-settings/SchemaSettings.tsx(989,59): error TS2349: This expression is not callable. - Not all constituents of type 'Stringify<{ [key: symbol]: any; [key: `x-${string}`]: any; [key: `x-${number}`]: any; version?: string; name?: SchemaKey; title?: any; description?: any; default?: any; readOnly?: boolean; writeOnly?: boolean; ... 44 more ...; "x-compile-omitted"?: string[]; }> | (() => Stringify<...>)' are callable. - Type 'Stringify<{ [key: symbol]: any; [key: `x-${string}`]: any; [key: `x-${number}`]: any; version?: string; name?: SchemaKey; title?: any; description?: any; default?: any; readOnly?: boolean; writeOnly?: boolean; ... 44 more ...; "x-compile-omitted"?: string[]; }>' has no call signatures. -packages/core/client/src/testUtils/mockAPIClient.ts(5,25): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/getAction.tsx(8,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/transformVariableValue.ts(30,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/transformVariableValue.ts(47,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/VariablesProvider.tsx(43,24): error TS2349: This expression is not callable. - Not all constituents of type 'Record | ((prev: Record) => Record)' are callable. - Type 'Record' has no call signatures. -packages/core/client/src/variables/VariablesProvider.tsx(154,46): error TS2349: This expression is not callable. - Type 'Record' has no call signatures. -packages/core/client/src/variables/VariablesProvider.tsx(225,9): error TS2322: Type 'VariableOption | (VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. - Type '(VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. - Type '(VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption[]'. - Type 'VariableOption | VariableOption[]' is not assignable to type 'VariableOption'. - Type 'VariableOption[]' is missing the following properties from type 'VariableOption': name, ctx -packages/core/client/src/variables/VariablesProvider.tsx(243,9): error TS2322: Type 'VariableOption | (VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. -TypeScript: 33 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/test: core/test build start -@nocobase/test: build esm -vite v5.1.5 building for production... -transforming... -✓ 3 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/index.mjs 6.67 kB │ gzip: 2.09 kB -✓ built in 28ms -vite v5.1.5 building for production... -transforming... -✓ 1 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/client/index.mjs 0.59 kB │ gzip: 0.30 kB -✓ built in 6ms -vite v5.1.5 building for production... -transforming... -✓ 5 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/e2e/index.mjs 1,375.13 kB │ gzip: 80.86 kB -✓ built in 242ms -@nocobase/test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'EventEmitter' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/core/test/src/client/index.ts(4,10): error TS2742: The inferred type of 'customRender' cannot be named without a reference to '.pnpm/@testing-library+dom@9.3.3/node_modules/@testing-library/dom/types/queries'. This is likely not portable. A type annotation is necessary. -packages/core/test/src/e2e/e2eUtils.ts(2,21): error TS2307: Cannot find module '@formily/shared' or its corresponding type declarations. -packages/core/test/src/e2e/e2eUtils.ts(4,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-creator.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-distributor.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/server/index.ts(4,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(1,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(2,23): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/core/test/src/server/mockServer.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(4,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(67,14): error TS2415: Class 'MockServer' incorrectly extends base class '_Application'. - Property 'createDatabase' is protected in type 'MockServer' but public in type '_Application'. -TypeScript: 10 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-audit-logs: plugins/@hera/plugin-audit-logs build start -@hera/plugin-audit-logs: build plugin client -@hera/plugin-audit-logs: build plugin server source -@hera/plugin-audit-logs: delete server files -@hera/plugin-audit-logs: build plugin server dependencies -@hera/plugin-audit-logs: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-audit-logs: write external version -@hera/plugin-audit-logs: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-audit-logs/src/client/components/AuditLogsViewActionInitializer.tsx(4,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-audit-logs/src/client/initializers/AuditLogsTableActionInitializers.tsx(4,14): error TS2742: The inferred type of 'auditLogsTableActionInitializers' cannot be named without a reference to '../../../../../../core/client/node_modules/antd/es'. This is likely not portable. A type annotation is necessary. -packages/plugins/@hera/plugin-audit-logs/src/client/initializers/AuditLogsTableColumnInitializers.tsx(47,14): error TS2742: The inferred type of 'auditLogsTableColumnInitializers' cannot be named without a reference to '../../../../../../core/client/node_modules/antd/es'. This is likely not portable. A type annotation is necessary. -TypeScript: 1 semantic error -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-core: plugins/@hera/plugin-core build start -@hera/plugin-core: build plugin client -node_modules/.pnpm/@ant-design+pro-layout@7.17.16_antd@5.12.8_react-dom@18.2.0_react@18.2.0/node_modules/@ant-design/pro-layout/es/components/PageContainer/index.js (268:6) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/@ant-design+pro-layout@7.17.16_antd@5.12.8_react-dom@18.2.0_react@18.2.0/node_modules/@ant-design/pro-layout/es/components/PageContainer/index.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -node_modules/.pnpm/pdfjs-dist@3.11.174/node_modules/pdfjs-dist/build/pdf.js (1982:23) Use of eval in "node_modules/.pnpm/pdfjs-dist@3.11.174/node_modules/pdfjs-dist/build/pdf.js" is strongly discouraged as it poses security risks and may cause issues with minification. -packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx (161:13) Use of eval in "packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx" is strongly discouraged as it poses security risks and may cause issues with minification. -@hera/plugin-core: build plugin server source -@hera/plugin-core: delete server files -@hera/plugin-core: build plugin server dependencies -@hera/plugin-core: These packages ws, redis, fs-extra, @react-pdf/renderer will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/actions, axios, @nocobase/database, jsonwebtoken will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-core: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/evaluators' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-core: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-core/src/client/components/custom-components/CustomComponentDispatcher.tsx(6,23): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx(7,28): error TS2307: Cannot find module '@nocobase/evaluators/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/components/system/Notifications.tsx(7,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/actions/hooks/useCreateActionProps.tsx(21,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/GroupBlockInitializer.tsx(16,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SheetBlockInitializer.tsx(14,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-settings/SchemaSettingsDatePresets.tsx(5,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/link-manager-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/link-manager-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/plugin-version.ts(1,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/plugin-version.ts(2,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/robot-controller.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/robot-controller.ts(3,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/system-message-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/system-message-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/token-configuration-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/token-configuration-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/home-page-presentations-attachments.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/home-page-presentations.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/link-manage.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/system_message.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/token-configuration.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(1,65): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(17,27): error TS2339: Property 'options' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(23,10): error TS2339: Property 'on' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(28,10): error TS2339: Property 'off' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/plugin.ts(11,27): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(6,30): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(18,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/font-manager.ts(5,25): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(2,34): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(3,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(8,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(2,30): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(7,8): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(7,8): error TS4031: Public property 'app' of exported class has or is using private name 'Application'. -packages/plugins/@hera/plugin-core/src/server/services/sql-loader.ts(1,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/sql-loader.ts(4,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/system-setting-service.ts(1,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/system-setting-service.ts(2,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(2,60): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(8,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -TypeScript: 43 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-gas-station: plugins/@hera/plugin-gas-station build start -@hera/plugin-gas-station: build plugin client -@hera/plugin-gas-station: build plugin server source -@hera/plugin-gas-station: .code-workspace will not be processed, only be copied to the dist directory. -@hera/plugin-gas-station: delete server files -@hera/plugin-gas-station: build plugin server dependencies -@hera/plugin-gas-station: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-gas-station: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-gas-station: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-gas-station/src/server/collections/books.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-gas-station/src/server/plugin.ts(16,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-mobile: plugins/@hera/plugin-mobile build start -@hera/plugin-mobile: build plugin client -@hera/plugin-mobile: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-mobile. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js (76:14) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -@hera/plugin-mobile: build plugin server source -@hera/plugin-mobile: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-mobile. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@hera/plugin-mobile: delete server files -@hera/plugin-mobile: build plugin server dependencies -@hera/plugin-mobile: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-mobile: write external version -@hera/plugin-mobile: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/NoticeBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/NoticeBlockInitializer.tsx(10,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/SwiperBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/SwiperBlockInitializer.tsx(11,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/TabSearchBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/TabSearchBlockInitializer.tsx(11,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 6 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-oidc: plugins/@hera/plugin-oidc build start -@hera/plugin-oidc: build plugin client -@hera/plugin-oidc: build plugin server source -@hera/plugin-oidc: delete server files -@hera/plugin-oidc: build plugin server dependencies -@hera/plugin-oidc: These packages @nocobase/server, @koa/router will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-oidc: write external version -@hera/plugin-oidc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-oidc/src/server/plugin.ts(2,20): error TS2307: Cannot find module '@koa/router' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-websocket: plugins/@hera/plugin-websocket build start -@hera/plugin-websocket: build plugin client -@hera/plugin-websocket: build plugin server source -@hera/plugin-websocket: delete server files -@hera/plugin-websocket: build plugin server dependencies -@hera/plugin-websocket: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-websocket: write external version -@hera/plugin-websocket: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-acl: plugins/@nocobase/plugin-acl build start -@nocobase/plugin-acl: build plugin client -@nocobase/plugin-acl: build plugin server source -@nocobase/plugin-acl: delete server files -@nocobase/plugin-acl: build plugin server dependencies -@nocobase/plugin-acl: These packages @nocobase/actions, @nocobase/cache, @nocobase/database, @nocobase/server, async-mutex, lodash, @nocobase/acl will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-acl: write external version -@nocobase/plugin-acl: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-acl/src/client/permissions/RolesResourcesActions.tsx(1,38): error TS2307: Cannot find module '@formily/antd-v5' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-acl/src/server/collections/users.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-acl/src/server/server.ts(700,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-action-bulk-edit: plugins/@nocobase/plugin-action-bulk-edit build start -@nocobase/plugin-action-bulk-edit: build plugin client -@nocobase/plugin-action-bulk-edit: build plugin server source -@nocobase/plugin-action-bulk-edit: delete server files -@nocobase/plugin-action-bulk-edit: build plugin server dependencies -@nocobase/plugin-action-bulk-edit: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-bulk-edit: write external version -@nocobase/plugin-action-bulk-edit: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts(2,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx(2,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx(14,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx(17,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-bulk-update: plugins/@nocobase/plugin-action-bulk-update build start -@nocobase/plugin-action-bulk-update: build plugin client -@nocobase/plugin-action-bulk-update: build plugin server source -@nocobase/plugin-action-bulk-update: delete server files -@nocobase/plugin-action-bulk-update: build plugin server dependencies -@nocobase/plugin-action-bulk-update: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-bulk-update: write external version -@nocobase/plugin-action-bulk-update: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx(14,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx(17,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-duplicate: plugins/@nocobase/plugin-action-duplicate build start -@nocobase/plugin-action-duplicate: build plugin client -@nocobase/plugin-action-duplicate: build plugin server source -@nocobase/plugin-action-duplicate: delete server files -@nocobase/plugin-action-duplicate: build plugin server dependencies -@nocobase/plugin-action-duplicate: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-duplicate: write external version -@nocobase/plugin-action-duplicate: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-print: plugins/@nocobase/plugin-action-print build start -@nocobase/plugin-action-print: build plugin client -@nocobase/plugin-action-print: build plugin server source -@nocobase/plugin-action-print: delete server files -@nocobase/plugin-action-print: build plugin server dependencies -@nocobase/plugin-action-print: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-print: write external version -@nocobase/plugin-action-print: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-api-doc: plugins/@nocobase/plugin-api-doc build start -@nocobase/plugin-api-doc: build plugin client -@nocobase/plugin-api-doc: The index.js size 1427.36 KB exceeds 1MB. You can use dynamic import `import()` for lazy loading content. -@nocobase/plugin-api-doc: build plugin server source -@nocobase/plugin-api-doc: delete server files -@nocobase/plugin-api-doc: build plugin server dependencies -@nocobase/plugin-api-doc: These packages @nocobase/client, react-i18next, @nocobase/actions, @nocobase/server, @nocobase/utils, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-api-doc: write external version -Error: Cannot find module '@nocobase/sdk' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-api-doc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-api-doc/src/client/Document.tsx(2,31): error TS2307: Cannot find module '@nocobase/sdk' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/server.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/swagger/loader.ts(1,31): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/swagger/merge.ts(1,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-api-keys: plugins/@nocobase/plugin-api-keys build start -@nocobase/plugin-api-keys: build plugin client -@nocobase/plugin-api-keys: build plugin server source -@nocobase/plugin-api-keys: delete server files -@nocobase/plugin-api-keys: build plugin server dependencies -@nocobase/plugin-api-keys: These packages @nocobase/database, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-api-keys: write external version -@nocobase/plugin-api-keys: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-audit-logs: plugins/@nocobase/plugin-audit-logs build start -@nocobase/plugin-audit-logs: build plugin client -@nocobase/plugin-audit-logs: build plugin server source -@nocobase/plugin-audit-logs: delete server files -@nocobase/plugin-audit-logs: build plugin server dependencies -@nocobase/plugin-audit-logs: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-audit-logs: write external version -@nocobase/plugin-audit-logs: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-audit-logs/src/client/createAuditLogsBlockSchema.tsx(2,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-auth: plugins/@nocobase/plugin-auth build start -@nocobase/plugin-auth: build plugin client -@nocobase/plugin-auth: build plugin server source -@nocobase/plugin-auth: delete server files -@nocobase/plugin-auth: build plugin server dependencies -@nocobase/plugin-auth: These packages cron will be bundled to dist/node_modules. These packages @nocobase/auth, @nocobase/database, @nocobase/cache, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-auth: write external version -Error: Cannot find module '@nocobase/cache' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-auth: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-auth/src/client/AuthProvider.tsx(3,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/basic/SignInForm.tsx(5,46): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/basic/SignUpForm.tsx(8,39): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/index.tsx(2,26): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/pages/AuthLayout.tsx(3,24): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/pages/SignUpPage.tsx(3,43): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/plugin.ts(1,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/storer.ts(2,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/token-blacklist.ts(5,29): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -TypeScript: 9 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-backup-restore: plugins/@nocobase/plugin-backup-restore build start -@nocobase/plugin-backup-restore: build plugin client -@nocobase/plugin-backup-restore: build plugin server source -@nocobase/plugin-backup-restore: delete server files -@nocobase/plugin-backup-restore: build plugin server dependencies -@nocobase/plugin-backup-restore: These packages archiver, mkdirp, decompress, @hapi/topo, semver will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/database, dayjs, lodash, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-backup-restore: write external version -@nocobase/plugin-backup-restore: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(14,15): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(14,15): error TS4031: Public property 'app' of exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(20,20): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(20,20): error TS4063: Parameter 'app' of constructor from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/commands/restore-command.ts(5,48): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/commands/restore-command.ts(5,48): error TS4078: Parameter 'app' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/dumper.ts(6,49): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/dumper.ts(155,89): error TS2339: Property 'map' does not exist on type 'unknown'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/field-value-writer.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(9,39): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(11,23): error TS2307: Cannot find module '@hapi/topo' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(26,10): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(26,10): error TS4063: Parameter 'app' of constructor from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/utils.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 10 semantic errors -TypeScript: 12 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-calendar: plugins/@nocobase/plugin-calendar build start -@nocobase/plugin-calendar: build plugin client -@nocobase/plugin-calendar: build plugin server source -@nocobase/plugin-calendar: delete server files -@nocobase/plugin-calendar: build plugin server dependencies -@nocobase/plugin-calendar: These packages @nocobase/client, react-i18next, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-calendar: write external version -Error: Cannot find module '@nocobase/test' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-calendar: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-cas: plugins/@nocobase/plugin-cas build start -@nocobase/plugin-cas: build plugin client -@nocobase/plugin-cas: build plugin server source -@nocobase/plugin-cas: delete server files -@nocobase/plugin-cas: build plugin server dependencies -@nocobase/plugin-cas: These packages @nocobase/auth, @nocobase/plugin-auth, axios, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-cas: write external version -Error: Cannot find module '@nocobase/auth' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-cas: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-cas/src/server/actions/service.ts(23,34): error TS2339: Property 'signIn' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(1,38): error TS2307: Cannot find module '@nocobase/auth' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(19,23): error TS2339: Property 'options' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(33,77): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(36,10): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(49,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../plugin-auth/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(50,22): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(63,32): error TS2339: Property 'authenticator' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(69,23): error TS2339: Property 'userRepository' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(73,18): error TS2339: Property 'authenticator' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(84,15): error TS2339: Property 'validateUsername' does not exist on type 'CASAuth'. -TypeScript: 10 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-charts: plugins/@nocobase/plugin-charts build start -@nocobase/plugin-charts: build plugin client -@nocobase/plugin-charts: build plugin server source -@nocobase/plugin-charts: delete server files -@nocobase/plugin-charts: build plugin server dependencies -@nocobase/plugin-charts: These packages json5 will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-charts: write external version -@nocobase/plugin-charts: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-china-region: plugins/@nocobase/plugin-china-region build start -@nocobase/plugin-china-region: build plugin client -@nocobase/plugin-china-region: build plugin server source -@nocobase/plugin-china-region: delete server files -@nocobase/plugin-china-region: build plugin server dependencies -@nocobase/plugin-china-region: These packages @nocobase/server, china-division, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-china-region: write external version -@nocobase/plugin-china-region: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-china-region: afterBuild -@nocobase/plugin-china-region: coping areas.json -@nocobase/plugin-china-region: coping cities.json -@nocobase/plugin-china-region: coping provinces.json -@nocobase/plugin-client: plugins/@nocobase/plugin-client build start -@nocobase/plugin-client: build plugin client -@nocobase/plugin-client: build plugin server source -@nocobase/plugin-client: delete server files -@nocobase/plugin-client: build plugin server dependencies -@nocobase/plugin-client: These packages cronstrue will be bundled to dist/node_modules. These packages @nocobase/utils, @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-client: write external version -@nocobase/plugin-client: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-client/src/server/server.ts(26,23): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-client: afterBuild -@nocobase/plugin-client: coping client locale -@nocobase/plugin-client: coping antd locale -@nocobase/plugin-client: skip context.js -@nocobase/plugin-custom-request: plugins/@nocobase/plugin-custom-request build start -@nocobase/plugin-custom-request: build plugin client -@nocobase/plugin-custom-request: build plugin server source -@nocobase/plugin-custom-request: delete server files -@nocobase/plugin-custom-request: build plugin server dependencies -@nocobase/plugin-custom-request: These packages @nocobase/logger, @nocobase/server, @nocobase/actions, @nocobase/utils, @nocobase/evaluators, axios, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-custom-request: write external version -Error: Cannot find module '@nocobase/logger' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/evaluators' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-custom-request: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-custom-request/src/client/hooks/useCustomizeRequestActionProps.ts(12,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/client/hooks/useCustomRequestsResource.ts(3,14): error TS2742: The inferred type of 'useCustomRequestsResource' cannot be named without a reference to '../../../../../../core/client/node_modules/@nocobase/sdk/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/listByCurrentRole.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(2,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(4,35): error TS2307: Cannot find module '@nocobase/evaluators' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/collections/customRequest.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/collections/customRequestsRoles.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/plugin.ts(1,39): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -TypeScript: 8 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-data-source-manager: plugins/@nocobase/plugin-data-source-manager build start -@nocobase/plugin-data-source-manager: build plugin client -@nocobase/plugin-data-source-manager: build plugin server source -@nocobase/plugin-data-source-manager: delete server files -@nocobase/plugin-data-source-manager: build plugin server dependencies -@nocobase/plugin-data-source-manager: These packages @nocobase/server, lodash, @nocobase/database, @nocobase/utils, @nocobase/plugin-acl, @nocobase/acl, sequelize will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-data-source-manager: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/acl' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-data-source-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/BreadcumbTitle.tsx(5,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx(9,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx(6,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/index.tsx(4,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx(6,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx(25,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx(9,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/hooks.ts(3,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/ViewDatabaseConnectionAction.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-collections.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-fields.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources-actions.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources-scopes.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/migrations/20240301164024-migrate-acl-resources.ts(2,21): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(1,36): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(5,45): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(48,17): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(51,37): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(51,37): error TS4073: Parameter 'options' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(66,29): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(75,45): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(75,45): error TS4073: Parameter 'options' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(78,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(88,23): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(89,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(93,18): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(98,69): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(139,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(141,42): error TS2339: Property 'db' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(147,37): error TS2339: Property 'db' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(1,37): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(5,28): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(5,28): error TS4073: Parameter 'loadOptions' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(8,36): error TS2339: Property 'get' does not exist on type 'DataSourcesCollectionModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(9,33): error TS2339: Property 'get' does not exist on type 'DataSourcesCollectionModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(1,37): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(6,8): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(6,8): error TS4033: Property 'app' of exported interface has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(13,26): error TS2339: Property 'get' does not exist on type 'DataSourcesFieldModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(26,26): error TS2339: Property 'get' does not exist on type 'DataSourcesFieldModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(1,23): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(2,21): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(3,29): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(9,27): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(19,17): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(22,73): error TS2339: Property 'db' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(27,31): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(71,35): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(75,17): error TS2339: Property 'changed' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(76,41): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(77,28): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(90,17): error TS2339: Property 'changed' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(105,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(329,59): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(332,43): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(397,75): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/collection-manager.ts(1,26): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/database-introspector.ts(1,46): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/database-introspector.ts(2,36): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/full-data-repository.ts(1,43): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -TypeScript: 59 semantic errors -TypeScript: 12 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-data-visualization: plugins/@nocobase/plugin-data-visualization build start -@nocobase/plugin-data-visualization: build plugin client -@nocobase/plugin-data-visualization: The index.js size 1277.20 KB exceeds 1MB. You can use dynamic import `import()` for lazy loading content. -@nocobase/plugin-data-visualization: build plugin server source -@nocobase/plugin-data-visualization: delete server files -@nocobase/plugin-data-visualization: build plugin server dependencies -@nocobase/plugin-data-visualization: These packages koa-compose will be bundled to dist/node_modules. These packages @nocobase/cache, @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-data-visualization: write external version -@nocobase/plugin-data-visualization: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-disable-pm-add: plugins/@nocobase/plugin-disable-pm-add build start -@nocobase/plugin-disable-pm-add: build plugin client -@nocobase/plugin-disable-pm-add: build plugin server source -@nocobase/plugin-disable-pm-add: delete server files -@nocobase/plugin-disable-pm-add: build plugin server dependencies -@nocobase/plugin-disable-pm-add: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-disable-pm-add: write external version -@nocobase/plugin-disable-pm-add: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-error-handler: plugins/@nocobase/plugin-error-handler build start -@nocobase/plugin-error-handler: build plugin client -@nocobase/plugin-error-handler: build plugin server source -@nocobase/plugin-error-handler: delete server files -@nocobase/plugin-error-handler: build plugin server dependencies -@nocobase/plugin-error-handler: These packages @formily/json-schema, @nocobase/database, @nocobase/server, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-error-handler: write external version -@nocobase/plugin-error-handler: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-error-handler/src/server/server.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-collection-manager: plugins/@nocobase/plugin-collection-manager build start -@nocobase/plugin-collection-manager: build plugin client -@nocobase/plugin-collection-manager: build plugin server source -@nocobase/plugin-collection-manager: delete server files -@nocobase/plugin-collection-manager: build plugin server dependencies -@nocobase/plugin-collection-manager: These packages @nocobase/database, @nocobase/plugin-error-handler, @nocobase/server, async-mutex, lodash, @nocobase/utils, sequelize, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-collection-manager: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-collection-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-collection-manager/src/server/hooks/beforeInitOptions.ts(3,23): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230704222935-tableoid.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(3,48): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(69,44): error TS2322: Type 'boolean | string[]' is not assignable to type 'string[]'. - Type 'boolean' is not assignable to type 'string[]'. -packages/plugins/@nocobase/plugin-collection-manager/src/server/repositories/collection-repository.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/repositories/collection-repository.ts(13,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-collection-manager/src/server/resourcers/sql.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(238,13): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(263,5): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(265,32): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 12 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-rental: plugins/@hera/plugin-rental build start -@hera/plugin-rental: build plugin client -@hera/plugin-rental: build plugin server source -@hera/plugin-rental: .sql will not be processed, only be copied to the dist directory. -@hera/plugin-rental: delete server files -@hera/plugin-rental: build plugin server dependencies -@hera/plugin-rental: These packages qrcode will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @hera/plugin-core, @nocobase/plugin-collection-manager, @nocobase/database, dayjs, @nocobase/actions, sequelize, lodash, react will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-rental: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-rental: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-rental/src/server/actions/contracts-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/contracts-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(2,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(5,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(8,42): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(3,48): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(6,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(4,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(5,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/inventory-orders.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/transfer-orders.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/undetermined-projects.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/records-documentV2.tsx(6,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/settlements-document.tsx(247,19): error TS2322: Type '{ fontSize: string; flexDirection: string; }' is not assignable to type 'CSSProperties'. - Types of property 'flexDirection' are incompatible. - Type 'string' is not assignable to type 'FlexDirection'. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/settlements-document.tsx(256,19): error TS2322: Type '{ fontSize: string; flexDirection: string; }' is not assignable to type 'CSSProperties'. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(7,27): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(12,28): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(31,18): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(33,28): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(43,28): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/services/contract-rule-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-rule-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/detail-check-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/detail-check-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/project-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/project-service.ts(3,37): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-pdf-service.ts(3,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-pdf-service.ts(6,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts(1,75): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/settlement-service.ts(1,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/settlement-service.ts(2,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/vehicles-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/vehicles-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 39 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-excel-formula-field: plugins/@nocobase/plugin-excel-formula-field build start -@nocobase/plugin-excel-formula-field: build plugin client -@nocobase/plugin-excel-formula-field: build plugin server source -@nocobase/plugin-excel-formula-field: delete server files -@nocobase/plugin-excel-formula-field: build plugin server dependencies -@nocobase/plugin-excel-formula-field: These packages @nocobase/database, @nocobase/server, @formulajs/formulajs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-excel-formula-field: write external version -@nocobase/plugin-excel-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-export: plugins/@nocobase/plugin-export build start -@nocobase/plugin-export: build plugin client -@nocobase/plugin-export: build plugin server source -@nocobase/plugin-export: delete server files -@nocobase/plugin-export: build plugin server dependencies -@nocobase/plugin-export: These packages node-xlsx will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-export: write external version -@nocobase/plugin-export: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-file-manager: plugins/@nocobase/plugin-file-manager build start -@nocobase/plugin-file-manager: build plugin client -@nocobase/plugin-file-manager: build plugin server source -@nocobase/plugin-file-manager: delete server files -@nocobase/plugin-file-manager: build plugin server dependencies -@nocobase/plugin-file-manager: These packages mime-match, multer-aliyun-oss, mkdirp, @aws-sdk/client-s3, multer-s3, multer-cos will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/actions, @nocobase/utils, multer will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-file-manager: write external version -@nocobase/plugin-file-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-file-manager/src/server/storages/index.ts(29,20): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-file-manager/src/server/storages/index.ts(29,20): error TS4075: Parameter 'app' of method from exported interface has or is using private name 'Application'. -TypeScript: 1 semantic error -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-formula-field: plugins/@nocobase/plugin-formula-field build start -@nocobase/plugin-formula-field: build plugin client -@nocobase/plugin-formula-field: build plugin server source -@nocobase/plugin-formula-field: delete server files -@nocobase/plugin-formula-field: build plugin server dependencies -@nocobase/plugin-formula-field: These packages @nocobase/database, @nocobase/evaluators, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-formula-field: write external version -@nocobase/plugin-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-gantt: plugins/@nocobase/plugin-gantt build start -@nocobase/plugin-gantt: build plugin client -@nocobase/plugin-gantt: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-style, @formily/react, @ant-design/icons, @formily/antd-v5, react-i18next, @emotion/css, @ctrl/tinycolor, antd, lodash, @formily/shared. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-gantt: build plugin server source -@nocobase/plugin-gantt: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-style, @formily/react, @ant-design/icons, @formily/antd-v5, react-i18next, @emotion/css, @ctrl/tinycolor, antd, lodash, @formily/shared. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-gantt: delete server files -@nocobase/plugin-gantt: build plugin server dependencies -@nocobase/plugin-gantt: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-gantt: write external version -@nocobase/plugin-gantt: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-gantt/src/client/components/grid/grid-body.tsx(2,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-graph-collection-manager: plugins/@nocobase/plugin-graph-collection-manager build start -@nocobase/plugin-graph-collection-manager: build plugin client -@nocobase/plugin-graph-collection-manager: build plugin server source -@nocobase/plugin-graph-collection-manager: delete server files -@nocobase/plugin-graph-collection-manager: build plugin server dependencies -@nocobase/plugin-graph-collection-manager: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-graph-collection-manager: write external version -@nocobase/plugin-graph-collection-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/SelectCollectionsAction.tsx(4,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/GraphDrawPage.tsx(33,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -TypeScript: 2 semantic errors -TypeScript: 18 declaration errors -TypeScript: -13 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-iframe-block: plugins/@nocobase/plugin-iframe-block build start -@nocobase/plugin-iframe-block: build plugin client -@nocobase/plugin-iframe-block: build plugin server source -@nocobase/plugin-iframe-block: delete server files -@nocobase/plugin-iframe-block: build plugin server dependencies -@nocobase/plugin-iframe-block: These packages @nocobase/server, @nocobase/actions, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-iframe-block: write external version -@nocobase/plugin-iframe-block: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-import: plugins/@nocobase/plugin-import build start -@nocobase/plugin-import: build plugin client -@nocobase/plugin-import: build plugin server source -@nocobase/plugin-import: delete server files -@nocobase/plugin-import: build plugin server dependencies -@nocobase/plugin-import: These packages node-xlsx, xlsx will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils, lodash, mathjs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-import: write external version -@nocobase/plugin-import: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-kanban: plugins/@nocobase/plugin-kanban build start -@nocobase/plugin-kanban: build plugin client -@nocobase/plugin-kanban: build plugin server source -@nocobase/plugin-kanban: delete server files -@nocobase/plugin-kanban: build plugin server dependencies -@nocobase/plugin-kanban: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-kanban: write external version -@nocobase/plugin-kanban: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.tsx(1,28): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockProvider.tsx(1,28): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-logger: plugins/@nocobase/plugin-logger build start -@nocobase/plugin-logger: build plugin client -@nocobase/plugin-logger: build plugin server source -@nocobase/plugin-logger: delete server files -@nocobase/plugin-logger: build plugin server dependencies -@nocobase/plugin-logger: These packages tar-fs will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/logger will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-logger: write external version -Error: Cannot find module '@nocobase/logger' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-logger: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-logger/src/server/resourcer/logger.ts(2,35): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-map: plugins/@nocobase/plugin-map build start -@nocobase/plugin-map: build plugin client -@nocobase/plugin-map: build plugin server source -@nocobase/plugin-map: delete server files -@nocobase/plugin-map: build plugin server dependencies -@nocobase/plugin-map: These packages @nocobase/server, @nocobase/actions, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-map: write external version -@nocobase/plugin-map: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-math-formula-field: plugins/@nocobase/plugin-math-formula-field build start -@nocobase/plugin-math-formula-field: build plugin client -@nocobase/plugin-math-formula-field: build plugin server source -@nocobase/plugin-math-formula-field: delete server files -@nocobase/plugin-math-formula-field: build plugin server dependencies -@nocobase/plugin-math-formula-field: These packages @nocobase/database, mathjs, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-math-formula-field: write external version -@nocobase/plugin-math-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-mobile-client: plugins/@nocobase/plugin-mobile-client build start -@nocobase/plugin-mobile-client: build plugin client -node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js (76:14) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -@nocobase/plugin-mobile-client: build plugin server source -@nocobase/plugin-mobile-client: delete server files -@nocobase/plugin-mobile-client: build plugin server dependencies -@nocobase/plugin-mobile-client: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-mobile-client: write external version -@nocobase/plugin-mobile-client: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/container/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/container/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/menu/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/menu/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/page/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/page/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts(18,23): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 17 declaration errors -TypeScript: -8 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-mock-collections: plugins/@nocobase/plugin-mock-collections build start -@nocobase/plugin-mock-collections: build plugin client -@nocobase/plugin-mock-collections: build plugin server source -@nocobase/plugin-mock-collections: .sql will not be processed, only be copied to the dist directory. -@nocobase/plugin-mock-collections: delete server files -@nocobase/plugin-mock-collections: build plugin server dependencies -@nocobase/plugin-mock-collections: These packages @faker-js/faker will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/plugin-collection-manager, @nocobase/server, @nocobase/utils, lodash, pg will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-mock-collections: write external version -@nocobase/plugin-mock-collections: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/association.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/attachment.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/attachment.ts(3,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkbox.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkboxGroup.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkboxGroup.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/color.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/datetime.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/email.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/input.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/integer.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/markdown.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/multipleSelect.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/multipleSelect.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/number.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/percent.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/radioGroup.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/radioGroup.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/richText.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/select.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/select.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/textarea.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/time.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/index.ts(5,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 24 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-multi-app-manager: plugins/@nocobase/plugin-multi-app-manager build start -@nocobase/plugin-multi-app-manager: build plugin client -@nocobase/plugin-multi-app-manager: build plugin server source -@nocobase/plugin-multi-app-manager: delete server files -@nocobase/plugin-multi-app-manager: build plugin server dependencies -@nocobase/plugin-multi-app-manager: These packages mariadb will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, lodash, mysql2, pg, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-multi-app-manager: write external version -@nocobase/plugin-multi-app-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,3): error TS2742: The inferred type of 'registerToSupervisor' cannot be named without a reference to '../../../../../../core/logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,33): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,33): error TS4073: Parameter 'mainApp' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(7,34): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(7,34): error TS4078: Parameter 'app' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(8,60): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(8,60): error TS4078: Parameter 'mainApp' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(9,46): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(9,46): error TS4078: Parameter 'mainApp' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(11,74): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(56,38): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(97,61): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(127,33): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(127,33): error TS4070: Parameter 'app' of public static method from exported class has or is using private name 'Application'. -TypeScript: 9 semantic errors -TypeScript: 14 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-notifications: plugins/@nocobase/plugin-notifications build start -@nocobase/plugin-notifications: build plugin client -@nocobase/plugin-notifications: build plugin server source -@nocobase/plugin-notifications: delete server files -@nocobase/plugin-notifications: build plugin server dependencies -@nocobase/plugin-notifications: These packages nodemailer will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/database, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-notifications: write external version -@nocobase/plugin-notifications: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-notifications/src/server/models/Notification.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-oidc: plugins/@nocobase/plugin-oidc build start -@nocobase/plugin-oidc: build plugin client -@nocobase/plugin-oidc: build plugin server source -@nocobase/plugin-oidc: delete server files -@nocobase/plugin-oidc: build plugin server dependencies -@nocobase/plugin-oidc: These packages openid-client, nanoid will be bundled to dist/node_modules. These packages @nocobase/auth, @nocobase/plugin-auth, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-oidc: write external version -@nocobase/plugin-oidc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-oidc/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-oidc/src/client/OIDCButton.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-oidc/src/client/OIDCButton.tsx(7,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-oidc/src/server/oidc-auth.ts(67,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../../../core/actions/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-oidc/src/server/oidc-auth.ts(99,27): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-saml: plugins/@nocobase/plugin-saml build start -@nocobase/plugin-saml: build plugin client -@nocobase/plugin-saml: build plugin server source -@nocobase/plugin-saml: delete server files -@nocobase/plugin-saml: build plugin server dependencies -@nocobase/plugin-saml: These packages @node-saml/node-saml will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/auth, @nocobase/plugin-auth, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-saml: write external version -@nocobase/plugin-saml: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-saml/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-saml/src/client/SAMLButton.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-saml/src/client/SAMLButton.tsx(7,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-saml/src/server/saml-auth.ts(36,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../../../core/actions/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-saml/src/server/saml-auth.ts(54,27): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-sample-hello: plugins/@nocobase/plugin-sample-hello build start -@nocobase/plugin-sample-hello: build plugin client -@nocobase/plugin-sample-hello: build plugin server source -@nocobase/plugin-sample-hello: delete server files -@nocobase/plugin-sample-hello: build plugin server dependencies -@nocobase/plugin-sample-hello: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sample-hello: write external version -@nocobase/plugin-sample-hello: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-sequence-field: plugins/@nocobase/plugin-sequence-field build start -@nocobase/plugin-sequence-field: build plugin client -@nocobase/plugin-sequence-field: build plugin server source -@nocobase/plugin-sequence-field: delete server files -@nocobase/plugin-sequence-field: build plugin server dependencies -@nocobase/plugin-sequence-field: These packages cron-parser will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/database, dayjs, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sequence-field: write external version -@nocobase/plugin-sequence-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-sequence-field/src/server/fields/sequence-field.ts(13,19): error TS2307: Cannot find module 'dayjs' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-sequence-field/src/server/fields/sequence-field.ts(14,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-snapshot-field: plugins/@nocobase/plugin-snapshot-field build start -@nocobase/plugin-snapshot-field: build plugin client -@nocobase/plugin-snapshot-field: build plugin server source -@nocobase/plugin-snapshot-field: delete server files -@nocobase/plugin-snapshot-field: build plugin server dependencies -@nocobase/plugin-snapshot-field: These packages @nocobase/database, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-snapshot-field: write external version -@nocobase/plugin-snapshot-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-system-settings: plugins/@nocobase/plugin-system-settings build start -@nocobase/plugin-system-settings: build plugin client -@nocobase/plugin-system-settings: build plugin server source -@nocobase/plugin-system-settings: delete server files -@nocobase/plugin-system-settings: build plugin server dependencies -@nocobase/plugin-system-settings: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-system-settings: write external version -@nocobase/plugin-system-settings: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-theme-editor: plugins/@nocobase/plugin-theme-editor build start -@nocobase/plugin-theme-editor: build plugin client -@nocobase/plugin-theme-editor: build plugin server source -@nocobase/plugin-theme-editor: delete server files -@nocobase/plugin-theme-editor: build plugin server dependencies -@nocobase/plugin-theme-editor: These packages @nocobase/client, react, @nocobase/server, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-theme-editor: write external version -@nocobase/plugin-theme-editor: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(12,42): error TS2538: Type 'MappingAlgorithm' cannot be used as an index type. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(12,42): error TS2538: Type 'MappingAlgorithm[]' cannot be used as an index type. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(17,22): error TS2538: Type 'MappingAlgorithm' cannot be used as an index type. -TypeScript: 3 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-ui-routes-storage: plugins/@nocobase/plugin-ui-routes-storage build start -@nocobase/plugin-ui-routes-storage: build plugin client -@nocobase/plugin-ui-routes-storage: build plugin server source -@nocobase/plugin-ui-routes-storage: delete server files -@nocobase/plugin-ui-routes-storage: build plugin server dependencies -@nocobase/plugin-ui-routes-storage: These packages flat-to-nested will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-ui-routes-storage: write external version -@nocobase/plugin-ui-routes-storage: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-users: plugins/@nocobase/plugin-users build start -@nocobase/plugin-users: build plugin client -@nocobase/plugin-users: build plugin server source -@nocobase/plugin-users: delete server files -@nocobase/plugin-users: build plugin server dependencies -@nocobase/plugin-users: These packages @nocobase/database, @nocobase/server, @nocobase/utils, @nocobase/cache, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-users: write external version -Error: Cannot find module '@nocobase/cache' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-users: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-users/src/client/PasswordField.tsx(5,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/client/UserRolesField.tsx(3,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/server/server.ts(7,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/server/server.ts(181,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-multi-app-share-collection: plugins/@nocobase/plugin-multi-app-share-collection build start -@nocobase/plugin-multi-app-share-collection: build plugin client -@nocobase/plugin-multi-app-share-collection: build plugin server source -@nocobase/plugin-multi-app-share-collection: delete server files -@nocobase/plugin-multi-app-share-collection: build plugin server dependencies -@nocobase/plugin-multi-app-share-collection: These packages @nocobase/database, @nocobase/plugin-multi-app-manager, @nocobase/server, lodash, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-multi-app-share-collection: write external version -@nocobase/plugin-multi-app-share-collection: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/collections/applications.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/collections/collections.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(133,26): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(231,29): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(257,61): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -TypeScript: 4 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-ui-schema-storage: plugins/@nocobase/plugin-ui-schema-storage build start -@nocobase/plugin-ui-schema-storage: build plugin client -@nocobase/plugin-ui-schema-storage: build plugin server source -@nocobase/plugin-ui-schema-storage: delete server files -@nocobase/plugin-ui-schema-storage: build plugin server dependencies -@nocobase/plugin-ui-schema-storage: These packages @nocobase/database, @nocobase/cache, @nocobase/utils, lodash, @nocobase/server, @nocobase/actions, @nocobase/resourcer, @formily/json-schema will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-ui-schema-storage: write external version -@nocobase/plugin-ui-schema-storage: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/actions/ui-schema-action.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/repository.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-localization-management: plugins/@nocobase/plugin-localization-management build start -@nocobase/plugin-localization-management: build plugin client -@nocobase/plugin-localization-management: build plugin server source -@nocobase/plugin-localization-management: delete server files -@nocobase/plugin-localization-management: build plugin server dependencies -@nocobase/plugin-localization-management: These packages deepmerge will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/plugin-ui-schema-storage, @nocobase/server, @nocobase/cache, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-localization-management: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-localization-management: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-localization-management/src/server/actions/localization.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-localization-management/src/server/actions/localizationTexts.ts(1,63): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-localization-management/src/server/plugin.ts(16,45): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-localization-management/src/server/plugin.ts(144,35): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-verification: plugins/@nocobase/plugin-verification build start -@nocobase/plugin-verification: build plugin client -@nocobase/plugin-verification: build plugin server source -@nocobase/plugin-verification: delete server files -@nocobase/plugin-verification: build plugin server dependencies -@nocobase/plugin-verification: These packages @alicloud/dysmsapi20170525, @alicloud/openapi-client, @alicloud/tea-util, tencentcloud-sdk-nodejs will be bundled to dist/node_modules. These packages @nocobase/actions, @nocobase/database, @nocobase/resourcer, @nocobase/server, @nocobase/utils, dayjs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-verification: write external version -@nocobase/plugin-verification: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-verification/src/server/actions/verifications.ts(3,19): error TS2307: Cannot find module 'dayjs' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-sms-auth: plugins/@nocobase/plugin-sms-auth build start -@nocobase/plugin-sms-auth: build plugin client -@nocobase/plugin-sms-auth: build plugin server source -@nocobase/plugin-sms-auth: delete server files -@nocobase/plugin-sms-auth: build plugin server dependencies -@nocobase/plugin-sms-auth: These packages @nocobase/plugin-verification, @nocobase/server, @nocobase/auth, @nocobase/database, @nocobase/plugin-auth will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sms-auth: write external version -@nocobase/plugin-sms-auth: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-sms-auth/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-sms-auth/src/client/SigninPage.tsx(5,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-sms-auth/src/client/SigninPage.tsx(5,25): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'useSignIn'. Did you mean to use 'import useSignIn from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-sms-auth/src/server/sms-auth.ts(42,31): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-test: plugins/@nocobase/plugin-workflow-test build start -@nocobase/plugin-workflow-test: build plugin client -@nocobase/plugin-workflow-test: build plugin server source -@nocobase/plugin-workflow-test: delete server files -@nocobase/plugin-workflow-test: build plugin server dependencies -@nocobase/plugin-workflow-test: These packages @nocobase/utils, lodash, @nocobase/test, @nocobase/server, @nocobase/resourcer, @nocobase/data-source-manager, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-test: write external version -Error: Cannot find module '@nocobase/client' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/resourcer' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-test/src/client/index.ts(1,24): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/e2e/e2eCollectionModel.ts(1,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/e2e/e2eCollectionModel.ts(2,27): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(3,10): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(9,27): error TS2307: Cannot find module '@nocobase/resourcer' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(10,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(11,21): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(31,11): error TS2339: Property 'plugins' does not exist on type 'MockServerOptions'. -packages/plugins/@nocobase/plugin-workflow-test/src/server/instructions.ts(1,24): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 9 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow: plugins/@nocobase/plugin-workflow build start -@nocobase/plugin-workflow: build plugin client -@nocobase/plugin-workflow: The build tool will package all dependencies into the dist directory, so you don't need to put them in @nocobase/plugin-workflow-test. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-workflow: build plugin server source -@nocobase/plugin-workflow: The build tool will package all dependencies into the dist directory, so you don't need to put them in @nocobase/plugin-workflow-test. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-workflow: delete server files -@nocobase/plugin-workflow: build plugin server dependencies -@nocobase/plugin-workflow: These packages lru-cache, cron-parser will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/utils, @nocobase/logger, @nocobase/evaluators, @nocobase/actions, lodash, @nocobase/data-source-manager, sequelize will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow: write external version -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/CreateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/DestroyInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/QueryInstruction.ts(2,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/UpdateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(124,48): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Plugin'. - Type 'PluginWorkflowServer' is missing the following properties from type 'Plugin': description, filename, length, item, and 2 more. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(134,56): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Plugin'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(143,40): error TS2345: Argument of type 'typeof CollectionTrigger' is not assignable to parameter of type 'CollectionTrigger | (new (p: Plugin) => CollectionTrigger)'. - Type 'typeof CollectionTrigger' is not assignable to type 'new (p: Plugin) => CollectionTrigger'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CollectionTrigger' is not assignable to type 'new (p: Plugin) => CollectionTrigger'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is missing the following properties from type 'PluginWorkflowServer': instructions, triggers, functions, enabledCache, and 58 more. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(144,38): error TS2345: Argument of type 'typeof ScheduleTrigger' is not assignable to parameter of type 'ScheduleTrigger | (new (p: Plugin) => ScheduleTrigger)'. - Type 'typeof ScheduleTrigger' is not assignable to type 'new (p: Plugin) => ScheduleTrigger'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => ScheduleTrigger' is not assignable to type 'new (p: Plugin) => ScheduleTrigger'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(152,45): error TS2345: Argument of type 'typeof CalculationInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof CalculationInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CalculationInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(153,43): error TS2345: Argument of type 'typeof ConditionInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof ConditionInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => ConditionInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(154,37): error TS2345: Argument of type 'typeof default' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(155,40): error TS2345: Argument of type 'typeof CreateInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof CreateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CreateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(156,41): error TS2345: Argument of type 'typeof DestroyInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof DestroyInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => DestroyInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(157,39): error TS2345: Argument of type 'typeof QueryInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof QueryInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => QueryInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(158,40): error TS2345: Argument of type 'typeof UpdateInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof UpdateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => UpdateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/triggers/CollectionTrigger.ts(5,50): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.ts(6,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -TypeScript: 17 semantic errors -TypeScript: 28 declaration errors -TypeScript: -23 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-workflow-action-trigger: plugins/@nocobase/plugin-workflow-action-trigger build start -@nocobase/plugin-workflow-action-trigger: build plugin client -@nocobase/plugin-workflow-action-trigger: build plugin server source -@nocobase/plugin-workflow-action-trigger: delete server files -@nocobase/plugin-workflow-action-trigger: build plugin server dependencies -@nocobase/plugin-workflow-action-trigger: These packages react-i18next, lodash, sequelize, @nocobase/database, @nocobase/server, @nocobase/actions, @nocobase/plugin-workflow, @nocobase/data-source-manager will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-action-trigger: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-action-trigger: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(1,21): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(2,35): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(4,23): error TS2614: Module '"@nocobase/server"' has no exported member 'DefaultContext'. Did you mean to use 'import DefaultContext from "@nocobase/server"' instead? -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(5,48): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(8,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(20,42): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(23,22): error TS2339: Property 'throw' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(26,13): error TS2339: Property 'status' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(37,17): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(57,55): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(58,38): error TS2339: Property 'get' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(60,50): error TS2339: Property 'state' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(86,19): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(87,22): error TS2339: Property 'body' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(93,17): error TS2339: Property 'body' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(123,41): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(123,61): error TS2339: Property 'app' does not exist on type 'Context'. -TypeScript: 17 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-aggregate: plugins/@nocobase/plugin-workflow-aggregate build start -@nocobase/plugin-workflow-aggregate: build plugin client -@nocobase/plugin-workflow-aggregate: build plugin server source -@nocobase/plugin-workflow-aggregate: delete server files -@nocobase/plugin-workflow-aggregate: build plugin server dependencies -@nocobase/plugin-workflow-aggregate: These packages react-i18next, @nocobase/data-source-manager, @nocobase/database, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-aggregate: write external version -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-aggregate: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-aggregate/src/server/AggregateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-aggregate/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-delay: plugins/@nocobase/plugin-workflow-delay build start -@nocobase/plugin-workflow-delay: build plugin client -@nocobase/plugin-workflow-delay: build plugin server source -@nocobase/plugin-workflow-delay: delete server files -@nocobase/plugin-workflow-delay: build plugin server dependencies -@nocobase/plugin-workflow-delay: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-delay: write external version -@nocobase/plugin-workflow-delay: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-delay/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-dynamic-calculation: plugins/@nocobase/plugin-workflow-dynamic-calculation build start -@nocobase/plugin-workflow-dynamic-calculation: build plugin client -@nocobase/plugin-workflow-dynamic-calculation: build plugin server source -@nocobase/plugin-workflow-dynamic-calculation: delete server files -@nocobase/plugin-workflow-dynamic-calculation: build plugin server dependencies -@nocobase/plugin-workflow-dynamic-calculation: These packages react-i18next, @nocobase/utils, @nocobase/plugin-workflow, @nocobase/evaluators, @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-dynamic-calculation: write external version -@nocobase/plugin-workflow-dynamic-calculation: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/server/Plugin.ts(13,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-loop: plugins/@nocobase/plugin-workflow-loop build start -@nocobase/plugin-workflow-loop: build plugin client -@nocobase/plugin-workflow-loop: build plugin server source -@nocobase/plugin-workflow-loop: delete server files -@nocobase/plugin-workflow-loop: build plugin server dependencies -@nocobase/plugin-workflow-loop: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-loop: write external version -@nocobase/plugin-workflow-loop: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-loop/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-manual: plugins/@nocobase/plugin-workflow-manual build start -@nocobase/plugin-workflow-manual: build plugin client -@nocobase/plugin-workflow-manual: build plugin server source -@nocobase/plugin-workflow-manual: delete server files -@nocobase/plugin-workflow-manual: build plugin server dependencies -@nocobase/plugin-workflow-manual: These packages react-i18next, @nocobase/utils, @nocobase/plugin-workflow, @nocobase/server, @nocobase/actions, @nocobase/resourcer, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-manual: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/resourcer' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-manual: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/actions.ts(1,32): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/collections/2-jobs.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/collections/3-users.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(2,21): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(3,29): error TS2307: Cannot find module '@nocobase/resourcer' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(41,50): error TS2345: Argument of type 'typeof default' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is missing the following properties from type 'PluginWorkflowServer': instructions, triggers, functions, enabledCache, and 58 more. -TypeScript: 4 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-workflow-parallel: plugins/@nocobase/plugin-workflow-parallel build start -@nocobase/plugin-workflow-parallel: build plugin client -@nocobase/plugin-workflow-parallel: build plugin server source -@nocobase/plugin-workflow-parallel: delete server files -@nocobase/plugin-workflow-parallel: build plugin server dependencies -@nocobase/plugin-workflow-parallel: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-parallel: write external version -@nocobase/plugin-workflow-parallel: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-parallel/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-request: plugins/@nocobase/plugin-workflow-request build start -@nocobase/plugin-workflow-request: build plugin client -@nocobase/plugin-workflow-request: build plugin server source -@nocobase/plugin-workflow-request: delete server files -@nocobase/plugin-workflow-request: build plugin server dependencies -@nocobase/plugin-workflow-request: These packages react-i18next, @nocobase/server, @nocobase/plugin-workflow, axios will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-request: write external version -@nocobase/plugin-workflow-request: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-request/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-sql: plugins/@nocobase/plugin-workflow-sql build start -@nocobase/plugin-workflow-sql: build plugin client -@nocobase/plugin-workflow-sql: build plugin server source -@nocobase/plugin-workflow-sql: delete server files -@nocobase/plugin-workflow-sql: build plugin server dependencies -@nocobase/plugin-workflow-sql: These packages react-i18next, @nocobase/server, @nocobase/plugin-workflow will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-sql: write external version -@nocobase/plugin-workflow-sql: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-sql/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/preset-nocobase: presets/nocobase build start -@nocobase/preset-nocobase: build cjs -@nocobase/preset-nocobase: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/presets/nocobase/src/client/index.ts(1,60): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/presets/nocobase/src/client/index.ts(18,10): error TS2339: Property 'router' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(19,10): error TS2339: Property 'router' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(19,46): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(20,10): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(25,16): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/server/index.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/presets/nocobase/src/server/index.ts(119,24): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 8 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -VERSION: 0.21.0-alpha.1 -VERSION: 0.21.0-alpha.1 -info - Umi v4.0.89 -info - Preparing... -ℹ Compiling Webpack -✔ Webpack: Compiled successfully in 30.46s -info - Memory Usage: 1869.3 MB (RSS: 1180.14 MB) - -info - File sizes after gzip: - - 417.81 kB client/npm.elkjs_at_0.8.2.052beecb.async.js - 401.81 kB client/p__index.e5910f05.async.js - 327.75 kB client/3962.a314a078.async.js - 290.56 kB client/npm.highlight.js_at_10.7.3.a680914b.async.js - 237.74 kB client/npm.antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.5679f4a0.async.js - 196.93 kB client/npm.mermaid_at_9.4.3.b42ca24b.async.js - 157.39 kB client/umi.e370ed21.js - 151.67 kB client/npm.mathjs_at_10.6.4.0e622c06.async.js - 129.44 kB client/npm._at_ant-design_icons-svg_at_4.3.1.5f88d91e.async.js - 118.96 kB client/npm.cytoscape_at_3.28.0.76a23a36.async.js - 85.81 kB client/npm._at_antv_g2_at_4.2.10.a290c9e7.async.js - 62 kB client/npm._at_antv_g2plot_at_2.4.31.97b917e7.async.js - 55.4 kB client/npm.quill_at_1.3.7.665dff58.async.js - 46.64 kB client/npm.dayjs_at_1.11.10.6303fb61.async.js - 40.21 kB client/npm.lodash_at_4.17.21.368000f2.async.js - 30.77 kB client/npm._at_formily_antd-v5_at_1.1.9__at_types_react-dom_at_17.0.25__at_types_react_at_17.0.73_antd_at_5.12.8_react-dom_at_18_hn63mpqyeialzxn3jh353u4o5q.72fce86a.async.js - 30.48 kB client/npm.entities_at_4.5.0.3851882a.async.js - 26.66 kB client/npm._at_ant-design_icons_at_5.2.6_react-dom_at_18.2.0_react_at_18.2.0.2b1f2e79.async.js - 26.49 kB client/npm._at_antv_component_at_0.8.35.c1ac0c31.async.js - 26.1 kB client/2834.d01cf572.async.js - 24.49 kB client/npm._at_formulajs_formulajs_at_4.2.0.6264ab95.async.js - 20.49 kB client/npm.ahooks_at_3.7.8_react_at_18.2.0.020cd71c.async.js - 20.07 kB client/npm.rc-picker_at_3.14.6_dayjs_at_1.11.10_react-dom_at_18.2.0_react_at_18.2.0.c622457b.async.js - 18.97 kB client/npm.axios_at_1.6.7.0800ed78.async.js - 17.7 kB client/npm.jstat_at_1.9.6.be7127dd.async.js - 17.54 kB client/npm._at_remix-run_router_at_1.14.0.861623be.async.js - 17.29 kB client/npm._at_antv_g-base_at_0.5.15.455fb2d5.async.js - 17.04 kB client/npm._at_ant-design_pro-provider_at_2.13.5_antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.4e6034a5.async.js - 16.46 kB client/npm.postcss_at_8.4.35.3224b56c.async.js - 16.23 kB client/npm.markdown-it_at_13.0.1.d1cf6947.async.js - 16.06 kB client/npm.dagre-d3-es_at_7.0.9.bb354b51.async.js - 15.58 kB client/npm._at_formily_core_at_2.3.0.662f2481.async.js - 15.34 kB client/npm.i18next_at_22.5.1.16459d0c.async.js - 14.66 kB client/npm.rc-table_at_7.36.1_react-dom_at_18.2.0_react_at_18.2.0.a4cf2f7a.async.js - 14.06 kB client/npm.rc-tree_at_5.8.2_react-dom_at_18.2.0_react_at_18.2.0.2af9fdfd.async.js - 14.03 kB client/npm.lodash-es_at_4.17.21.02ad823e.async.js - 13.85 kB client/npm.layout-base_at_1.0.2.9896c58b.async.js - 13.74 kB client/npm.rc-select_at_14.10.0_react-dom_at_18.2.0_react_at_18.2.0.5071ce4a.async.js - 13.57 kB client/npm._at_dnd-kit_core_at_6.1.0_react-dom_at_18.2.0_react_at_18.2.0.ad6694b2.async.js - 12.85 kB client/npm.decimal.js_at_10.4.3.9302dfd3.async.js - 12.27 kB client/npm._at_dnd-kit_core_at_5.0.3_react-dom_at_18.2.0_react_at_18.2.0.90e23ef3.async.js - 11.83 kB client/npm.entities_at_3.0.1.636454f3.async.js - 11.15 kB client/npm._at_antv_g-canvas_at_0.5.14.1c318cdd.async.js - 10.79 kB client/npm.rc-field-form_at_1.41.0_react-dom_at_18.2.0_react_at_18.2.0.9e666828.async.js - 10.44 kB client/npm.rc-util_at_5.38.1_react-dom_at_18.2.0_react_at_18.2.0.7950be37.async.js - 9.8 kB client/npm._at_ant-design_react-slick_at_1.0.2_react_at_18.2.0.821ae227.async.js - 9.32 kB client/npm._at_ant-design_cssinjs_at_1.18.2_react-dom_at_18.2.0_react_at_18.2.0.f6e24bcc.async.js - 8.73 kB client/npm.rc-menu_at_9.12.4_react-dom_at_18.2.0_react_at_18.2.0.71bc75b3.async.js - 8.52 kB client/npm.dompurify_at_2.4.3.b707d5cc.async.js - 8.36 kB client/npm._at_antv_g-svg_at_0.5.7.fba1a42e.async.js - 8.25 kB client/npm.react-image-lightbox_at_5.1.4_react-dom_at_18.2.0_react_at_18.2.0.3ef8d221.async.js - 7.8 kB client/npm._at_rc-component_trigger_at_1.18.2_react-dom_at_18.2.0_react_at_18.2.0.e9a63bfd.async.js - 7.69 kB client/3332.1ee0bfb5.async.js - 7.44 kB client/npm.readable-stream_at_2.3.8.41dbe97d.async.js - 7.35 kB client/npm._at_formily_path_at_2.3.0.fb1a2129.async.js - 7.12 kB client/npm.rc-tabs_at_12.14.1_react-dom_at_18.2.0_react_at_18.2.0.588e5dad.async.js - 7.01 kB client/npm.rc-cascader_at_3.20.0_react-dom_at_18.2.0_react_at_18.2.0.a468a743.async.js - 6.99 kB client/npm._at_antv_path-util_at_2.0.15.13468bd5.async.js - 6.66 kB client/npm.react-router-dom_at_6.21.0_react-dom_at_18.2.0_react_at_18.2.0.8416bba4.async.js - 6.45 kB client/npm._at_antv_scale_at_0.3.18.fa0604b1.async.js - 6.39 kB client/npm.htmlparser2_at_8.0.2.178d3320.async.js - 6.17 kB client/npm.antd-style_at_3.4.5__at_types_react_at_17.0.73_antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.01cb7131.async.js - 5.52 kB client/npm._at_formily_reactive_at_2.3.0.d0673f9c.async.js - 5.01 kB client/npm.d3-shape_at_3.2.0.4baf1a99.async.js - 4.9 kB client/npm._at_antv_util_at_2.0.17.63743150.async.js - 4.77 kB client/npm.readable-stream_at_1.0.34.052989ed.async.js - 4.35 kB client/npm.gl-matrix_at_3.4.3.679e29fb.async.js - 4.19 kB client/npm.d3-selection_at_3.0.0.7cce3f0d.async.js - 4.18 kB client/npm.khroma_at_2.1.0.21d4f484.async.js - 3.78 kB client/npm.d3-transition_at_3.0.1_d3-selection_at_3.0.0.3f199875.async.js - 3.75 kB client/p__index.9a8aaa6c.chunk.css - 3.12 kB client/npm.linkify-it_at_4.0.1.e08e751b.async.js - 1.77 kB client/browser-checker.js - 708 B client/808.146a732d.async.js - 289 B client/global.css - -event - Build index.html diff --git a/.tmp_scripts/build.log b/.tmp_scripts/build.log deleted file mode 100644 index 1ef97444e..000000000 --- a/.tmp_scripts/build.log +++ /dev/null @@ -1,2794 +0,0 @@ - -> nocobase@0.21.0-alpha.1 build /Users/seal/Documents/projects/codes/tachycode -> nocobase build - - -> @nocobase/build@0.21.0-alpha.1 build /Users/seal/Documents/projects/codes/tachycode/packages/core/build -> tsup - -@nocobase/cache: core/cache build start -@nocobase/cache: build cjs -@nocobase/cache: build declaration -packages/core/cache/src/bloom-filter/redis-bloom-filter.ts(11,3): error TS2742: The inferred type of 'getStore' cannot be named without a reference to '.pnpm/redis@4.6.13/node_modules/redis'. This is likely not portable. A type annotation is necessary. -packages/core/cache/src/cache-manager.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/cache/src/cache-manager.ts(5,23): error TS2307: Cannot find module 'deepmerge' or its corresponding type declarations. -packages/core/cache/src/cache-manager.ts(57,15): error TS2339: Property 'store' does not exist on type '{}'. -packages/core/cache/src/cache-manager.ts(57,28): error TS2700: Rest types may only be created from object types. -TypeScript: 4 semantic errors -TypeScript: 1 declaration error -TypeScript: emit failed -errors in build declareation. -create-nocobase-app: core/create-nocobase-app build start -create-nocobase-app: build cjs -create-nocobase-app: build declaration -@nocobase/logger: core/logger build start -@nocobase/logger: build cjs -@nocobase/logger: build declaration -packages/core/logger/src/deprecated/create-app-logger.ts(2,17): error TS2307: Cannot find module 'koa' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/sdk: core/sdk build start -@nocobase/sdk: build cjs -@nocobase/sdk: build declaration -@nocobase/utils: core/utils build start -@nocobase/utils: build cjs -@nocobase/utils: build declaration -packages/core/utils/src/date.ts(143,32): error TS2339: Property 'match' does not exist on type 'string | number'. - Property 'match' does not exist on type 'number'. -packages/core/utils/src/date.ts(145,30): error TS2339: Property 'match' does not exist on type 'string | number'. - Property 'match' does not exist on type 'number'. -packages/core/utils/src/fs-exists.ts(1,22): error TS2307: Cannot find module 'fs/promises' or its corresponding type declarations. -packages/core/utils/src/isPortalInBody.ts(16,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/isPortalInBody.ts(20,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/perf-hooks.ts(1,50): error TS2307: Cannot find module 'perf_hooks' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(1,18): error TS2307: Cannot find module 'path' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(2,31): error TS2307: Cannot find module 'url' or its corresponding type declarations. -packages/core/utils/src/requireModule.ts(6,9): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/utils/src/requireModule.ts(19,8): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -TypeScript: 10 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/database: core/database build start -@nocobase/database: build cjs -@nocobase/database: .pegjs will not be processed, only be copied to the lib directory. -@nocobase/database: build declaration -packages/core/database/src/model-hook.ts(24,24): error TS2339: Property 'split' does not exist on type 'string | symbol'. - Property 'split' does not exist on type 'symbol'. -packages/core/database/src/model.ts(149,17): error TS2322: Type 'string | string[]' is not assignable to type 'string'. - Type 'string[]' is not assignable to type 'string'. -packages/core/database/src/model.ts(155,12): error TS2339: Property 'forEach' does not exist on type 'string | string[]'. - Property 'forEach' does not exist on type 'string'. -packages/core/database/src/repository.ts(692,11): error TS2322: Type '(TargetKey | TargetKey[])[]' is not assignable to type 'TargetKey[]'. - Type 'TargetKey | TargetKey[]' is not assignable to type 'TargetKey'. - Type 'TargetKey[]' is not assignable to type 'TargetKey'. -TypeScript: 4 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/evaluators: core/evaluators build start -@nocobase/evaluators: build cjs -@nocobase/evaluators: build declaration -@nocobase/resourcer: core/resourcer build start -@nocobase/resourcer: build cjs -@nocobase/resourcer: build declaration -packages/core/resourcer/src/resourcer.ts(2,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/acl: core/acl build start -@nocobase/acl: build cjs -@nocobase/acl: build declaration -packages/core/acl/src/acl-available-strategy.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-available-strategy.ts(36,18): error TS2322: Type 'string | false | string[]' is not assignable to type 'string'. - Type 'boolean' is not assignable to type 'string'. -packages/core/acl/src/acl-available-strategy.ts(40,38): error TS2339: Property 'reduce' does not exist on type 'string | false | string[]'. - Property 'reduce' does not exist on type 'string'. -packages/core/acl/src/acl-resource.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-resource.ts(60,14): error TS2339: Property 'emit' does not exist on type 'ACL'. -packages/core/acl/src/acl-role.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl-role.ts(53,40): error TS2345: Argument of type 'string | AvailableStrategyOptions' is not assignable to parameter of type 'string'. - Type 'AvailableStrategyOptions' is not assignable to type 'string'. -packages/core/acl/src/acl-role.ts(54,44): error TS2345: Argument of type 'string | AvailableStrategyOptions' is not assignable to parameter of type 'AvailableStrategyOptions'. - Type 'string' has no properties in common with type 'AvailableStrategyOptions'. -packages/core/acl/src/acl.ts(3,26): error TS2307: Cannot find module 'events' or its corresponding type declarations. -packages/core/acl/src/acl.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/acl/src/acl.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/acl/src/acl.ts(170,30): error TS2345: Argument of type 'string | string[]' is not assignable to parameter of type 'string'. - Type 'string[]' is not assignable to type 'string'. -packages/core/acl/src/acl.ts(189,10): error TS2339: Property 'addListener' does not exist on type 'ACL'. -TypeScript: 13 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/actions: core/actions build start -@nocobase/actions: build cjs -@nocobase/actions: build declaration -packages/core/actions/src/actions/list.ts(1,24): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/core/actions/src/actions/move.ts(1,27): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/core/actions/src/actions/proxy-to-repository.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/actions/src/index.ts(4,17): error TS2307: Cannot find module 'koa' or its corresponding type declarations. -packages/core/actions/src/index.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 5 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/auth: core/auth build start -@nocobase/auth: build cjs -@nocobase/auth: build declaration -@nocobase/data-source-manager: core/data-source-manager build start -@nocobase/data-source-manager: build cjs -@nocobase/data-source-manager: build declaration -packages/core/data-source-manager/src/collection.ts(2,35): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/data-source-manager/src/collection.ts(3,19): error TS2307: Cannot find module 'deepmerge' or its corresponding type declarations. -packages/core/data-source-manager/src/data-source.ts(1,21): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/core/data-source-manager/src/data-source.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/data-source-manager/src/default-actions/proxy-to-repository.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 5 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/telemetry: core/telemetry build start -@nocobase/telemetry: build cjs -@nocobase/telemetry: build declaration -@nocobase/server: core/server build start -@nocobase/server: build cjs -@nocobase/server: build declaration -packages/core/server/src/app-supervisor.ts(2,23): error TS2307: Cannot find module 'async-mutex' or its corresponding type declarations. -packages/core/server/src/app-supervisor.ts(233,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(241,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(262,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(288,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/app-supervisor.ts(292,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/application.ts(19,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -packages/core/server/src/application.ts(23,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/server/src/application.ts(47,30): error TS2307: Cannot find module 'redis' or its corresponding type declarations. -packages/core/server/src/application.ts(195,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(362,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(378,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,15): error TS2339: Property 'listenerCount' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,44): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/application.ts(418,61): error TS2339: Property 'onerror' does not exist on type 'Application'. -packages/core/server/src/application.ts(421,24): error TS2339: Property 'createContext' does not exist on type 'Application'. -packages/core/server/src/application.ts(741,12): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(742,55): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(856,10): error TS2339: Property 'emit' does not exist on type 'Application'. -packages/core/server/src/application.ts(1039,34): error TS2339: Property 'eventNames' does not exist on type 'Application'. -packages/core/server/src/application.ts(1040,35): error TS2339: Property 'listeners' does not exist on type 'Application'. -packages/core/server/src/application.ts(1042,16): error TS2339: Property 'removeListener' does not exist on type 'Application'. -packages/core/server/src/application.ts(1048,3): error TS2742: The inferred type of 'createLogger' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/application.ts(1065,19): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1085,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1087,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1088,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1089,10): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/application.ts(1164,67): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/cache/index.ts(8,7): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/commands/console.ts(12,12): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(10,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(14,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/cron/cron-job-manager.ts(18,9): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/gateway/index.ts(5,25): error TS2307: Cannot find module 'compression' or its corresponding type declarations. -packages/core/server/src/gateway/index.ts(10,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -packages/core/server/src/gateway/index.ts(13,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/server/src/gateway/index.ts(130,3): error TS2742: The inferred type of 'getLogger' cannot be named without a reference to '../../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/gateway/ws-server.ts(8,30): error TS2307: Cannot find module 'redis' or its corresponding type declarations. -packages/core/server/src/helper.ts(37,9): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/helper.ts(129,7): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/locale/locale.ts(16,14): error TS2339: Property 'on' does not exist on type 'Application'. -packages/core/server/src/plugin-manager/plugin-manager.ts(4,19): error TS2307: Cannot find module 'execa' or its corresponding type declarations. -packages/core/server/src/plugin-manager/plugin-manager.ts(5,16): error TS2307: Cannot find module 'fast-glob' or its corresponding type declarations. -packages/core/server/src/plugin-manager/utils.ts(5,16): error TS2307: Cannot find module 'fast-glob' or its corresponding type declarations. -packages/core/server/src/plugin.ts(5,18): error TS2307: Cannot find module 'glob' or its corresponding type declarations. -packages/core/server/src/plugin.ts(57,7): error TS2742: The inferred type of 'log' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/core/server/src/plugin.ts(59,23): error TS2339: Property 'context' does not exist on type 'Application'. -packages/core/server/src/plugin.ts(100,3): error TS2742: The inferred type of 'createLogger' cannot be named without a reference to '../../logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -TypeScript: 45 semantic errors -TypeScript: 4 declaration errors -TypeScript: emit failed -errors in build declareation. -@nocobase/test: core/test build start -@nocobase/test: build cjs -@nocobase/test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/core/test/src/client/index.ts(4,10): error TS2742: The inferred type of 'customRender' cannot be named without a reference to '.pnpm/@testing-library+dom@9.3.3/node_modules/@testing-library/dom/types/queries'. This is likely not portable. A type annotation is necessary. -packages/core/test/src/e2e/e2eUtils.ts(2,21): error TS2307: Cannot find module '@formily/shared' or its corresponding type declarations. -packages/core/test/src/e2e/e2eUtils.ts(4,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-creator.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-distributor.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/server/index.ts(4,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(1,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(2,23): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/core/test/src/server/mockServer.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(4,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(67,14): error TS2415: Class 'MockServer' incorrectly extends base class '_Application'. - Property 'createDatabase' is protected in type 'MockServer' but public in type '_Application'. -TypeScript: 10 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/devtools: core/devtools build start -@nocobase/devtools: build cjs -@nocobase/devtools: build declaration -@nocobase/app: core/app build start -@nocobase/app: build cjs -@nocobase/app: build declaration -packages/core/app/src/config/cache.ts(1,37): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/core/app/src/config/logger.ts(1,52): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -packages/core/app/src/config/logger.ts(2,10): error TS2614: Module '"@nocobase/server"' has no exported member 'AppLoggerOptions'. Did you mean to use 'import AppLoggerOptions from "@nocobase/server"' instead? -packages/core/app/src/config/plugins.ts(1,10): error TS2614: Module '"@nocobase/server"' has no exported member 'PluginConfiguration'. Did you mean to use 'import PluginConfiguration from "@nocobase/server"' instead? -packages/core/app/src/config/telemetry.ts(1,10): error TS2614: Module '"@nocobase/server"' has no exported member 'AppTelemetryOptions'. Did you mean to use 'import AppTelemetryOptions from "@nocobase/server"' instead? -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 5 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/client: core/client build start -@nocobase/client: build client -@nocobase/client: build client esm -vite v5.1.5 building for production... -transforming... -packages/core/client/src/application/utils/requirejs.ts (2146:11) Use of eval in "packages/core/client/src/application/utils/requirejs.ts" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 889 modules transformed. -rendering chunks... -computing gzip size... -packages/core/client/es/index.css 1.18 kB │ gzip: 0.47 kB -packages/core/client/es/md-iAGHvWot.mjs 1.70 kB │ gzip: 0.88 kB -packages/core/client/es/index.mjs 2,031.77 kB │ gzip: 380.43 kB -✓ built in 2.48s -@nocobase/client: build client lib -vite v5.1.5 building for production... -transforming... -packages/core/client/es/index.ts (17482:11) Use of eval in "packages/core/client/es/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 2 modules transformed. -rendering chunks... -computing gzip size... -packages/core/client/lib/md-iAGHvWot-jxZqkGLs.js 1.36 kB │ gzip: 0.80 kB -packages/core/client/lib/index.js 1,500.10 kB │ gzip: 316.07 kB -✓ built in 1.59s -@nocobase/client: build client locale -@nocobase/client: build declaration -packages/core/client/src/application/utils/globalDeps.ts(31,30): error TS2307: Cannot find module 'react-router' or its corresponding type declarations. -packages/core/client/src/block-provider/hooks/index.ts(140,11): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(302,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(533,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(628,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/index.ts(836,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/block-provider/hooks/useParsedFilter.ts(38,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/collection-manager/templates/components/sql-collection/FieldsConfigure.tsx(11,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/client/src/data-source/data-source/DataSourceManager.ts(92,12): error TS2347: Untyped function calls may not accept type arguments. -packages/core/client/src/filter-provider/utils.ts(200,19): error TS2349: This expression is not callable. - Not all constituents of type 'string | ((target: { uid: string; field?: string; }) => string)' are callable. - Type 'string' has no call signatures. -packages/core/client/src/filter-provider/utils.ts(203,22): error TS2349: This expression is not callable. - Not all constituents of type 'string | ((target: { uid: string; field?: string; }) => string)' are callable. - Type 'string' has no call signatures. -packages/core/client/src/filter-provider/utils.ts(214,17): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. -packages/core/client/src/filter-provider/utils.ts(215,19): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. -packages/core/client/src/global-theme/defaultTheme.ts(20,14): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx(30,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/action/Action.Modal.tsx(29,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/appends-tree-select/AppendsTreeSelect.tsx(3,57): error TS2307: Cannot find module 'rc-tree-select/es/TreeSelect' or its corresponding type declarations. -packages/core/client/src/schema-component/antd/association-field/hooks.ts(87,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/InternalDrawerSubTable.tsx(33,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/InternalPopoverNester.tsx(49,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/Nester.tsx(57,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/association-field/Nester.tsx(114,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/form-item/hooks/useParseDefaultValue.ts(74,13): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-component/antd/select/FormulaSelect.tsx(9,68): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/core/client/src/schema-settings/hooks/useIsAllowToSetDefaultValue.tsx(98,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-settings/SchemaSettings.tsx(467,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/schema-settings/SchemaSettings.tsx(989,59): error TS2349: This expression is not callable. - Not all constituents of type 'Stringify<{ [key: symbol]: any; [key: `x-${string}`]: any; [key: `x-${number}`]: any; version?: string; name?: SchemaKey; title?: any; description?: any; default?: any; readOnly?: boolean; writeOnly?: boolean; ... 44 more ...; "x-compile-omitted"?: string[]; }> | (() => Stringify<...>)' are callable. - Type 'Stringify<{ [key: symbol]: any; [key: `x-${string}`]: any; [key: `x-${number}`]: any; version?: string; name?: SchemaKey; title?: any; description?: any; default?: any; readOnly?: boolean; writeOnly?: boolean; ... 44 more ...; "x-compile-omitted"?: string[]; }>' has no call signatures. -packages/core/client/src/testUtils/mockAPIClient.ts(5,25): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/getAction.tsx(8,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/transformVariableValue.ts(30,15): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/utils/transformVariableValue.ts(47,9): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -packages/core/client/src/variables/VariablesProvider.tsx(43,24): error TS2349: This expression is not callable. - Not all constituents of type 'Record | ((prev: Record) => Record)' are callable. - Type 'Record' has no call signatures. -packages/core/client/src/variables/VariablesProvider.tsx(154,46): error TS2349: This expression is not callable. - Type 'Record' has no call signatures. -packages/core/client/src/variables/VariablesProvider.tsx(225,9): error TS2322: Type 'VariableOption | (VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. - Type '(VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. - Type '(VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption[]'. - Type 'VariableOption | VariableOption[]' is not assignable to type 'VariableOption'. - Type 'VariableOption[]' is missing the following properties from type 'VariableOption': name, ctx -packages/core/client/src/variables/VariablesProvider.tsx(243,9): error TS2322: Type 'VariableOption | (VariableOption | VariableOption[])[]' is not assignable to type 'VariableOption | VariableOption[]'. -TypeScript: 35 semantic errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/test: core/test build start -@nocobase/test: build esm -vite v5.1.5 building for production... -transforming... -✓ 3 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/index.mjs 6.67 kB │ gzip: 2.09 kB -✓ built in 15ms -vite v5.1.5 building for production... -transforming... -✓ 1 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/client/index.mjs 0.59 kB │ gzip: 0.30 kB -✓ built in 4ms -vite v5.1.5 building for production... -transforming... -✓ 5 modules transformed. -rendering chunks... -computing gzip size... -packages/core/test/es/e2e/index.mjs 1,375.13 kB │ gzip: 80.86 kB -✓ built in 226ms -@nocobase/test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/core/test/src/client/index.ts(4,10): error TS2742: The inferred type of 'customRender' cannot be named without a reference to '.pnpm/@testing-library+dom@9.3.3/node_modules/@testing-library/dom/types/queries'. This is likely not portable. A type annotation is necessary. -packages/core/test/src/e2e/e2eUtils.ts(2,21): error TS2307: Cannot find module '@formily/shared' or its corresponding type declarations. -packages/core/test/src/e2e/e2eUtils.ts(4,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-creator.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/scripts/test-db-distributor.ts(4,20): error TS2307: Cannot find module 'dotenv' or its corresponding type declarations. -packages/core/test/src/server/index.ts(4,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(1,30): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(2,23): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/core/test/src/server/mockServer.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(4,16): error TS2307: Cannot find module 'qs' or its corresponding type declarations. -packages/core/test/src/server/mockServer.ts(67,14): error TS2415: Class 'MockServer' incorrectly extends base class '_Application'. - Property 'createDatabase' is protected in type 'MockServer' but public in type '_Application'. -TypeScript: 10 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-audit-logs: plugins/@hera/plugin-audit-logs build start -@hera/plugin-audit-logs: build plugin client -@hera/plugin-audit-logs: build plugin server source -@hera/plugin-audit-logs: delete server files -@hera/plugin-audit-logs: build plugin server dependencies -@hera/plugin-audit-logs: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-audit-logs: write external version -@hera/plugin-audit-logs: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-audit-logs/src/client/components/AuditLogsViewActionInitializer.tsx(4,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-audit-logs/src/client/initializers/AuditLogsTableActionInitializers.tsx(4,14): error TS2742: The inferred type of 'auditLogsTableActionInitializers' cannot be named without a reference to '../../../../../../core/client/node_modules/antd/es'. This is likely not portable. A type annotation is necessary. -packages/plugins/@hera/plugin-audit-logs/src/client/initializers/AuditLogsTableColumnInitializers.tsx(47,14): error TS2742: The inferred type of 'auditLogsTableColumnInitializers' cannot be named without a reference to '../../../../../../core/client/node_modules/antd/es'. This is likely not portable. A type annotation is necessary. -TypeScript: 1 semantic error -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-core: plugins/@hera/plugin-core build start -@hera/plugin-core: build plugin client -node_modules/.pnpm/@ant-design+pro-layout@7.17.16_antd@5.12.8_react-dom@18.2.0_react@18.2.0/node_modules/@ant-design/pro-layout/es/components/PageContainer/index.js (268:6) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/@ant-design+pro-layout@7.17.16_antd@5.12.8_react-dom@18.2.0_react@18.2.0/node_modules/@ant-design/pro-layout/es/components/PageContainer/index.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -node_modules/.pnpm/pdfjs-dist@3.11.174/node_modules/pdfjs-dist/build/pdf.js (1982:23) Use of eval in "node_modules/.pnpm/pdfjs-dist@3.11.174/node_modules/pdfjs-dist/build/pdf.js" is strongly discouraged as it poses security risks and may cause issues with minification. -packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx (161:13) Use of eval in "packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx" is strongly discouraged as it poses security risks and may cause issues with minification. -@hera/plugin-core: build plugin server source -@hera/plugin-core: delete server files -@hera/plugin-core: build plugin server dependencies -@hera/plugin-core: These packages ws, redis, fs-extra, @react-pdf/renderer will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/actions, axios, @nocobase/database, jsonwebtoken will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-core: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/evaluators' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-core: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-core/src/client/components/custom-components/CustomComponentDispatcher.tsx(6,23): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx(7,28): error TS2307: Cannot find module '@nocobase/evaluators/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/components/system/Notifications.tsx(7,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/actions/hooks/useCreateActionProps.tsx(21,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/GroupBlockInitializer.tsx(16,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SheetBlockInitializer.tsx(14,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/client/schema-settings/SchemaSettingsDatePresets.tsx(5,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/link-manager-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/link-manager-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/plugin-version.ts(1,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/plugin-version.ts(2,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/robot-controller.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/robot-controller.ts(3,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/system-message-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/system-message-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/token-configuration-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/actions/token-configuration-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/home-page-presentations-attachments.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/home-page-presentations.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/link-manage.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/system_message.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/collections/token-configuration.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(1,65): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(17,27): error TS2339: Property 'options' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(23,10): error TS2339: Property 'on' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/fields/calc.ts(28,10): error TS2339: Property 'off' does not exist on type 'CalcField'. -packages/plugins/@hera/plugin-core/src/server/plugin.ts(11,27): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(3,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(6,30): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/connection-manager.ts(18,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/font-manager.ts(5,25): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(2,34): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(3,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/home-page-service.ts(8,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(2,30): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(7,8): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@hera/plugin-core/src/server/services/plugin-version.ts(7,8): error TS4031: Public property 'app' of exported class has or is using private name 'Application'. -packages/plugins/@hera/plugin-core/src/server/services/sql-loader.ts(1,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/sql-loader.ts(4,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/system-setting-service.ts(1,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/system-setting-service.ts(2,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(2,60): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-core/src/server/services/web-service.ts(8,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -TypeScript: 43 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@hera/plugin-gas-station: plugins/@hera/plugin-gas-station build start -@hera/plugin-gas-station: build plugin client -@hera/plugin-gas-station: build plugin server source -@hera/plugin-gas-station: .code-workspace will not be processed, only be copied to the dist directory. -@hera/plugin-gas-station: delete server files -@hera/plugin-gas-station: build plugin server dependencies -@hera/plugin-gas-station: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-gas-station: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-gas-station: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-gas-station/src/server/collections/books.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-gas-station/src/server/plugin.ts(16,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-mobile: plugins/@hera/plugin-mobile build start -@hera/plugin-mobile: build plugin client -@hera/plugin-mobile: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-mobile. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js (76:14) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -@hera/plugin-mobile: build plugin server source -@hera/plugin-mobile: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-mobile. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@hera/plugin-mobile: delete server files -@hera/plugin-mobile: build plugin server dependencies -@hera/plugin-mobile: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-mobile: write external version -@hera/plugin-mobile: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/NoticeBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/NoticeBlockInitializer.tsx(10,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/SwiperBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/SwiperBlockInitializer.tsx(11,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/TabSearchBlockInitializer.tsx(1,25): error TS2307: Cannot find module '@formily/react' or its corresponding type declarations. -packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/TabSearchBlockInitializer.tsx(11,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 6 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-oidc: plugins/@hera/plugin-oidc build start -@hera/plugin-oidc: build plugin client -@hera/plugin-oidc: build plugin server source -@hera/plugin-oidc: delete server files -@hera/plugin-oidc: build plugin server dependencies -@hera/plugin-oidc: These packages @nocobase/server, @koa/router will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-oidc: write external version -@hera/plugin-oidc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-oidc/src/server/plugin.ts(2,20): error TS2307: Cannot find module '@koa/router' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-websocket: plugins/@hera/plugin-websocket build start -@hera/plugin-websocket: build plugin client -@hera/plugin-websocket: build plugin server source -@hera/plugin-websocket: delete server files -@hera/plugin-websocket: build plugin server dependencies -@hera/plugin-websocket: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-websocket: write external version -@hera/plugin-websocket: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-acl: plugins/@nocobase/plugin-acl build start -@nocobase/plugin-acl: build plugin client -@nocobase/plugin-acl: build plugin server source -@nocobase/plugin-acl: delete server files -@nocobase/plugin-acl: build plugin server dependencies -@nocobase/plugin-acl: These packages @nocobase/actions, @nocobase/cache, @nocobase/database, @nocobase/server, async-mutex, lodash, @nocobase/acl will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-acl: write external version -@nocobase/plugin-acl: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-acl/src/client/permissions/RolesResourcesActions.tsx(1,38): error TS2307: Cannot find module '@formily/antd-v5' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-acl/src/server/collections/users.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-acl/src/server/server.ts(700,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-action-bulk-edit: plugins/@nocobase/plugin-action-bulk-edit build start -@nocobase/plugin-action-bulk-edit: build plugin client -@nocobase/plugin-action-bulk-edit: build plugin server source -@nocobase/plugin-action-bulk-edit: delete server files -@nocobase/plugin-action-bulk-edit: build plugin server dependencies -@nocobase/plugin-action-bulk-edit: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-bulk-edit: write external version -@nocobase/plugin-action-bulk-edit: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts(2,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx(2,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx(14,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx(17,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-bulk-update: plugins/@nocobase/plugin-action-bulk-update build start -@nocobase/plugin-action-bulk-update: build plugin client -@nocobase/plugin-action-bulk-update: build plugin server source -@nocobase/plugin-action-bulk-update: delete server files -@nocobase/plugin-action-bulk-update: build plugin server dependencies -@nocobase/plugin-action-bulk-update: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-bulk-update: write external version -@nocobase/plugin-action-bulk-update: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx(14,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx(17,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-duplicate: plugins/@nocobase/plugin-action-duplicate build start -@nocobase/plugin-action-duplicate: build plugin client -@nocobase/plugin-action-duplicate: build plugin server source -@nocobase/plugin-action-duplicate: delete server files -@nocobase/plugin-action-duplicate: build plugin server dependencies -@nocobase/plugin-action-duplicate: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-duplicate: write external version -@nocobase/plugin-action-duplicate: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-action-print: plugins/@nocobase/plugin-action-print build start -@nocobase/plugin-action-print: build plugin client -@nocobase/plugin-action-print: build plugin server source -@nocobase/plugin-action-print: delete server files -@nocobase/plugin-action-print: build plugin server dependencies -@nocobase/plugin-action-print: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-action-print: write external version -@nocobase/plugin-action-print: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-api-doc: plugins/@nocobase/plugin-api-doc build start -@nocobase/plugin-api-doc: build plugin client -@nocobase/plugin-api-doc: The index.js size 1427.36 KB exceeds 1MB. You can use dynamic import `import()` for lazy loading content. -@nocobase/plugin-api-doc: build plugin server source -@nocobase/plugin-api-doc: delete server files -@nocobase/plugin-api-doc: build plugin server dependencies -@nocobase/plugin-api-doc: These packages @nocobase/client, react-i18next, @nocobase/actions, @nocobase/server, @nocobase/utils, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-api-doc: write external version -Error: Cannot find module '@nocobase/sdk' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-api-doc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-api-doc/src/client/Document.tsx(2,31): error TS2307: Cannot find module '@nocobase/sdk' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/server.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/swagger/loader.ts(1,31): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-api-doc/src/server/swagger/merge.ts(1,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-api-keys: plugins/@nocobase/plugin-api-keys build start -@nocobase/plugin-api-keys: build plugin client -@nocobase/plugin-api-keys: build plugin server source -@nocobase/plugin-api-keys: delete server files -@nocobase/plugin-api-keys: build plugin server dependencies -@nocobase/plugin-api-keys: These packages @nocobase/database, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-api-keys: write external version -@nocobase/plugin-api-keys: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-audit-logs: plugins/@nocobase/plugin-audit-logs build start -@nocobase/plugin-audit-logs: build plugin client -@nocobase/plugin-audit-logs: build plugin server source -@nocobase/plugin-audit-logs: delete server files -@nocobase/plugin-audit-logs: build plugin server dependencies -@nocobase/plugin-audit-logs: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-audit-logs: write external version -@nocobase/plugin-audit-logs: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-audit-logs/src/client/createAuditLogsBlockSchema.tsx(2,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-auth: plugins/@nocobase/plugin-auth build start -@nocobase/plugin-auth: build plugin client -@nocobase/plugin-auth: build plugin server source -@nocobase/plugin-auth: delete server files -@nocobase/plugin-auth: build plugin server dependencies -@nocobase/plugin-auth: These packages cron will be bundled to dist/node_modules. These packages @nocobase/auth, @nocobase/database, @nocobase/cache, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-auth: write external version -Error: Cannot find module '@nocobase/cache' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-auth: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-auth/src/client/AuthProvider.tsx(3,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/basic/SignInForm.tsx(5,46): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/basic/SignUpForm.tsx(8,39): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/index.tsx(2,26): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/pages/AuthLayout.tsx(3,24): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/client/pages/SignUpPage.tsx(3,43): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/plugin.ts(1,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/storer.ts(2,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-auth/src/server/token-blacklist.ts(5,29): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -TypeScript: 9 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-backup-restore: plugins/@nocobase/plugin-backup-restore build start -@nocobase/plugin-backup-restore: build plugin client -@nocobase/plugin-backup-restore: build plugin server source -@nocobase/plugin-backup-restore: delete server files -@nocobase/plugin-backup-restore: build plugin server dependencies -@nocobase/plugin-backup-restore: These packages archiver, mkdirp, decompress, @hapi/topo, semver will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/database, dayjs, lodash, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-backup-restore: write external version -@nocobase/plugin-backup-restore: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(14,15): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(14,15): error TS4031: Public property 'app' of exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(20,20): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/app-migrator.ts(20,20): error TS4063: Parameter 'app' of constructor from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/commands/restore-command.ts(5,48): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/commands/restore-command.ts(5,48): error TS4078: Parameter 'app' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/dumper.ts(6,49): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/dumper.ts(155,89): error TS2339: Property 'map' does not exist on type 'unknown'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/field-value-writer.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(9,39): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(11,23): error TS2307: Cannot find module '@hapi/topo' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(26,10): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-backup-restore/src/server/restorer.ts(26,10): error TS4063: Parameter 'app' of constructor from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-backup-restore/src/server/utils.ts(1,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 10 semantic errors -TypeScript: 12 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-calendar: plugins/@nocobase/plugin-calendar build start -@nocobase/plugin-calendar: build plugin client -@nocobase/plugin-calendar: build plugin server source -@nocobase/plugin-calendar: delete server files -@nocobase/plugin-calendar: build plugin server dependencies -@nocobase/plugin-calendar: These packages @nocobase/client, react-i18next, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-calendar: write external version -Error: Cannot find module '@nocobase/test' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-calendar: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-cas: plugins/@nocobase/plugin-cas build start -@nocobase/plugin-cas: build plugin client -@nocobase/plugin-cas: build plugin server source -@nocobase/plugin-cas: delete server files -@nocobase/plugin-cas: build plugin server dependencies -@nocobase/plugin-cas: These packages @nocobase/auth, @nocobase/plugin-auth, axios, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-cas: write external version -Error: Cannot find module '@nocobase/auth' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-cas: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-cas/src/server/actions/service.ts(23,34): error TS2339: Property 'signIn' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(1,38): error TS2307: Cannot find module '@nocobase/auth' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(19,23): error TS2339: Property 'options' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(33,77): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(36,10): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(49,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../plugin-auth/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(50,22): error TS2339: Property 'ctx' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(63,32): error TS2339: Property 'authenticator' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(69,23): error TS2339: Property 'userRepository' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(73,18): error TS2339: Property 'authenticator' does not exist on type 'CASAuth'. -packages/plugins/@nocobase/plugin-cas/src/server/auth.ts(84,15): error TS2339: Property 'validateUsername' does not exist on type 'CASAuth'. -TypeScript: 10 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-charts: plugins/@nocobase/plugin-charts build start -@nocobase/plugin-charts: build plugin client -@nocobase/plugin-charts: build plugin server source -@nocobase/plugin-charts: delete server files -@nocobase/plugin-charts: build plugin server dependencies -@nocobase/plugin-charts: These packages json5 will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-charts: write external version -@nocobase/plugin-charts: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-china-region: plugins/@nocobase/plugin-china-region build start -@nocobase/plugin-china-region: build plugin client -@nocobase/plugin-china-region: build plugin server source -@nocobase/plugin-china-region: delete server files -@nocobase/plugin-china-region: build plugin server dependencies -@nocobase/plugin-china-region: These packages @nocobase/server, china-division, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-china-region: write external version -@nocobase/plugin-china-region: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-china-region: afterBuild -@nocobase/plugin-china-region: coping areas.json -@nocobase/plugin-china-region: coping cities.json -@nocobase/plugin-china-region: coping provinces.json -@nocobase/plugin-client: plugins/@nocobase/plugin-client build start -@nocobase/plugin-client: build plugin client -@nocobase/plugin-client: build plugin server source -@nocobase/plugin-client: delete server files -@nocobase/plugin-client: build plugin server dependencies -@nocobase/plugin-client: These packages cronstrue will be bundled to dist/node_modules. These packages @nocobase/utils, @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-client: write external version -@nocobase/plugin-client: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-client/src/server/server.ts(26,23): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-client: afterBuild -@nocobase/plugin-client: coping client locale -@nocobase/plugin-client: coping antd locale -@nocobase/plugin-client: skip context.js -@nocobase/plugin-custom-request: plugins/@nocobase/plugin-custom-request build start -@nocobase/plugin-custom-request: build plugin client -@nocobase/plugin-custom-request: build plugin server source -@nocobase/plugin-custom-request: delete server files -@nocobase/plugin-custom-request: build plugin server dependencies -@nocobase/plugin-custom-request: These packages @nocobase/logger, @nocobase/server, @nocobase/actions, @nocobase/utils, @nocobase/evaluators, axios, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-custom-request: write external version -Error: Cannot find module '@nocobase/logger' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/evaluators' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-custom-request: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-custom-request/src/client/hooks/useCustomizeRequestActionProps.ts(12,23): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/client/hooks/useCustomRequestsResource.ts(3,14): error TS2742: The inferred type of 'useCustomRequestsResource' cannot be named without a reference to '../../../../../../core/client/node_modules/@nocobase/sdk/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/listByCurrentRole.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(2,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/actions/send.ts(4,35): error TS2307: Cannot find module '@nocobase/evaluators' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/collections/customRequest.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/collections/customRequestsRoles.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-custom-request/src/server/plugin.ts(1,39): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -TypeScript: 8 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-data-source-manager: plugins/@nocobase/plugin-data-source-manager build start -@nocobase/plugin-data-source-manager: build plugin client -@nocobase/plugin-data-source-manager: build plugin server source -@nocobase/plugin-data-source-manager: delete server files -@nocobase/plugin-data-source-manager: build plugin server dependencies -@nocobase/plugin-data-source-manager: These packages @nocobase/server, lodash, @nocobase/database, @nocobase/utils, @nocobase/plugin-acl, @nocobase/acl, sequelize will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-data-source-manager: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/acl' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-data-source-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/BreadcumbTitle.tsx(5,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx(9,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx(6,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/index.tsx(4,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx(6,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx(25,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx(9,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/hooks.ts(3,27): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTable.tsx(4,33): error TS2307: Cannot find module 'ahooks/es/useRequest/src/types' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/ViewDatabaseConnectionAction.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-collections.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-fields.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources-actions.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources-scopes.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles-resources.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources-roles.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/collections/data-sources.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/migrations/20240301164024-migrate-acl-resources.ts(2,21): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(1,36): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(5,45): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(48,17): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(51,37): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(51,37): error TS4073: Parameter 'options' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(66,29): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(75,45): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(75,45): error TS4073: Parameter 'options' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(78,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(88,23): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(89,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(93,18): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(98,69): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(139,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(141,42): error TS2339: Property 'db' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-source.ts(147,37): error TS2339: Property 'db' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(1,37): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(5,28): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(5,28): error TS4073: Parameter 'loadOptions' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(8,36): error TS2339: Property 'get' does not exist on type 'DataSourcesCollectionModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-collection-model.ts(9,33): error TS2339: Property 'get' does not exist on type 'DataSourcesCollectionModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(1,37): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(6,8): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(6,8): error TS4033: Property 'app' of exported interface has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(13,26): error TS2339: Property 'get' does not exist on type 'DataSourcesFieldModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-field-model.ts(26,26): error TS2339: Property 'get' does not exist on type 'DataSourcesFieldModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(1,23): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(2,21): error TS2307: Cannot find module '@nocobase/acl' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(3,29): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(9,27): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(19,17): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(22,73): error TS2339: Property 'db' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/models/data-sources-roles-model.ts(27,31): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(71,35): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(75,17): error TS2339: Property 'changed' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(76,41): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(77,28): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(90,17): error TS2339: Property 'changed' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(105,32): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(329,59): error TS2339: Property 'get' does not exist on type 'DataSourceModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(332,43): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-data-source-manager/src/server/plugin.ts(397,75): error TS2339: Property 'get' does not exist on type 'DataSourcesRolesModel'. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/collection-manager.ts(1,26): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/database-introspector.ts(1,46): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/database-introspector.ts(2,36): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-data-source-manager/src/server/services/full-data-repository.ts(1,43): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -TypeScript: 60 semantic errors -TypeScript: 12 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-data-visualization: plugins/@nocobase/plugin-data-visualization build start -@nocobase/plugin-data-visualization: build plugin client -@nocobase/plugin-data-visualization: The index.js size 1277.20 KB exceeds 1MB. You can use dynamic import `import()` for lazy loading content. -@nocobase/plugin-data-visualization: build plugin server source -@nocobase/plugin-data-visualization: delete server files -@nocobase/plugin-data-visualization: build plugin server dependencies -@nocobase/plugin-data-visualization: These packages koa-compose will be bundled to dist/node_modules. These packages @nocobase/cache, @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-data-visualization: write external version -@nocobase/plugin-data-visualization: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts(4,21): error TS2307: Cannot find module 'koa-compose' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-disable-pm-add: plugins/@nocobase/plugin-disable-pm-add build start -@nocobase/plugin-disable-pm-add: build plugin client -@nocobase/plugin-disable-pm-add: build plugin server source -@nocobase/plugin-disable-pm-add: delete server files -@nocobase/plugin-disable-pm-add: build plugin server dependencies -@nocobase/plugin-disable-pm-add: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-disable-pm-add: write external version -@nocobase/plugin-disable-pm-add: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-error-handler: plugins/@nocobase/plugin-error-handler build start -@nocobase/plugin-error-handler: build plugin client -@nocobase/plugin-error-handler: build plugin server source -@nocobase/plugin-error-handler: delete server files -@nocobase/plugin-error-handler: build plugin server dependencies -@nocobase/plugin-error-handler: These packages @formily/json-schema, @nocobase/database, @nocobase/server, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-error-handler: write external version -@nocobase/plugin-error-handler: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-error-handler/src/server/server.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-collection-manager: plugins/@nocobase/plugin-collection-manager build start -@nocobase/plugin-collection-manager: build plugin client -@nocobase/plugin-collection-manager: build plugin server source -@nocobase/plugin-collection-manager: delete server files -@nocobase/plugin-collection-manager: build plugin server dependencies -@nocobase/plugin-collection-manager: These packages @nocobase/database, @nocobase/plugin-error-handler, @nocobase/server, async-mutex, lodash, @nocobase/utils, sequelize, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-collection-manager: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-collection-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-collection-manager/src/server/hooks/beforeInitOptions.ts(3,23): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230704222935-tableoid.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(3,48): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/models/collection.ts(69,44): error TS2322: Type 'boolean | string[]' is not assignable to type 'string[]'. - Type 'boolean' is not assignable to type 'string[]'. -packages/plugins/@nocobase/plugin-collection-manager/src/server/repositories/collection-repository.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/repositories/collection-repository.ts(13,16): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-collection-manager/src/server/resourcers/sql.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(5,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(238,13): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(263,5): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-collection-manager/src/server/server.ts(265,32): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 12 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@hera/plugin-rental: plugins/@hera/plugin-rental build start -@hera/plugin-rental: build plugin client -@hera/plugin-rental: build plugin server source -@hera/plugin-rental: .sql will not be processed, only be copied to the dist directory. -@hera/plugin-rental: delete server files -@hera/plugin-rental: build plugin server dependencies -@hera/plugin-rental: These packages qrcode will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @hera/plugin-core, @nocobase/plugin-collection-manager, @nocobase/database, dayjs, @nocobase/actions, sequelize, lodash, react will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@hera/plugin-rental: write external version -Error: Cannot find module '@nocobase/database' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@hera/plugin-rental: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@hera/plugin-rental/src/server/actions/contracts-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/contracts-controller.ts(2,36): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(2,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(5,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/records-controller.ts(8,42): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(3,48): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/settlement-controller.ts(6,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(1,25): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(4,44): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts(5,28): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/inventory-orders.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/transfer-orders.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/collections/undetermined-projects.ts(1,34): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/records-documentV2.tsx(6,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/settlements-document.tsx(247,19): error TS2322: Type '{ fontSize: string; flexDirection: string; }' is not assignable to type 'CSSProperties'. - Types of property 'flexDirection' are incompatible. - Type 'string' is not assignable to type 'FlexDirection'. -packages/plugins/@hera/plugin-rental/src/server/pdf-documents/settlements-document.tsx(256,19): error TS2322: Type '{ fontSize: string; flexDirection: string; }' is not assignable to type 'CSSProperties'. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(7,27): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(12,28): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(31,18): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(33,28): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/plugin.ts(43,28): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@hera/plugin-rental/src/server/services/contract-rule-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-rule-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/contract-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/detail-check-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/detail-check-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/project-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/project-service.ts(3,37): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-pdf-service.ts(3,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-pdf-service.ts(6,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts(1,75): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/settlement-service.ts(1,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/settlement-service.ts(2,22): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/vehicles-service.ts(1,62): error TS2307: Cannot find module '@nocobase/database' or its corresponding type declarations. -packages/plugins/@hera/plugin-rental/src/server/services/vehicles-service.ts(2,29): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 39 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-excel-formula-field: plugins/@nocobase/plugin-excel-formula-field build start -@nocobase/plugin-excel-formula-field: build plugin client -@nocobase/plugin-excel-formula-field: build plugin server source -@nocobase/plugin-excel-formula-field: delete server files -@nocobase/plugin-excel-formula-field: build plugin server dependencies -@nocobase/plugin-excel-formula-field: These packages @nocobase/database, @nocobase/server, @formulajs/formulajs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-excel-formula-field: write external version -@nocobase/plugin-excel-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-export: plugins/@nocobase/plugin-export build start -@nocobase/plugin-export: build plugin client -@nocobase/plugin-export: build plugin server source -@nocobase/plugin-export: delete server files -@nocobase/plugin-export: build plugin server dependencies -@nocobase/plugin-export: These packages node-xlsx will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-export: write external version -@nocobase/plugin-export: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-file-manager: plugins/@nocobase/plugin-file-manager build start -@nocobase/plugin-file-manager: build plugin client -@nocobase/plugin-file-manager: build plugin server source -@nocobase/plugin-file-manager: delete server files -@nocobase/plugin-file-manager: build plugin server dependencies -@nocobase/plugin-file-manager: These packages mime-match, multer-aliyun-oss, mkdirp, @aws-sdk/client-s3, multer-s3, multer-cos will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/actions, @nocobase/utils, multer will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-file-manager: write external version -@nocobase/plugin-file-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-file-manager/src/server/storages/index.ts(29,20): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-file-manager/src/server/storages/index.ts(29,20): error TS4075: Parameter 'app' of method from exported interface has or is using private name 'Application'. -TypeScript: 1 semantic error -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-formula-field: plugins/@nocobase/plugin-formula-field build start -@nocobase/plugin-formula-field: build plugin client -@nocobase/plugin-formula-field: build plugin server source -@nocobase/plugin-formula-field: delete server files -@nocobase/plugin-formula-field: build plugin server dependencies -@nocobase/plugin-formula-field: These packages @nocobase/database, @nocobase/evaluators, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-formula-field: write external version -@nocobase/plugin-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-gantt: plugins/@nocobase/plugin-gantt build start -@nocobase/plugin-gantt: build plugin client -@nocobase/plugin-gantt: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-style, @formily/react, @ant-design/icons, @formily/antd-v5, react-i18next, @emotion/css, @ctrl/tinycolor, antd, lodash, @formily/shared. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-gantt: build plugin server source -@nocobase/plugin-gantt: The build tool will package all dependencies into the dist directory, so you don't need to put them in antd-style, @formily/react, @ant-design/icons, @formily/antd-v5, react-i18next, @emotion/css, @ctrl/tinycolor, antd, lodash, @formily/shared. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-gantt: delete server files -@nocobase/plugin-gantt: build plugin server dependencies -@nocobase/plugin-gantt: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-gantt: write external version -@nocobase/plugin-gantt: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-gantt/src/client/components/grid/grid-body.tsx(2,21): error TS2307: Cannot find module '@nocobase/utils/client' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-graph-collection-manager: plugins/@nocobase/plugin-graph-collection-manager build start -@nocobase/plugin-graph-collection-manager: build plugin client -@nocobase/plugin-graph-collection-manager: build plugin server source -@nocobase/plugin-graph-collection-manager: delete server files -@nocobase/plugin-graph-collection-manager: build plugin server dependencies -@nocobase/plugin-graph-collection-manager: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-graph-collection-manager: write external version -@nocobase/plugin-graph-collection-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/SelectCollectionsAction.tsx(4,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/GraphDrawPage.tsx(33,33): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -TypeScript: 2 semantic errors -TypeScript: 18 declaration errors -TypeScript: -13 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-iframe-block: plugins/@nocobase/plugin-iframe-block build start -@nocobase/plugin-iframe-block: build plugin client -@nocobase/plugin-iframe-block: build plugin server source -@nocobase/plugin-iframe-block: delete server files -@nocobase/plugin-iframe-block: build plugin server dependencies -@nocobase/plugin-iframe-block: These packages @nocobase/server, @nocobase/actions, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-iframe-block: write external version -@nocobase/plugin-iframe-block: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-import: plugins/@nocobase/plugin-import build start -@nocobase/plugin-import: build plugin client -@nocobase/plugin-import: build plugin server source -@nocobase/plugin-import: delete server files -@nocobase/plugin-import: build plugin server dependencies -@nocobase/plugin-import: These packages node-xlsx, xlsx will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/database, @nocobase/utils, lodash, mathjs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-import: write external version -@nocobase/plugin-import: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-kanban: plugins/@nocobase/plugin-kanban build start -@nocobase/plugin-kanban: build plugin client -@nocobase/plugin-kanban: build plugin server source -@nocobase/plugin-kanban: delete server files -@nocobase/plugin-kanban: build plugin server dependencies -@nocobase/plugin-kanban: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-kanban: write external version -@nocobase/plugin-kanban: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.tsx(1,28): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockProvider.tsx(1,28): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-logger: plugins/@nocobase/plugin-logger build start -@nocobase/plugin-logger: build plugin client -@nocobase/plugin-logger: build plugin server source -@nocobase/plugin-logger: delete server files -@nocobase/plugin-logger: build plugin server dependencies -@nocobase/plugin-logger: These packages tar-fs will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/actions, @nocobase/logger will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-logger: write external version -Error: Cannot find module '@nocobase/logger' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-logger: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-logger/src/server/resourcer/logger.ts(2,35): error TS2307: Cannot find module '@nocobase/logger' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-map: plugins/@nocobase/plugin-map build start -@nocobase/plugin-map: build plugin client -@nocobase/plugin-map: build plugin server source -@nocobase/plugin-map: delete server files -@nocobase/plugin-map: build plugin server dependencies -@nocobase/plugin-map: These packages @nocobase/server, @nocobase/actions, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-map: write external version -@nocobase/plugin-map: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-math-formula-field: plugins/@nocobase/plugin-math-formula-field build start -@nocobase/plugin-math-formula-field: build plugin client -@nocobase/plugin-math-formula-field: build plugin server source -@nocobase/plugin-math-formula-field: delete server files -@nocobase/plugin-math-formula-field: build plugin server dependencies -@nocobase/plugin-math-formula-field: These packages @nocobase/database, mathjs, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-math-formula-field: write external version -@nocobase/plugin-math-formula-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-mobile-client: plugins/@nocobase/plugin-mobile-client build start -@nocobase/plugin-mobile-client: build plugin client -node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js (76:14) A comment - -"/*#__PURE__*/" - -in "node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. -@nocobase/plugin-mobile-client: build plugin server source -@nocobase/plugin-mobile-client: delete server files -@nocobase/plugin-mobile-client: build plugin server dependencies -@nocobase/plugin-mobile-client: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-mobile-client: write external version -@nocobase/plugin-mobile-client: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/container/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/container/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/menu/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/menu/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/page/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/components/page/style.ts(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts(18,23): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 17 declaration errors -TypeScript: -8 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-mock-collections: plugins/@nocobase/plugin-mock-collections build start -@nocobase/plugin-mock-collections: build plugin client -@nocobase/plugin-mock-collections: build plugin server source -@nocobase/plugin-mock-collections: .sql will not be processed, only be copied to the dist directory. -@nocobase/plugin-mock-collections: delete server files -@nocobase/plugin-mock-collections: build plugin server dependencies -@nocobase/plugin-mock-collections: These packages @faker-js/faker will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/plugin-collection-manager, @nocobase/server, @nocobase/utils, lodash, pg will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-mock-collections: write external version -@nocobase/plugin-mock-collections: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/association.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/attachment.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/attachment.ts(3,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkbox.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkboxGroup.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/checkboxGroup.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/color.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/datetime.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/email.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/input.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/integer.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/markdown.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/multipleSelect.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/multipleSelect.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/number.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/percent.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/radioGroup.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/radioGroup.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/richText.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/select.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/select.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/textarea.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/field-interfaces/time.ts(1,23): error TS2307: Cannot find module '@faker-js/faker' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-mock-collections/src/server/index.ts(5,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 24 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-multi-app-manager: plugins/@nocobase/plugin-multi-app-manager build start -@nocobase/plugin-multi-app-manager: build plugin client -@nocobase/plugin-multi-app-manager: build plugin server source -@nocobase/plugin-multi-app-manager: delete server files -@nocobase/plugin-multi-app-manager: build plugin server dependencies -@nocobase/plugin-multi-app-manager: These packages mariadb will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, lodash, mysql2, pg, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-multi-app-manager: write external version -@nocobase/plugin-multi-app-manager: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,3): error TS2742: The inferred type of 'registerToSupervisor' cannot be named without a reference to '../../../../../../core/logger/node_modules/winston'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,33): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/models/application.ts(12,33): error TS4073: Parameter 'mainApp' of public method from exported class has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(7,34): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(7,34): error TS4078: Parameter 'app' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(8,60): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(8,60): error TS4078: Parameter 'mainApp' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(9,46): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(9,46): error TS4078: Parameter 'mainApp' of exported function has or is using private name 'Application'. -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(11,74): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(56,38): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(97,61): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(127,33): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-manager/src/server/server.ts(127,33): error TS4070: Parameter 'app' of public static method from exported class has or is using private name 'Application'. -TypeScript: 9 semantic errors -TypeScript: 14 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-notifications: plugins/@nocobase/plugin-notifications build start -@nocobase/plugin-notifications: build plugin client -@nocobase/plugin-notifications: build plugin server source -@nocobase/plugin-notifications: delete server files -@nocobase/plugin-notifications: build plugin server dependencies -@nocobase/plugin-notifications: These packages nodemailer will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/database, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-notifications: write external version -@nocobase/plugin-notifications: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-notifications/src/server/models/Notification.ts(2,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-oidc: plugins/@nocobase/plugin-oidc build start -@nocobase/plugin-oidc: build plugin client -@nocobase/plugin-oidc: build plugin server source -@nocobase/plugin-oidc: delete server files -@nocobase/plugin-oidc: build plugin server dependencies -@nocobase/plugin-oidc: These packages openid-client, nanoid will be bundled to dist/node_modules. These packages @nocobase/auth, @nocobase/plugin-auth, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-oidc: write external version -@nocobase/plugin-oidc: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-oidc/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-oidc/src/client/OIDCButton.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-oidc/src/client/OIDCButton.tsx(7,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-oidc/src/server/oidc-auth.ts(67,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../../../core/actions/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-oidc/src/server/oidc-auth.ts(99,27): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-saml: plugins/@nocobase/plugin-saml build start -@nocobase/plugin-saml: build plugin client -@nocobase/plugin-saml: build plugin server source -@nocobase/plugin-saml: delete server files -@nocobase/plugin-saml: build plugin server dependencies -@nocobase/plugin-saml: These packages @node-saml/node-saml will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/auth, @nocobase/plugin-auth, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-saml: write external version -@nocobase/plugin-saml: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-saml/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-saml/src/client/SAMLButton.tsx(6,29): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-saml/src/client/SAMLButton.tsx(7,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-saml/src/server/saml-auth.ts(36,9): error TS2742: The inferred type of 'validate' cannot be named without a reference to '../../../../../core/actions/node_modules/@nocobase/database/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-saml/src/server/saml-auth.ts(54,27): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 9 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-sample-hello: plugins/@nocobase/plugin-sample-hello build start -@nocobase/plugin-sample-hello: build plugin client -@nocobase/plugin-sample-hello: build plugin server source -@nocobase/plugin-sample-hello: delete server files -@nocobase/plugin-sample-hello: build plugin server dependencies -@nocobase/plugin-sample-hello: These packages @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sample-hello: write external version -@nocobase/plugin-sample-hello: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-sequence-field: plugins/@nocobase/plugin-sequence-field build start -@nocobase/plugin-sequence-field: build plugin client -@nocobase/plugin-sequence-field: build plugin server source -@nocobase/plugin-sequence-field: delete server files -@nocobase/plugin-sequence-field: build plugin server dependencies -@nocobase/plugin-sequence-field: These packages cron-parser will be bundled to dist/node_modules. These packages @nocobase/server, @nocobase/utils, @nocobase/database, dayjs, lodash will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sequence-field: write external version -@nocobase/plugin-sequence-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-sequence-field/src/server/fields/sequence-field.ts(13,19): error TS2307: Cannot find module 'dayjs' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-sequence-field/src/server/fields/sequence-field.ts(14,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-snapshot-field: plugins/@nocobase/plugin-snapshot-field build start -@nocobase/plugin-snapshot-field: build plugin client -@nocobase/plugin-snapshot-field: build plugin server source -@nocobase/plugin-snapshot-field: delete server files -@nocobase/plugin-snapshot-field: build plugin server dependencies -@nocobase/plugin-snapshot-field: These packages @nocobase/database, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-snapshot-field: write external version -@nocobase/plugin-snapshot-field: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-system-settings: plugins/@nocobase/plugin-system-settings build start -@nocobase/plugin-system-settings: build plugin client -@nocobase/plugin-system-settings: build plugin server source -@nocobase/plugin-system-settings: delete server files -@nocobase/plugin-system-settings: build plugin server dependencies -@nocobase/plugin-system-settings: These packages @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-system-settings: write external version -@nocobase/plugin-system-settings: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-theme-editor: plugins/@nocobase/plugin-theme-editor build start -@nocobase/plugin-theme-editor: build plugin client -@nocobase/plugin-theme-editor: build plugin server source -@nocobase/plugin-theme-editor: delete server files -@nocobase/plugin-theme-editor: build plugin server dependencies -@nocobase/plugin-theme-editor: These packages @nocobase/client, react, @nocobase/server, @nocobase/database, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-theme-editor: write external version -@nocobase/plugin-theme-editor: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(12,42): error TS2538: Type 'MappingAlgorithm' cannot be used as an index type. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(12,42): error TS2538: Type 'MappingAlgorithm[]' cannot be used as an index type. -packages/plugins/@nocobase/plugin-theme-editor/src/client/utils/changeAlgorithmFromStringToFunction.tsx(17,22): error TS2538: Type 'MappingAlgorithm' cannot be used as an index type. -TypeScript: 3 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-ui-routes-storage: plugins/@nocobase/plugin-ui-routes-storage build start -@nocobase/plugin-ui-routes-storage: build plugin client -@nocobase/plugin-ui-routes-storage: build plugin server source -@nocobase/plugin-ui-routes-storage: delete server files -@nocobase/plugin-ui-routes-storage: build plugin server dependencies -@nocobase/plugin-ui-routes-storage: These packages flat-to-nested will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-ui-routes-storage: write external version -@nocobase/plugin-ui-routes-storage: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-users: plugins/@nocobase/plugin-users build start -@nocobase/plugin-users: build plugin client -@nocobase/plugin-users: build plugin server source -@nocobase/plugin-users: delete server files -@nocobase/plugin-users: build plugin server dependencies -@nocobase/plugin-users: These packages @nocobase/database, @nocobase/server, @nocobase/utils, @nocobase/cache, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-users: write external version -Error: Cannot find module '@nocobase/cache' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-users: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-users/src/client/PasswordField.tsx(5,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/client/UserRolesField.tsx(3,23): error TS2307: Cannot find module '@formily/core' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/server/server.ts(7,23): error TS2307: Cannot find module '@nocobase/cache' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-users/src/server/server.ts(181,18): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-multi-app-share-collection: plugins/@nocobase/plugin-multi-app-share-collection build start -@nocobase/plugin-multi-app-share-collection: build plugin client -@nocobase/plugin-multi-app-share-collection: build plugin server source -@nocobase/plugin-multi-app-share-collection: delete server files -@nocobase/plugin-multi-app-share-collection: build plugin server dependencies -@nocobase/plugin-multi-app-share-collection: These packages @nocobase/database, @nocobase/plugin-multi-app-manager, @nocobase/server, lodash, @nocobase/utils will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-multi-app-share-collection: write external version -@nocobase/plugin-multi-app-share-collection: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/collections/applications.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/collections/collections.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(133,26): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(231,29): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-multi-app-share-collection/src/server/plugin.ts(257,61): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -TypeScript: 4 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-ui-schema-storage: plugins/@nocobase/plugin-ui-schema-storage build start -@nocobase/plugin-ui-schema-storage: build plugin client -@nocobase/plugin-ui-schema-storage: build plugin server source -@nocobase/plugin-ui-schema-storage: delete server files -@nocobase/plugin-ui-schema-storage: build plugin server dependencies -@nocobase/plugin-ui-schema-storage: These packages @nocobase/database, @nocobase/cache, @nocobase/utils, lodash, @nocobase/server, @nocobase/actions, @nocobase/resourcer, @formily/json-schema will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-ui-schema-storage: write external version -@nocobase/plugin-ui-schema-storage: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/actions/ui-schema-action.ts(3,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/repository.ts(4,20): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-localization-management: plugins/@nocobase/plugin-localization-management build start -@nocobase/plugin-localization-management: build plugin client -@nocobase/plugin-localization-management: build plugin server source -@nocobase/plugin-localization-management: delete server files -@nocobase/plugin-localization-management: build plugin server dependencies -@nocobase/plugin-localization-management: These packages deepmerge will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/plugin-ui-schema-storage, @nocobase/server, @nocobase/cache, @nocobase/actions will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-localization-management: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-localization-management: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-localization-management/src/server/actions/localization.ts(1,31): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-localization-management/src/server/actions/localizationTexts.ts(1,63): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-localization-management/src/server/plugin.ts(16,45): error TS2347: Untyped function calls may not accept type arguments. -packages/plugins/@nocobase/plugin-localization-management/src/server/plugin.ts(144,35): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-verification: plugins/@nocobase/plugin-verification build start -@nocobase/plugin-verification: build plugin client -@nocobase/plugin-verification: build plugin server source -@nocobase/plugin-verification: delete server files -@nocobase/plugin-verification: build plugin server dependencies -@nocobase/plugin-verification: These packages @alicloud/dysmsapi20170525, @alicloud/openapi-client, @alicloud/tea-util, tencentcloud-sdk-nodejs will be bundled to dist/node_modules. These packages @nocobase/actions, @nocobase/database, @nocobase/resourcer, @nocobase/server, @nocobase/utils, dayjs will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-verification: write external version -@nocobase/plugin-verification: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-verification/src/server/actions/verifications.ts(3,19): error TS2307: Cannot find module 'dayjs' or its corresponding type declarations. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-sms-auth: plugins/@nocobase/plugin-sms-auth build start -@nocobase/plugin-sms-auth: build plugin client -@nocobase/plugin-sms-auth: build plugin server source -@nocobase/plugin-sms-auth: delete server files -@nocobase/plugin-sms-auth: build plugin server dependencies -@nocobase/plugin-sms-auth: These packages @nocobase/plugin-verification, @nocobase/server, @nocobase/auth, @nocobase/database, @nocobase/plugin-auth will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-sms-auth: write external version -@nocobase/plugin-sms-auth: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-sms-auth/src/client/index.tsx(10,10): error TS2339: Property 'registerType' does not exist on type 'AuthPlugin'. -packages/plugins/@nocobase/plugin-sms-auth/src/client/SigninPage.tsx(5,10): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'Authenticator'. Did you mean to use 'import Authenticator from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-sms-auth/src/client/SigninPage.tsx(5,25): error TS2614: Module '"@nocobase/plugin-auth/client"' has no exported member 'useSignIn'. Did you mean to use 'import useSignIn from "@nocobase/plugin-auth/client"' instead? -packages/plugins/@nocobase/plugin-sms-auth/src/server/sms-auth.ts(42,31): error TS2352: Conversion of type 'Authenticator' to type 'AuthModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Type 'Authenticator' is missing the following properties from type 'AuthModel': findUser, newUser, findOrCreateUser, _changedWithAssociations, and 38 more. -TypeScript: 4 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-test: plugins/@nocobase/plugin-workflow-test build start -@nocobase/plugin-workflow-test: build plugin client -@nocobase/plugin-workflow-test: build plugin server source -@nocobase/plugin-workflow-test: delete server files -@nocobase/plugin-workflow-test: build plugin server dependencies -@nocobase/plugin-workflow-test: These packages @nocobase/utils, lodash, @nocobase/test, @nocobase/server, @nocobase/resourcer, @nocobase/data-source-manager, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-test: write external version -Error: Cannot find module '@nocobase/client' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/resourcer' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-test: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-test/src/client/index.ts(1,24): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/e2e/e2eCollectionModel.ts(1,23): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/e2e/e2eCollectionModel.ts(2,27): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(3,10): error TS2614: Module '"@nocobase/server"' has no exported member 'ApplicationOptions'. Did you mean to use 'import ApplicationOptions from "@nocobase/server"' instead? -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(9,27): error TS2307: Cannot find module '@nocobase/resourcer' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(10,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(11,21): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-test/src/server/index.ts(31,11): error TS2339: Property 'plugins' does not exist on type 'MockServerOptions'. -packages/plugins/@nocobase/plugin-workflow-test/src/server/instructions.ts(1,24): error TS2307: Cannot find module '@nocobase/utils' or its corresponding type declarations. -TypeScript: 9 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow: plugins/@nocobase/plugin-workflow build start -@nocobase/plugin-workflow: build plugin client -@nocobase/plugin-workflow: The build tool will package all dependencies into the dist directory, so you don't need to put them in @nocobase/plugin-workflow-test. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-workflow: build plugin server source -@nocobase/plugin-workflow: The build tool will package all dependencies into the dist directory, so you don't need to put them in @nocobase/plugin-workflow-test. Instead, they should be placed in dependencies. For more information, please refer to: devDependencies. https://docs.nocobase.com/development/deps -@nocobase/plugin-workflow: delete server files -@nocobase/plugin-workflow: build plugin server dependencies -@nocobase/plugin-workflow: These packages lru-cache, cron-parser will be bundled to dist/node_modules. These packages @nocobase/database, @nocobase/server, @nocobase/utils, @nocobase/logger, @nocobase/evaluators, @nocobase/actions, lodash, @nocobase/data-source-manager, sequelize will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow: write external version -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '../../../../../core/client/node_modules/antd-style/lib'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow/src/client/style.tsx(3,7): error TS2742: The inferred type of 'useStyles' cannot be named without a reference to '.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/CreateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/DestroyInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/QueryInstruction.ts(2,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/instructions/UpdateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(124,48): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Plugin'. - Type 'PluginWorkflowServer' is missing the following properties from type 'Plugin': description, filename, length, item, and 2 more. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(134,56): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Plugin'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(143,40): error TS2345: Argument of type 'typeof CollectionTrigger' is not assignable to parameter of type 'CollectionTrigger | (new (p: Plugin) => CollectionTrigger)'. - Type 'typeof CollectionTrigger' is not assignable to type 'new (p: Plugin) => CollectionTrigger'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CollectionTrigger' is not assignable to type 'new (p: Plugin) => CollectionTrigger'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is missing the following properties from type 'PluginWorkflowServer': instructions, triggers, functions, enabledCache, and 58 more. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(144,38): error TS2345: Argument of type 'typeof ScheduleTrigger' is not assignable to parameter of type 'ScheduleTrigger | (new (p: Plugin) => ScheduleTrigger)'. - Type 'typeof ScheduleTrigger' is not assignable to type 'new (p: Plugin) => ScheduleTrigger'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => ScheduleTrigger' is not assignable to type 'new (p: Plugin) => ScheduleTrigger'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(152,45): error TS2345: Argument of type 'typeof CalculationInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof CalculationInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CalculationInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(153,43): error TS2345: Argument of type 'typeof ConditionInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof ConditionInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => ConditionInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(154,37): error TS2345: Argument of type 'typeof default' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(155,40): error TS2345: Argument of type 'typeof CreateInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof CreateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => CreateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(156,41): error TS2345: Argument of type 'typeof DestroyInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof DestroyInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => DestroyInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(157,39): error TS2345: Argument of type 'typeof QueryInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof QueryInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => QueryInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts(158,40): error TS2345: Argument of type 'typeof UpdateInstruction' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof UpdateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => UpdateInstruction' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is not assignable to type 'PluginWorkflowServer'. -packages/plugins/@nocobase/plugin-workflow/src/server/triggers/CollectionTrigger.ts(5,50): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow/src/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.ts(6,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -TypeScript: 17 semantic errors -TypeScript: 28 declaration errors -TypeScript: -23 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-workflow-action-trigger: plugins/@nocobase/plugin-workflow-action-trigger build start -@nocobase/plugin-workflow-action-trigger: build plugin client -@nocobase/plugin-workflow-action-trigger: build plugin server source -@nocobase/plugin-workflow-action-trigger: delete server files -@nocobase/plugin-workflow-action-trigger: build plugin server dependencies -@nocobase/plugin-workflow-action-trigger: These packages react-i18next, lodash, sequelize, @nocobase/database, @nocobase/server, @nocobase/actions, @nocobase/plugin-workflow, @nocobase/data-source-manager will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-action-trigger: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-action-trigger: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(1,21): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(2,35): error TS2307: Cannot find module 'sequelize' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(4,23): error TS2614: Module '"@nocobase/server"' has no exported member 'DefaultContext'. Did you mean to use 'import DefaultContext from "@nocobase/server"' instead? -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(5,48): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(8,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(20,42): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(23,22): error TS2339: Property 'throw' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(26,13): error TS2339: Property 'status' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(37,17): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(57,55): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(58,38): error TS2339: Property 'get' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(60,50): error TS2339: Property 'state' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(86,19): error TS2339: Property 'action' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(87,22): error TS2339: Property 'body' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(93,17): error TS2339: Property 'body' does not exist on type 'Context'. -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(123,41): error TS2749: 'Application' refers to a value, but is being used as a type here. Did you mean 'typeof Application'? -packages/plugins/@nocobase/plugin-workflow-action-trigger/src/server/ActionTrigger.ts(123,61): error TS2339: Property 'app' does not exist on type 'Context'. -TypeScript: 17 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-aggregate: plugins/@nocobase/plugin-workflow-aggregate build start -@nocobase/plugin-workflow-aggregate: build plugin client -@nocobase/plugin-workflow-aggregate: build plugin server source -@nocobase/plugin-workflow-aggregate: delete server files -@nocobase/plugin-workflow-aggregate: build plugin server dependencies -@nocobase/plugin-workflow-aggregate: These packages react-i18next, @nocobase/data-source-manager, @nocobase/database, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-aggregate: write external version -Error: Cannot find module '@nocobase/data-source-manager' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-aggregate: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-aggregate/src/server/AggregateInstruction.ts(1,37): error TS2307: Cannot find module '@nocobase/data-source-manager' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-aggregate/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 2 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-delay: plugins/@nocobase/plugin-workflow-delay build start -@nocobase/plugin-workflow-delay: build plugin client -@nocobase/plugin-workflow-delay: build plugin server source -@nocobase/plugin-workflow-delay: delete server files -@nocobase/plugin-workflow-delay: build plugin server dependencies -@nocobase/plugin-workflow-delay: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-delay: write external version -@nocobase/plugin-workflow-delay: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-delay/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-dynamic-calculation: plugins/@nocobase/plugin-workflow-dynamic-calculation build start -@nocobase/plugin-workflow-dynamic-calculation: build plugin client -@nocobase/plugin-workflow-dynamic-calculation: build plugin server source -@nocobase/plugin-workflow-dynamic-calculation: delete server files -@nocobase/plugin-workflow-dynamic-calculation: build plugin server dependencies -@nocobase/plugin-workflow-dynamic-calculation: These packages react-i18next, @nocobase/utils, @nocobase/plugin-workflow, @nocobase/evaluators, @nocobase/server, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-dynamic-calculation: write external version -@nocobase/plugin-workflow-dynamic-calculation: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/server/Plugin.ts(13,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-loop: plugins/@nocobase/plugin-workflow-loop build start -@nocobase/plugin-workflow-loop: build plugin client -@nocobase/plugin-workflow-loop: build plugin server source -@nocobase/plugin-workflow-loop: delete server files -@nocobase/plugin-workflow-loop: build plugin server dependencies -@nocobase/plugin-workflow-loop: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-loop: write external version -@nocobase/plugin-workflow-loop: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-loop/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-manual: plugins/@nocobase/plugin-workflow-manual build start -@nocobase/plugin-workflow-manual: build plugin client -@nocobase/plugin-workflow-manual: build plugin server source -@nocobase/plugin-workflow-manual: delete server files -@nocobase/plugin-workflow-manual: build plugin server dependencies -@nocobase/plugin-workflow-manual: These packages react-i18next, @nocobase/utils, @nocobase/plugin-workflow, @nocobase/server, @nocobase/actions, @nocobase/resourcer, @nocobase/database will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-manual: write external version -Error: Cannot find module '@nocobase/actions' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -Error: Cannot find module '@nocobase/resourcer' -Require stack: -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js -- /Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) - at Function.resolve (node:internal/modules/helpers:187:19) - at getDepPkgPath (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js:73:30) - at /Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:165:65 - at Array.reduce () - at writeExternalPackageVersion (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:163:32) - at buildPlugin (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js:343:3) - at async buildPackage (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:114:3) - at async buildPackages (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:89:5) - at async build (/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js:76:3) { - code: 'MODULE_NOT_FOUND', - requireStack: [ - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/utils/getDepsConfig.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/buildPlugin.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/build.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/lib/index.js', - '/Users/seal/Documents/projects/codes/tachycode/packages/core/build/bin/nocobase-build.js' - ] -} -@nocobase/plugin-workflow-manual: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/actions.ts(1,32): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/collections/2-jobs.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/collections/3-users.ts(3,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '../../../../../../core/database/node_modules/deepmerge'. This is likely not portable. A type annotation is necessary. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(2,21): error TS2307: Cannot find module '@nocobase/actions' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(3,29): error TS2307: Cannot find module '@nocobase/resourcer' or its corresponding type declarations. -packages/plugins/@nocobase/plugin-workflow-manual/src/server/Plugin.ts(41,50): error TS2345: Argument of type 'typeof default' is not assignable to parameter of type 'InstructionInterface | (new (p: Plugin) => InstructionInterface)'. - Type 'typeof default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of construct signatures are incompatible. - Type 'new (workflow: PluginWorkflowServer) => default' is not assignable to type 'new (p: Plugin) => InstructionInterface'. - Types of parameters 'workflow' and 'p' are incompatible. - Type 'Plugin' is missing the following properties from type 'PluginWorkflowServer': instructions, triggers, functions, enabledCache, and 58 more. -TypeScript: 4 semantic errors -TypeScript: 10 declaration errors -TypeScript: -5 emit errors -TypeScript: emit failed -errors in build declareation. -@nocobase/plugin-workflow-parallel: plugins/@nocobase/plugin-workflow-parallel build start -@nocobase/plugin-workflow-parallel: build plugin client -@nocobase/plugin-workflow-parallel: build plugin server source -@nocobase/plugin-workflow-parallel: delete server files -@nocobase/plugin-workflow-parallel: build plugin server dependencies -@nocobase/plugin-workflow-parallel: These packages react-i18next, @nocobase/plugin-workflow, @nocobase/server will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-parallel: write external version -@nocobase/plugin-workflow-parallel: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-parallel/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-request: plugins/@nocobase/plugin-workflow-request build start -@nocobase/plugin-workflow-request: build plugin client -@nocobase/plugin-workflow-request: build plugin server source -@nocobase/plugin-workflow-request: delete server files -@nocobase/plugin-workflow-request: build plugin server dependencies -@nocobase/plugin-workflow-request: These packages react-i18next, @nocobase/server, @nocobase/plugin-workflow, axios will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-request: write external version -@nocobase/plugin-workflow-request: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-request/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/plugin-workflow-sql: plugins/@nocobase/plugin-workflow-sql build start -@nocobase/plugin-workflow-sql: build plugin client -@nocobase/plugin-workflow-sql: build plugin server source -@nocobase/plugin-workflow-sql: delete server files -@nocobase/plugin-workflow-sql: build plugin server dependencies -@nocobase/plugin-workflow-sql: These packages react-i18next, @nocobase/server, @nocobase/plugin-workflow will be exclude. For more information, please refer to: https://docs.nocobase.com/development/deps. -@nocobase/plugin-workflow-sql: write external version -@nocobase/plugin-workflow-sql: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/plugins/@nocobase/plugin-workflow-sql/src/server/Plugin.ts(8,28): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 1 semantic error -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -@nocobase/preset-nocobase: presets/nocobase build start -@nocobase/preset-nocobase: build cjs -@nocobase/preset-nocobase: build declaration -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name 'StaticEventEmitterOptions' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_DOMEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -/Users/seal/Documents/projects/codes/tachycode/packages/core/server/lib/gateway/index.js(1,1): error TS9006: Declaration emit for this file requires using private name '_NodeEventTarget' from module '"events"'. An explicit type annotation may unblock declaration emit. -packages/presets/nocobase/src/client/index.ts(1,60): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. -packages/presets/nocobase/src/client/index.ts(18,10): error TS2339: Property 'router' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(19,10): error TS2339: Property 'router' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(19,46): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(20,10): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/client/index.ts(25,16): error TS2339: Property 'app' does not exist on type 'NocoBaseClientPresetPlugin'. -packages/presets/nocobase/src/server/index.ts(2,15): error TS2307: Cannot find module 'lodash' or its corresponding type declarations. -packages/presets/nocobase/src/server/index.ts(119,24): error TS2347: Untyped function calls may not accept type arguments. -TypeScript: 8 semantic errors -TypeScript: 8 declaration errors -TypeScript: -5 emit errors -TypeScript: emit succeeded (with errors) -errors in build declareation. -VERSION: 0.21.0-alpha.1 -VERSION: 0.21.0-alpha.1 -info - Umi v4.0.89 -info - Preparing... -ℹ Compiling Webpack -✔ Webpack: Compiled successfully in 16.23m -info - Memory Usage: 1453.44 MB (RSS: 1158.94 MB) - -info - File sizes after gzip: - - 417.81 kB client/npm.elkjs_at_0.8.2.052beecb.async.js - 401.81 kB client/p__index.e5910f05.async.js - 327.75 kB client/3962.a314a078.async.js - 290.56 kB client/npm.highlight.js_at_10.7.3.a680914b.async.js - 237.74 kB client/npm.antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.5679f4a0.async.js - 196.93 kB client/npm.mermaid_at_9.4.3.b42ca24b.async.js - 157.39 kB client/umi.e370ed21.js - 151.67 kB client/npm.mathjs_at_10.6.4.0e622c06.async.js - 129.44 kB client/npm._at_ant-design_icons-svg_at_4.3.1.5f88d91e.async.js - 118.96 kB client/npm.cytoscape_at_3.28.0.76a23a36.async.js - 85.81 kB client/npm._at_antv_g2_at_4.2.10.a290c9e7.async.js - 62 kB client/npm._at_antv_g2plot_at_2.4.31.97b917e7.async.js - 55.4 kB client/npm.quill_at_1.3.7.665dff58.async.js - 46.64 kB client/npm.dayjs_at_1.11.10.6303fb61.async.js - 40.21 kB client/npm.lodash_at_4.17.21.368000f2.async.js - 30.77 kB client/npm._at_formily_antd-v5_at_1.1.9__at_types_react-dom_at_17.0.25__at_types_react_at_17.0.73_antd_at_5.12.8_react-dom_at_18_hn63mpqyeialzxn3jh353u4o5q.72fce86a.async.js - 30.48 kB client/npm.entities_at_4.5.0.3851882a.async.js - 26.66 kB client/npm._at_ant-design_icons_at_5.2.6_react-dom_at_18.2.0_react_at_18.2.0.2b1f2e79.async.js - 26.49 kB client/npm._at_antv_component_at_0.8.35.c1ac0c31.async.js - 26.1 kB client/2834.d01cf572.async.js - 24.49 kB client/npm._at_formulajs_formulajs_at_4.2.0.6264ab95.async.js - 20.49 kB client/npm.ahooks_at_3.7.8_react_at_18.2.0.020cd71c.async.js - 20.07 kB client/npm.rc-picker_at_3.14.6_dayjs_at_1.11.10_react-dom_at_18.2.0_react_at_18.2.0.c622457b.async.js - 18.97 kB client/npm.axios_at_1.6.7.0800ed78.async.js - 17.7 kB client/npm.jstat_at_1.9.6.be7127dd.async.js - 17.54 kB client/npm._at_remix-run_router_at_1.14.0.861623be.async.js - 17.29 kB client/npm._at_antv_g-base_at_0.5.15.455fb2d5.async.js - 17.04 kB client/npm._at_ant-design_pro-provider_at_2.13.5_antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.4e6034a5.async.js - 16.46 kB client/npm.postcss_at_8.4.35.3224b56c.async.js - 16.23 kB client/npm.markdown-it_at_13.0.1.d1cf6947.async.js - 16.06 kB client/npm.dagre-d3-es_at_7.0.9.bb354b51.async.js - 15.58 kB client/npm._at_formily_core_at_2.3.0.662f2481.async.js - 15.34 kB client/npm.i18next_at_22.5.1.16459d0c.async.js - 14.66 kB client/npm.rc-table_at_7.36.1_react-dom_at_18.2.0_react_at_18.2.0.a4cf2f7a.async.js - 14.06 kB client/npm.rc-tree_at_5.8.2_react-dom_at_18.2.0_react_at_18.2.0.2af9fdfd.async.js - 14.03 kB client/npm.lodash-es_at_4.17.21.02ad823e.async.js - 13.85 kB client/npm.layout-base_at_1.0.2.9896c58b.async.js - 13.74 kB client/npm.rc-select_at_14.10.0_react-dom_at_18.2.0_react_at_18.2.0.5071ce4a.async.js - 13.57 kB client/npm._at_dnd-kit_core_at_6.1.0_react-dom_at_18.2.0_react_at_18.2.0.ad6694b2.async.js - 12.85 kB client/npm.decimal.js_at_10.4.3.9302dfd3.async.js - 12.27 kB client/npm._at_dnd-kit_core_at_5.0.3_react-dom_at_18.2.0_react_at_18.2.0.90e23ef3.async.js - 11.83 kB client/npm.entities_at_3.0.1.636454f3.async.js - 11.15 kB client/npm._at_antv_g-canvas_at_0.5.14.1c318cdd.async.js - 10.79 kB client/npm.rc-field-form_at_1.41.0_react-dom_at_18.2.0_react_at_18.2.0.9e666828.async.js - 10.44 kB client/npm.rc-util_at_5.38.1_react-dom_at_18.2.0_react_at_18.2.0.7950be37.async.js - 9.8 kB client/npm._at_ant-design_react-slick_at_1.0.2_react_at_18.2.0.821ae227.async.js - 9.32 kB client/npm._at_ant-design_cssinjs_at_1.18.2_react-dom_at_18.2.0_react_at_18.2.0.f6e24bcc.async.js - 8.73 kB client/npm.rc-menu_at_9.12.4_react-dom_at_18.2.0_react_at_18.2.0.71bc75b3.async.js - 8.52 kB client/npm.dompurify_at_2.4.3.b707d5cc.async.js - 8.36 kB client/npm._at_antv_g-svg_at_0.5.7.fba1a42e.async.js - 8.25 kB client/npm.react-image-lightbox_at_5.1.4_react-dom_at_18.2.0_react_at_18.2.0.3ef8d221.async.js - 7.8 kB client/npm._at_rc-component_trigger_at_1.18.2_react-dom_at_18.2.0_react_at_18.2.0.e9a63bfd.async.js - 7.69 kB client/3332.1ee0bfb5.async.js - 7.44 kB client/npm.readable-stream_at_2.3.8.41dbe97d.async.js - 7.35 kB client/npm._at_formily_path_at_2.3.0.fb1a2129.async.js - 7.12 kB client/npm.rc-tabs_at_12.14.1_react-dom_at_18.2.0_react_at_18.2.0.588e5dad.async.js - 7.01 kB client/npm.rc-cascader_at_3.20.0_react-dom_at_18.2.0_react_at_18.2.0.a468a743.async.js - 6.99 kB client/npm._at_antv_path-util_at_2.0.15.13468bd5.async.js - 6.66 kB client/npm.react-router-dom_at_6.21.0_react-dom_at_18.2.0_react_at_18.2.0.8416bba4.async.js - 6.45 kB client/npm._at_antv_scale_at_0.3.18.fa0604b1.async.js - 6.39 kB client/npm.htmlparser2_at_8.0.2.178d3320.async.js - 6.17 kB client/npm.antd-style_at_3.4.5__at_types_react_at_17.0.73_antd_at_5.12.8_react-dom_at_18.2.0_react_at_18.2.0.01cb7131.async.js - 5.52 kB client/npm._at_formily_reactive_at_2.3.0.d0673f9c.async.js - 5.01 kB client/npm.d3-shape_at_3.2.0.4baf1a99.async.js - 4.9 kB client/npm._at_antv_util_at_2.0.17.63743150.async.js - 4.77 kB client/npm.readable-stream_at_1.0.34.052989ed.async.js - 4.35 kB client/npm.gl-matrix_at_3.4.3.679e29fb.async.js - 4.19 kB client/npm.d3-selection_at_3.0.0.7cce3f0d.async.js - 4.18 kB client/npm.khroma_at_2.1.0.21d4f484.async.js - 3.78 kB client/npm.d3-transition_at_3.0.1_d3-selection_at_3.0.0.3f199875.async.js - 3.75 kB client/p__index.9a8aaa6c.chunk.css - 3.12 kB client/npm.linkify-it_at_4.0.1.e08e751b.async.js - 1.77 kB client/browser-checker.js - 708 B client/808.146a732d.async.js - 289 B client/global.css - -event - Build index.html diff --git a/.tmp_scripts/dev-error.log b/.tmp_scripts/dev-error.log deleted file mode 100644 index 2f2ef8ee5..000000000 --- a/.tmp_scripts/dev-error.log +++ /dev/null @@ -1,740 +0,0 @@ -error - ./packages/core/client/src/schema-component/common/utils/logic.js:4:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/common/utils' -error - ./packages/core/client/src/api-client/hooks/assign.ts:2:0-34 -Module not found: Error: Can't resolve 'deepmerge' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/api-client/hooks' -error - ./packages/core/client/src/application/utils/globalDeps.ts:3:0-62 -Module not found: Error: Can't resolve '@dnd-kit/accessibility' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/application/utils' -error - ./packages/core/client/src/application/utils/globalDeps.ts:7:0-54 -Module not found: Error: Can't resolve '@dnd-kit/utilities' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/application/utils' -error - ./packages/core/client/src/block-provider/BlockProvider.tsx:15:0-30 -Module not found: Error: Can't resolve 'deepmerge' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/block-provider' -error - ./packages/core/client/src/collection-manager/templates/components/sql-collection/FieldsConfigure.tsx:14:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/collection-manager/templates/components/sql-collection' -error - ./packages/core/client/src/index.ts:2:0-32 -Module not found: Error: Can't resolve 'dayjs/plugin/isBetween' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:3:0-36 -Module not found: Error: Can't resolve 'dayjs/plugin/isSameOrAfter' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:4:0-37 -Module not found: Error: Can't resolve 'dayjs/plugin/isSameOrBefore' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:5:0-30 -Module not found: Error: Can't resolve 'dayjs/plugin/isoWeek' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:6:0-33 -Module not found: Error: Can't resolve 'dayjs/plugin/localeData' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:7:0-36 -Module not found: Error: Can't resolve 'dayjs/plugin/quarterOfYear' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:8:0-26 -Module not found: Error: Can't resolve 'dayjs/plugin/utc' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/index.ts:9:0-30 -Module not found: Error: Can't resolve 'dayjs/plugin/weekday' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src' -error - ./packages/core/client/src/nocobase-buildin-plugin/plugins/LocalePlugin.ts:11:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/nocobase-buildin-plugin/plugins' -error - ./packages/core/client/src/nocobase-buildin-plugin/plugins/LocalePlugin.ts:73:21-62 -Module not found: Error: Can't resolve 'dayjs/locale' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/nocobase-buildin-plugin/plugins' -error - ./packages/core/client/src/pm/PluginDetail.tsx:4:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/pm' -error - ./packages/core/client/src/pm/PluginDetail.tsx:5:0-53 -Module not found: Error: Can't resolve 'dayjs/plugin/relativeTime' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/pm' -error - ./packages/core/client/src/schema-component/antd/association-field/InternalCascadeSelect.tsx:18:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/association-field' -error - ./packages/core/client/src/schema-component/antd/date-picker/ReadPretty.tsx:6:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/date-picker' -error - ./packages/core/client/src/schema-component/antd/date-picker/util.ts:3:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/date-picker' -error - ./packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx:9:0-45 -Module not found: Error: Can't resolve 'rc-util/lib/ref' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/expand-action' -error - ./packages/core/client/src/schema-component/antd/input-number/ReadPretty.tsx:5:0-35 -Module not found: Error: Can't resolve 'd3-format' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/input-number' -error - ./packages/core/client/src/schema-component/antd/nanoIDInput/NanoIDInput.tsx:4:0-52 -Module not found: Error: Can't resolve 'nanoid' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/nanoIDInput' -error - ./packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx:14:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/remote-select' -error - ./packages/core/client/src/schema-component/antd/time-picker/ReadPretty.tsx:5:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/time-picker' -error - ./packages/core/client/src/schema-component/antd/unixTimestamp/UnixTimestamp.tsx:7:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/unixTimestamp' -error - ./packages/core/client/src/schema-component/antd/variable/Input.tsx:24:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-component/antd/variable' -error - ./packages/core/client/src/schema-initializer/components/CreateRecordAction.tsx:12:0-45 -Module not found: Error: Can't resolve 'rc-util/lib/ref' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-initializer/components' -error - ./packages/core/client/src/schema-settings/DataTemplates/utils.tsx:15:0-33 -Module not found: Error: Can't resolve 'lru-cache' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-settings/DataTemplates' -error - ./packages/core/client/src/schema-settings/DateFormat/ExpiresRadio.tsx:7:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/core/client/src/schema-settings/DateFormat' -error - ./packages/plugins/@hera/plugin-core/src/client/components/SignaturePad.tsx:11:0-45 -Module not found: Error: Can't resolve 'throttle-debounce' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-core/src/client/components' -error - ./packages/plugins/@hera/plugin-core/src/client/hooks/useFilterBlockActionProps.tsx:9:0-24 -Module not found: Error: Can't resolve 'flat' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-core/src/client/hooks' -error - ./packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/NoticeBlockInitializer.tsx:12:0-40 -Module not found: Error: Can't resolve 'antd-mobile' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-mobile/src/client/schema-initializer' -error - ./packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/SwiperBlockInitializer.tsx:14:0-44 -Module not found: Error: Can't resolve 'antd-mobile' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-mobile/src/client/schema-initializer' -error - ./packages/plugins/@hera/plugin-mobile/src/client/schema-initializer/TabSearchBlockInitializer.tsx:18:0-62 -Module not found: Error: Can't resolve 'antd-mobile' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-mobile/src/client/schema-initializer' -error - ./packages/plugins/@hera/plugin-rental/src/client/custom-components/RecordFeeConverted.tsx:8:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/custom-components' -error - ./packages/plugins/@hera/plugin-rental/src/client/custom-components/RecordFeeConvertedRead.tsx:8:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/custom-components' -error - ./packages/plugins/@hera/plugin-rental/src/client/custom-components/RecordProductScope.tsx:5:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/custom-components' -error - ./packages/plugins/@hera/plugin-rental/src/client/custom-components/RecordSummary.tsx:8:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/custom-components' -error - ./packages/plugins/@hera/plugin-rental/src/client/custom-components/RecordTotalPrice.tsx:10:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/custom-components' -error - ./packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions/RecordPrintSetupMargingTopInitializer.tsx:12:0-34 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions' -error - ./packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions/SettlementExportExcel.tsx:3:0-30 -Module not found: Error: Can't resolve 'exceljs' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions' -error - ./packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions/SettlementExportExcel.tsx:4:0-36 -Module not found: Error: Can't resolve 'file-saver' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/actions' -error - ./packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks/UnusedRecordsBlockInitializer.tsx:11:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks' -error - ./packages/plugins/@hera/plugin-websocket/src/client/schema-initializer/WebsocketBlockInitializer.tsx:11:0-52 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@hera/plugin-websocket/src/client/schema-initializer' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/NewRole.tsx:7:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/RolesManagement.tsx:7:0-53 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/RolesManagement.tsx:9:0-40 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/RolesMenu.tsx:8:0-71 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/RolesMenu.tsx:9:0-62 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/RolesMenu.tsx:12:0-40 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/locale.ts:1:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/AvailableActions.tsx:4:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:7:0-63 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:8:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:10:0-41 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:11:0-31 -Module not found: Error: Can't resolve 'lodash/uniq' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:13:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:14:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/GeneralPermissions.tsx:15:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuItemsProvider.tsx:4:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:9:0-48 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:10:0-63 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:11:0-30 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:13:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:14:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/MenuPermissions.tsx:17:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/Permissions.tsx:6:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/PluginPermissions.tsx:9:0-48 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/PluginPermissions.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/PluginPermissions.tsx:12:0-33 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/StrategyActions.tsx:5:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/StrategyActions.tsx:6:0-52 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/StrategyActions.tsx:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/permissions/style.ts:3:0-42 -Module not found: Error: Can't resolve 'antd-style' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/permissions' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/schemas/roles.ts:3:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/schemas' -error - ./packages/plugins/@nocobase/plugin-acl/src/client/schemas/roles.ts:6:0-31 -Module not found: Error: Can't resolve 'lodash/pick' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-acl/src/client/schemas' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/BulkEditAction.Settings.tsx:2:0-48 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/BulkEditAction.Settings.tsx:5:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/CreateFormBulkEditBlockInitializer.tsx:8:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts:4:0-61 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts:5:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts:7:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/bulkEditFormItemSettings.ts:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx:8:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx:9:0-67 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx:10:0-40 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx:12:0-47 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component/BulkEditField.tsx:14:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/component' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/createBulkEditBlockUISchema.ts:2:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx:6:0-36 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx:8:0-81 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx:9:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-edit/src/client/utils.tsx:12:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-edit/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/BulkUpdateAction.Settings.tsx:3:0-48 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/BulkUpdateAction.Settings.tsx:4:0-42 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/BulkUpdateAction.Settings.tsx:6:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/locale/index.ts:2:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx:5:0-88 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client' -error - ./packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx:8:0-36 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-bulk-update/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.Settings.tsx:9:0-56 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.Settings.tsx:10:0-86 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.Settings.tsx:12:0-40 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.Settings.tsx:13:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.Settings.tsx:15:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.tsx:11:0-39 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.tsx:12:0-84 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.tsx:14:0-35 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-duplicate/src/client/DuplicateAction.tsx:16:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-duplicate/src/client' -error - ./packages/plugins/@nocobase/plugin-action-print/src/client/utils.ts:4:0-49 -Module not found: Error: Can't resolve 'react-to-print' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-action-print/src/client' -error - ./packages/plugins/@nocobase/plugin-auth/src/client/pages/AuthLayout.tsx:4:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-auth/src/client/pages' -error - ./packages/plugins/@nocobase/plugin-auth/src/client/pages/SignInPage.tsx:9:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-auth/src/client/pages' -error - ./packages/plugins/@nocobase/plugin-backup-restore/src/client/Configuration.tsx:7:0-96 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-backup-restore/src/client' -error - ./packages/plugins/@nocobase/plugin-backup-restore/src/client/Configuration.tsx:8:0-44 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-backup-restore/src/client' -error - ./packages/plugins/@nocobase/plugin-backup-restore/src/client/Configuration.tsx:11:0-36 -Module not found: Error: Can't resolve 'file-saver' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-backup-restore/src/client' -error - ./packages/plugins/@nocobase/plugin-backup-restore/src/client/locale/index.ts:2:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-backup-restore/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-calendar/src/locale/index.ts:3:0-55 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-calendar/src/locale' -error - ./packages/plugins/@nocobase/plugin-cas/src/client/locale/index.ts:1:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-cas/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-charts/src/client/select/shared.ts:5:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-charts/src/client/select' -error - ./packages/plugins/@nocobase/plugin-charts/src/client/settings/queryTypes.ts:1:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-charts/src/client/settings' -error - ./packages/plugins/@nocobase/plugin-custom-request/src/client/components/CustomRequestActionDesigner.tsx:8:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-custom-request/src/client/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/BreadcumbTitle.tsx:3:0-50 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/BreadcumbTitle.tsx:5:0-46 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:8:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:9:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:10:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:11:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:12:0-40 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:13:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/AddFieldAction.tsx:15:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx:7:0-43 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx:8:0-85 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx:9:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/CollectionFields.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx:7:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx:8:0-43 -Module not found: Error: Can't resolve '@formily/reactive' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx:9:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTable.tsx:14:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTabs.tsx:7:0-92 -Module not found: Error: Can't resolve '@dnd-kit/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTabs.tsx:8:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTabs.tsx:9:0-42 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/ConfigurationTabs.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:10:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:11:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:12:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:14:0-41 -Module not found: Error: Can't resolve 'lodash/cloneDeep' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:15:0-31 -Module not found: Error: Can't resolve 'lodash/omit' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx:17:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:10:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:11:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:12:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:13:0-41 -Module not found: Error: Can't resolve 'lodash/cloneDeep' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:14:0-31 -Module not found: Error: Can't resolve 'lodash/omit' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:15:0-29 -Module not found: Error: Can't resolve 'lodash/set' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditFieldAction.tsx:17:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.tsx:5:0-61 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.tsx:6:0-35 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionName.tsx:5:0-52 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionName.tsx:6:0-66 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionName.tsx:7:0-42 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionName.tsx:8:0-29 -Module not found: Error: Can't resolve 'classnames' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/CollectionName.tsx:10:0-65 -Module not found: Error: Can't resolve '@formily/antd-v5/esm/__builtins__' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/FieldTitleInput.tsx:5:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/FieldTitleInput.tsx:6:0-29 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/FieldTitleInput.tsx:7:0-34 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/FieldType.tsx:4:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/FieldType.tsx:6:0-35 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/TitleField.tsx:7:0-48 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/TitleField.tsx:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/UnSupportFields.tsx:4:0-38 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/UnSupportFields.tsx:5:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/index.tsx:7:0-30 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components/index.tsx:8:0-61 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/components' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/hooks.ts:3:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/hooks.ts:4:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/index.tsx:4:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema/collectionFields.ts:3:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema/collections.ts:5:0-40 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema/collections.ts:6:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema/collections.ts:7:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema/collections.ts:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/schema' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CreateDatabaseConnectAction.tsx:6:0-63 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CreateDatabaseConnectAction.tsx:7:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CreateDatabaseConnectAction.tsx:9:0-47 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CreateDatabaseConnectAction.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/DatabaseConnectionManager.tsx:6:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/DatabaseConnectionManager.tsx:8:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/DatabaseConnectionManager.tsx:9:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/EditDatabaseConnectionAction.tsx:7:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/EditDatabaseConnectionAction.tsx:10:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/EditDatabaseConnectionAction.tsx:11:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/AddCategoryAction.tsx:7:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/AddCategoryAction.tsx:8:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/AddCategoryAction.tsx:9:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/AddCategoryAction.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFields.tsx:13:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFields.tsx:14:0-43 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFields.tsx:15:0-69 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFields.tsx:16:0-58 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFields.tsx:18:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTable.tsx:5:0-43 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTable.tsx:6:0-95 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTable.tsx:7:0-63 -Module not found: Error: Can't resolve '@formily/react/esm/hooks/useAttach' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:10:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:11:0-84 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:13:0-29 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:14:0-51 -Module not found: Error: Can't resolve 'classnames' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:15:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.tsx:17:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTable.tsx:7:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTable.tsx:8:0-43 -Module not found: Error: Can't resolve '@formily/reactive' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTable.tsx:9:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTable.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:8:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:9:0-120 -Module not found: Error: Can't resolve '@dnd-kit/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:10:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:11:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:12:0-63 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:13:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.tsx:15:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/EditCategoryAction.tsx:7:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/EditCategoryAction.tsx:8:0-35 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/index.tsx:1:0-56 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas/collections.ts:5:0-40 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas/collections.ts:6:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas/collections.ts:7:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas/collections.ts:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/Configuration/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager/index.tsx:4:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/MainDataSourceManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/DataSourceTable.tsx:3:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/PermisionProvider.tsx:7:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/PermisionProvider.tsx:9:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RoleConfigure.tsx:5:0-46 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RoleConfigure.tsx:7:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RolesResourcesActions.tsx:6:0-56 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RolesResourcesActions.tsx:7:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RolesResourcesActions.tsx:8:0-44 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RolesResourcesActions.tsx:9:0-33 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/RolesResourcesActions.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/ScopeSelect.tsx:4:0-43 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/StrategyActions.tsx:5:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/StrategyActions.tsx:6:0-52 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/StrategyActions.tsx:8:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/index.tsx:4:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/index.tsx:5:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/schemas/roleCollections.ts:3:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/schemas/useSaveRoleResourceAction.ts:4:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/schemas' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager/style.ts:3:0-42 -Module not found: Error: Can't resolve 'antd-style' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/PermissionManager' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/ViewDatabaseConnectionAction.tsx:7:0-30 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/ViewDatabaseConnectionAction.tsx:8:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/ViewDatabaseConnectionAction.tsx:9:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks/index.ts:4:0-51 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks/index.ts:5:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks/index.ts:6:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/hooks' -error - ./packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema/index.ts:2:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/block/ChartDataProvider.tsx:7:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/block' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/block/transformers.tsx:5:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/block' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterItemInitializers.tsx:18:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterProvider.tsx:7:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterVariableInput.tsx:6:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/utils.ts:6:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/hooks/filter.ts:14:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/hooks' -error - ./packages/plugins/@nocobase/plugin-data-visualization/src/client/hooks/filter.ts:18:0-34 -Module not found: Error: Can't resolve 'deepmerge' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-data-visualization/src/client/hooks' -error - ./packages/plugins/@nocobase/plugin-export/src/client/useExportAction.ts:5:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-export/src/client' -error - ./packages/plugins/@nocobase/plugin-file-manager/src/client/FileStorage.tsx:7:0-63 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-file-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-file-manager/src/client/FileStorage.tsx:11:0-23 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-file-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/Gantt.Settings.tsx:3:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttActionInitializers.tsx:1:0-48 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttBlockInitializer.tsx:6:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttBlockInitializer.tsx:7:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttBlockInitializer.tsx:8:0-54 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttBlockInitializer.tsx:10:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/GanttBlockProvider.tsx:5:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar/calendar.tsx:4:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar/style.tsx:3:0-44 -Module not found: Error: Can't resolve '@ctrl/tinycolor' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar/top-part-of-calendar.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/calendar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/Event.tsx:1:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/gantt.tsx:11:0-39 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/gantt.tsx:12:0-64 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/gantt.tsx:14:0-31 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/gantt.tsx:15:0-34 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt/gantt.tsx:17:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/gantt' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/grid/grid-body.tsx:4:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/grid' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/other/horizontal-scroll.tsx:4:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/other' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/other/tooltip.tsx:4:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/other' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/other/vertical-scroll.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/other' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar/bar-display.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar/bar-small.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar/bar.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar/style.tsx:3:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/bar' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/milestone/milestone.tsx:4:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/milestone' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/milestone/style.tsx:3:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/milestone' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/project/project.tsx:3:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/project' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/project/style.tsx:3:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/project' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item/task-item.tsx:5:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client/components/task-item' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/createGanttBlockUISchema.tsx:2:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-gantt/src/client/utils.tsx:2:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-gantt/src/client' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/GraphDrawPage.tsx:14:0-34 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/GraphDrawPage.tsx:19:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/action-hooks.tsx:11:0-41 -Module not found: Error: Can't resolve 'lodash/cloneDeep' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/ConnectorAction.tsx:10:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/DirectionAction.tsx:9:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/Entity.tsx:13:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/Entity.tsx:18:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components/LocateCollectionAction.tsx:10:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/components' -error - ./packages/plugins/@nocobase/plugin-graph-collection-manager/src/client/utils.tsx:3:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-graph-collection-manager/src/client' -error - ./packages/plugins/@nocobase/plugin-import/src/client/useImportAction.ts:5:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-import/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort/index.tsx:8:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort/index.tsx:9:0-64 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort/index.tsx:11:0-37 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort/index.tsx:13:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort/index.tsx:14:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/CreateAndSelectSort' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.Designer.tsx:5:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.Designer.tsx:6:0-48 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.Designer.tsx:7:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.Designer.tsx:9:0-29 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.Designer.tsx:11:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.tsx:6:0-35 -Module not found: Error: Can't resolve '@emotion/css' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.tsx:7:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.tsx:8:0-74 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.tsx:10:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Card.tsx:11:0-29 -Module not found: Error: Can't resolve 'classnames' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.CardViewer.tsx:1:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.Settings.tsx:3:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.tsx:9:0-93 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/Kanban.tsx:11:0-33 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockInitializer.tsx:6:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockInitializer.tsx:7:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockInitializer.tsx:8:0-63 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockInitializer.tsx:10:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockProvider.tsx:9:0-66 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockProvider.tsx:10:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/KanbanBlockProvider.tsx:11:0-31 -Module not found: Error: Can't resolve 'lodash/uniq' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/board/Board.tsx:8:0-54 -Module not found: Error: Can't resolve 'react-beautiful-dnd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/board' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/board/Card.tsx:4:0-48 -Module not found: Error: Can't resolve 'react-beautiful-dnd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/board' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/board/Column.tsx:6:0-48 -Module not found: Error: Can't resolve 'react-beautiful-dnd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/board' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/board/style.ts:3:0-42 -Module not found: Error: Can't resolve 'antd-style' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/board' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/board/withDroppable.tsx:6:0-48 -Module not found: Error: Can't resolve 'react-beautiful-dnd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/board' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/createKanbanBlockUISchema.ts:3:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client' -error - ./packages/plugins/@nocobase/plugin-kanban/src/client/locale/index.ts:2:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-kanban/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/Localization.tsx:7:0-49 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/Localization.tsx:8:0-43 -Module not found: Error: Can't resolve '@formily/core' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/Localization.tsx:9:0-58 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/Localization.tsx:11:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/Localization.tsx:12:0-111 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client' -error - ./packages/plugins/@nocobase/plugin-localization-management/src/client/locale/index.ts:1:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-localization-management/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-logger/src/client/LogsDownloader.tsx:9:0-82 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-logger/src/client' -error - ./packages/plugins/@nocobase/plugin-logger/src/client/LogsDownloader.tsx:10:0-65 -Module not found: Error: Can't resolve '@ant-design/icons' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-logger/src/client' -error - ./packages/plugins/@nocobase/plugin-logger/src/client/LogsDownloader.tsx:12:0-39 -Module not found: Error: Can't resolve 'ahooks' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-logger/src/client' -error - ./packages/plugins/@nocobase/plugin-logger/src/client/locale/index.ts:2:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-logger/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-map/src/client/block/MapBlock.Settings.tsx:6:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-map/src/client/block' -error - ./packages/plugins/@nocobase/plugin-map/src/client/components/Designer.tsx:6:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-map/src/client/components' -error - ./packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/hooks/useSchemaPatch.ts:7:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-mobile-client/src/client/core/schema/hooks' -error - ./packages/plugins/@nocobase/plugin-snapshot-field/src/client/interface.ts:10:0-28 -Module not found: Error: Can't resolve 'lodash' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-snapshot-field/src/client' -error - ./packages/plugins/@nocobase/plugin-theme-editor/src/client/locale/index.ts:1:0-55 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-theme-editor/src/client/locale' -error - ./packages/plugins/@nocobase/plugin-users/src/client/PasswordField.tsx:5:0-40 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/PasswordField.tsx:7:0-42 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/RoleUsersManager.tsx:7:0-27 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/UserRolesField.tsx:4:0-50 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/UserRolesField.tsx:6:0-27 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/UsersManagement.tsx:7:0-28 -Module not found: Error: Can't resolve 'antd' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/locale.ts:1:0-47 -Module not found: Error: Can't resolve 'react-i18next' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client' -error - ./packages/plugins/@nocobase/plugin-users/src/client/schemas/users.ts:5:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-users/src/client/schemas' -error - ./packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client/ActionTrigger.tsx:9:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client' -error - ./packages/plugins/@nocobase/plugin-workflow-aggregate/src/client/AggregateInstruction.tsx:17:0-41 -Module not found: Error: Can't resolve '@formily/react' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow-aggregate/src/client' -error - ./packages/plugins/@nocobase/plugin-workflow-manual/src/client/WorkflowTodo.tsx:15:0-26 -Module not found: Error: Can't resolve 'dayjs' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow-manual/src/client' -error - ./packages/plugins/@nocobase/plugin-workflow-request/src/client/RequestInstruction.tsx:7:0-46 -Module not found: Error: Can't resolve '@formily/antd-v5' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow-request/src/client' -error - ./packages/plugins/@nocobase/plugin-workflow/src/client/components/CollectionBlockInitializer.tsx:9:0-38 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow/src/client/components' -error - ./packages/plugins/@nocobase/plugin-workflow/src/client/settings/customizeSubmitToWorkflowActionSettings.tsx:2:0-42 -Module not found: Error: Can't resolve '@formily/shared' in '/Users/seal/Documents/projects/codes/tachycode/packages/plugins/@nocobase/plugin-workflow/src/client/settings' \ No newline at end of file diff --git a/.tmp_scripts/fix_build_error.mjs b/.tmp_scripts/fix_build_error.mjs deleted file mode 100644 index ba279e165..000000000 --- a/.tmp_scripts/fix_build_error.mjs +++ /dev/null @@ -1,131 +0,0 @@ -import { readFile, readdir, stat, writeFile } from "fs/promises"; -import { join, dirname } from "path"; -import { fileURLToPath } from 'url'; - -const deps = []; - -const directoryPath = "./packages"; // 替换成你的目录路径 - -function isDirectoryExcluded(dirname) { - return dirname === "node_modules"; // 排除 node_modules 目录 -} - -async function replaceInPackageJson(filePath) { - try { - const data = await readFile(filePath, "utf8"); - const pkg = JSON.parse(data); - for (let key of ['devDependencies', 'dependencies']) { - if (key in pkg) { - for (let name in pkg[key]) { - deps.push({ - name, - version: pkg[key][name], - }); - } - } - } - } catch (err) { - console.error("Error reading file:", err); - } -} - -async function traverseDirectory(currentPath) { - try { - const files = await readdir(currentPath); - for (let file of files) { - const filePath = join(currentPath, file); - const stats = await stat(filePath); - if (stats.isDirectory() && !isDirectoryExcluded(file)) { - await traverseDirectory(filePath); - } else if (stats.isFile() && file === "package.json") { - await replaceInPackageJson(filePath); - } - } - } catch (err) { - if (err) { - console.error("Error reading directory:", err); - return; - } - } -} - -await traverseDirectory(directoryPath); - -// 排序 -deps.sort((a, b) => a.name < b.name ? -1 : 1) - -const dequeDeps = [] -dequeDeps.push(deps[0]); -deps.forEach(dep => { - const lastDep = dequeDeps[dequeDeps.length - 1]; - if (lastDep.name === dep.name && lastDep.version === dep.version) { - return; - } - dequeDeps.push(dep); -}); - - -for (let dep of deps) { - console.log(JSON.stringify({[dep.name]: dep.version})) -} - -const filename = fileURLToPath(import.meta.url); -const curdir = dirname(filename); - -const pkgs = []; - -const data = await readFile(join(curdir, './build.2.log'), 'utf-8'); -for (let line of data.split('\n')) { - const result = line.match(/([^:]*): ([^ ]*) build start/) - if (result) { - const pkg = { - name: result[1], - dir: result[2], - missings: [], - }; - pkgs.push(pkg); - console.log(JSON.stringify(pkg)); - } - const moduleMatch = line.match(/Cannot find module '([^']*)'/) - if (moduleMatch) { - pkgs[pkgs.length - 1].missings.push(moduleMatch[1]); - } -} - -const notFound = []; - -for (let pkg of pkgs) { - // 处理 xx/yy/client 情况 - pkg.missings = pkg.missings.map((missing) => - missing.split('/').length === 3 && missing.endsWith('/client') ? missing.split('/').slice(0, 2).join('/') : missing, - ); - pkg.missings = [...(new Set(pkg.missings))] - // console.log(JSON.stringify(pkg)); - - for (let dep of pkg.missings) { - const foundDep = dequeDeps.find(pkg => pkg.name === dep) - const path = join(curdir, `../packages/${pkg.dir}/package.json`) - if (!foundDep) { - console.warn(dep + ' is not found'); - notFound.push({ dep, path }); - continue - } - const pkgContent = JSON.parse(await readFile(path, "utf-8")); - console.log(foundDep, foundDep.version, path); - if ('peerDependencies' in pkgContent && (dep.startsWith('@nocobase/') || dep.startsWith('@hera/'))) { - if (dep !== pkg.name) { - pkgContent['peerDependencies'][dep] = 'workspace:*'; - } - } else if ('devDependencies' in pkgContent) { - pkgContent['devDependencies'][dep] = foundDep.version; - } else if ('dependencies' in pkgContent){ - pkgContent['dependencies'][dep] = foundDep.version; - } else { - pkgContent['devDependencies'] = { [dep]: foundDep.version }; - } - await writeFile(path, JSON.stringify(pkgContent, null, 2), 'utf8') - } -} - - -console.log(notFound); diff --git a/.tmp_scripts/result b/.tmp_scripts/result deleted file mode 100644 index 1fbe1cca4..000000000 --- a/.tmp_scripts/result +++ /dev/null @@ -1,778 +0,0 @@ -{"@ahooksjs/use-url-state":"3.5.1"} -{"@alicloud/dysmsapi20170525":"2.0.17"} -{"@alicloud/openapi-client":"0.4.1"} -{"@alicloud/tea-util":"1.4.4"} -{"@amap/amap-jsapi-loader":"^1.0.1"} -{"@amap/amap-jsapi-types":"^0.0.10"} -{"@ant-design/cssinjs":"^1.11.1"} -{"@ant-design/cssinjs":"^1.11.1"} -{"@ant-design/cssinjs":"^1.11.1"} -{"@ant-design/icons":"^5.1.4"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/icons":"5.x"} -{"@ant-design/plots":"^2.1.4"} -{"@ant-design/pro-layout":"^7.16.11"} -{"@ant-design/pro-layout":"^7.16.11"} -{"@antv/g2plot":"^2.4.18"} -{"@antv/x6":"^2.0.0"} -{"@antv/x6-plugin-dnd":"^2.0.0"} -{"@antv/x6-plugin-export":"^2.0.0"} -{"@antv/x6-plugin-minimap":"^2.0.0"} -{"@antv/x6-plugin-scroller":"^2.0.0"} -{"@antv/x6-plugin-selection":"^2.0.0"} -{"@antv/x6-plugin-snapline":"^2.0.0"} -{"@antv/x6-react-shape":"^2.0.0"} -{"@arvinxu/layout-kit":"^1"} -{"@aws-sdk/client-s3":"^3.245.0"} -{"@babel/core":"7.22.10"} -{"@babel/plugin-transform-modules-amd":"7.22.5"} -{"@babel/preset-env":"7.22.10"} -{"@ctrl/tinycolor":"^3.6.0"} -{"@ctrl/tinycolor":"^3.6.0"} -{"@dnd-kit/core":"^5.0.1"} -{"@dnd-kit/modifiers":"^6.0.0"} -{"@dnd-kit/sortable":"^6.0.0"} -{"@emotion/css":"^11.7.1"} -{"@emotion/css":"^11.11.2"} -{"@emotion/css":"^11.7.1"} -{"@emotion/css":"^11.11.2"} -{"@faker-js/faker":"8.1.0"} -{"@formily/antd-v5":"^1.1.9"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/antd-v5":"1.x"} -{"@formily/core":"^2.2.27"} -{"@formily/core":"^2.2.27"} -{"@formily/core":"^2.2.27"} -{"@formily/core":"^2.2.27"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/core":"2.x"} -{"@formily/grid":"^2.2.27"} -{"@formily/json-schema":"^2.2.27"} -{"@formily/json-schema":"2.2.27"} -{"@formily/json-schema":"2.x"} -{"@formily/json-schema":"2.x"} -{"@formily/json-schema":"2.x"} -{"@formily/path":"^2.2.27"} -{"@formily/react":"^2.2.27"} -{"@formily/react":"2.x"} -{"@formily/react":"^2.2.27"} -{"@formily/react":"^2.2.27"} -{"@formily/react":"^2.2.27"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/react":"2.x"} -{"@formily/reactive":"^2.2.27"} -{"@formily/reactive":"2.x"} -{"@formily/reactive":"2.x"} -{"@formily/reactive":"2.x"} -{"@formily/reactive-react":"^2.2.27"} -{"@formily/shared":"^2.2.27"} -{"@formily/shared":"2.x"} -{"@formily/shared":"^2.2.27"} -{"@formily/shared":"^2.2.27"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/shared":"2.x"} -{"@formily/validator":"^2.2.27"} -{"@formulajs/formulajs":"4.2.0"} -{"@formulajs/formulajs":"^4.2.0"} -{"@googlemaps/js-api-loader":"^1.16.1"} -{"@hapi/topo":"^6.0.0"} -{"@hapi/topo":"^6.0.0"} -{"@hapi/topo":"^6.0.0"} -{"@hapi/topo":"^6.0.0"} -{"@koa/cors":"^3.1.0"} -{"@koa/multer":"^3.0.2"} -{"@koa/multer":"^3.0.2"} -{"@koa/multer":"^3.0.0"} -{"@koa/multer":"^3.0.2"} -{"@koa/router":"^9.4.0"} -{"@lerna/project":"4.0.0"} -{"@nocobase/acl":"workspace:*"} -{"@nocobase/actions":"workspace:*"} -{"@nocobase/actions":"workspace:*"} -{"@nocobase/actions":"workspace:*"} -{"@nocobase/app":"workspace:*"} -{"@nocobase/auth":"workspace:*"} -{"@nocobase/build":"workspace:*"} -{"@nocobase/cache":"workspace:*"} -{"@nocobase/cache":"workspace:*"} -{"@nocobase/cache":"workspace:*"} -{"@nocobase/cache":"workspace:*"} -{"@nocobase/client":"workspace:*"} -{"@nocobase/client":"workspace:*"} -{"@nocobase/data-source-manager":"workspace:*"} -{"@nocobase/database":"workspace:*"} -{"@nocobase/database":"workspace:*"} -{"@nocobase/database":"workspace:*"} -{"@nocobase/database":"workspace:*"} -{"@nocobase/database":"workspace:*"} -{"@nocobase/devtools":"workspace:*"} -{"@nocobase/evaluators":"workspace:*"} -{"@nocobase/evaluators":"workspace:*"} -{"@nocobase/logger":"workspace:*"} -{"@nocobase/logger":"workspace:*"} -{"@nocobase/plugin-acl":"workspace:*"} -{"@nocobase/plugin-action-bulk-edit":"workspace:*"} -{"@nocobase/plugin-action-bulk-update":"workspace:*"} -{"@nocobase/plugin-action-duplicate":"workspace:*"} -{"@nocobase/plugin-action-print":"workspace:*"} -{"@nocobase/plugin-api-doc":"workspace:*"} -{"@nocobase/plugin-api-keys":"workspace:*"} -{"@nocobase/plugin-audit-logs":"workspace:*"} -{"@nocobase/plugin-auth":"workspace:*"} -{"@nocobase/plugin-backup-restore":"workspace:*"} -{"@nocobase/plugin-calendar":"workspace:*"} -{"@nocobase/plugin-cas":"workspace:*"} -{"@nocobase/plugin-charts":"workspace:*"} -{"@nocobase/plugin-china-region":"workspace:*"} -{"@nocobase/plugin-client":"workspace:*"} -{"@nocobase/plugin-collection-manager":"workspace:*"} -{"@nocobase/plugin-custom-request":"workspace:*"} -{"@nocobase/plugin-data-source-manager":"workspace:*"} -{"@nocobase/plugin-data-visualization":"workspace:*"} -{"@nocobase/plugin-error-handler":"workspace:*"} -{"@nocobase/plugin-export":"workspace:*"} -{"@nocobase/plugin-file-manager":"workspace:*"} -{"@nocobase/plugin-formula-field":"workspace:*"} -{"@nocobase/plugin-gantt":"workspace:*"} -{"@nocobase/plugin-graph-collection-manager":"workspace:*"} -{"@nocobase/plugin-iframe-block":"workspace:*"} -{"@nocobase/plugin-import":"workspace:*"} -{"@nocobase/plugin-kanban":"workspace:*"} -{"@nocobase/plugin-localization-management":"workspace:*"} -{"@nocobase/plugin-logger":"workspace:*"} -{"@nocobase/plugin-map":"workspace:*"} -{"@nocobase/plugin-mobile-client":"workspace:*"} -{"@nocobase/plugin-mock-collections":"workspace:*"} -{"@nocobase/plugin-multi-app-manager":"workspace:*"} -{"@nocobase/plugin-multi-app-share-collection":"workspace:*"} -{"@nocobase/plugin-oidc":"workspace:*"} -{"@nocobase/plugin-saml":"workspace:*"} -{"@nocobase/plugin-sequence-field":"workspace:*"} -{"@nocobase/plugin-sms-auth":"workspace:*"} -{"@nocobase/plugin-snapshot-field":"workspace:*"} -{"@nocobase/plugin-system-settings":"workspace:*"} -{"@nocobase/plugin-theme-editor":"workspace:*"} -{"@nocobase/plugin-ui-schema-storage":"workspace:*"} -{"@nocobase/plugin-users":"workspace:*"} -{"@nocobase/plugin-verification":"workspace:*"} -{"@nocobase/plugin-workflow":"workspace:*"} -{"@nocobase/plugin-workflow-action-trigger":"workspace:*"} -{"@nocobase/plugin-workflow-aggregate":"workspace:*"} -{"@nocobase/plugin-workflow-delay":"workspace:*"} -{"@nocobase/plugin-workflow-dynamic-calculation":"workspace:*"} -{"@nocobase/plugin-workflow-loop":"workspace:*"} -{"@nocobase/plugin-workflow-manual":"workspace:*"} -{"@nocobase/plugin-workflow-parallel":"workspace:*"} -{"@nocobase/plugin-workflow-request":"workspace:*"} -{"@nocobase/plugin-workflow-sql":"workspace:*"} -{"@nocobase/plugin-workflow-test":"workspace:*"} -{"@nocobase/preset-nocobase":"workspace:*"} -{"@nocobase/resourcer":"workspace:*"} -{"@nocobase/resourcer":"workspace:*"} -{"@nocobase/resourcer":"workspace:*"} -{"@nocobase/resourcer":"workspace:*"} -{"@nocobase/resourcer":"workspace:*"} -{"@nocobase/sdk":"workspace:*"} -{"@nocobase/sdk":"workspace:*"} -{"@nocobase/server":"workspace:*"} -{"@nocobase/server":"workspace:*"} -{"@nocobase/server":"workspace:*"} -{"@nocobase/telemetry":"workspace:*"} -{"@nocobase/test":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@nocobase/utils":"workspace:*"} -{"@node-saml/node-saml":"^4.0.2"} -{"@opentelemetry/api":"^1.7.0"} -{"@opentelemetry/instrumentation":"^0.46.0"} -{"@opentelemetry/resources":"^1.19.0"} -{"@opentelemetry/sdk-metrics":"^1.19.0"} -{"@opentelemetry/sdk-trace-base":"^1.19.0"} -{"@opentelemetry/sdk-trace-node":"^1.19.0"} -{"@opentelemetry/semantic-conventions":"^1.19.0"} -{"@playwright/test":"^1.42.1"} -{"@rc-component/mini-decimal":"^1.1.0"} -{"@react-pdf/renderer":"^3.3.2"} -{"@testing-library/jest-dom":"^6.4.2"} -{"@testing-library/react":"^14.0.0"} -{"@testing-library/react":"^14.0.0"} -{"@testing-library/react-hooks":"^8.0.1"} -{"@testing-library/user-event":"^14.4.3"} -{"@types/archiver":"^5.3.1"} -{"@types/cron":"^2.0.1"} -{"@types/cross-spawn":"^6.0.2"} -{"@types/decompress":"4.2.4"} -{"@types/ejs":"^3.1.1"} -{"@types/fs-extra":"^11.0.1"} -{"@types/glob":"^7.2.0"} -{"@types/google.maps":"^3.53.4"} -{"@types/gulp":"^4.0.13"} -{"@types/ini":"^1.3.31"} -{"@types/jsonwebtoken":"^8.5.8"} -{"@types/jsonwebtoken":"^8.5.8"} -{"@types/jsonwebtoken":"^8.5.8"} -{"@types/jsonwebtoken":"^8.5.8"} -{"@types/koa":"^2.13.4"} -{"@types/koa-bodyparser":"^4.3.4"} -{"@types/koa-multer":"^1.0.1"} -{"@types/koa-send":"^4.1.3"} -{"@types/lerna__package":"5.1.0"} -{"@types/lerna__project":"5.1.0"} -{"@types/lodash":"^4.14.177"} -{"@types/markdown-it":"12.2.3"} -{"@types/markdown-it-highlightjs":"3.3.1"} -{"@types/multer":"^1.4.5"} -{"@types/multer":"^1.4.5"} -{"@types/node":"*"} -{"@types/node-xlsx":"^0.15.1"} -{"@types/node-xlsx":"^0.15.1"} -{"@types/nodemailer":"6.4.4"} -{"@types/react":"^18.0.0"} -{"@types/react":"^17.0.0"} -{"@types/react":"17.x"} -{"@types/react-big-calendar":"^1.6.4"} -{"@types/react-dom":"^18.0.0"} -{"@types/react-dom":"^17.0.0"} -{"@types/react-dom":"17.x"} -{"@types/semver":"^7.3.9"} -{"@types/serve-handler":"^6.1.1"} -{"@types/supertest":"^2.0.11"} -{"@types/tar":"^6.1.5"} -{"@types/tar-fs":"^2.0.2"} -{"@types/ws":"^8.5.5"} -{"@typescript-eslint/eslint-plugin":"^6.2.0"} -{"@typescript-eslint/parser":"^6.2.0"} -{"@umijs/utils":"3.5.20"} -{"@umijs/utils":"3.5.20"} -{"@vercel/ncc":"0.36.1"} -{"@vitejs/plugin-react":"^4.0.0"} -{"ahooks":"^3.7.2"} -{"ahooks":"^3.7.2"} -{"ahooks":"^3.7.2"} -{"ahooks":"^3.7.2"} -{"ahooks":"^3.7.2"} -{"ahooks":"^3.7.2"} -{"ahooks":"3.x"} -{"ahooks":"^3.7.2"} -{"antd":"^5.12.8"} -{"antd":"5.8.6"} -{"antd":"5.12.8"} -{"antd":"5.*"} -{"antd":"^5.12.8"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd":"5.x"} -{"antd-mobile":"^5.29.1"} -{"antd-style":"3.4.5"} -{"antd-style":"3.4.5"} -{"antd-style":"3.4.5"} -{"antd-style":"3.4.5"} -{"antd-style":"3.4.5"} -{"antd-style":"3.x"} -{"antd-style":"3.x"} -{"archiver":"^5.3.1"} -{"async-mutex":"^0.3.2"} -{"async-mutex":"^0.3.2"} -{"async-mutex":"^0.3.2"} -{"async-mutex":"^0.3.2"} -{"axios":"^1.6.2"} -{"axios":"^1.6.2"} -{"axios":"^1.6.2"} -{"axios":"^1.6.2"} -{"axios":"^1.6.2"} -{"axios-mock-adapter":"^1.20.0"} -{"axios-mock-adapter":"^1.20.0"} -{"bloom-filters":"^3.0.1"} -{"cache-manager":"^5.2.4"} -{"cache-manager-redis-yet":"^4.1.2"} -{"chalk":"2.4.2"} -{"chalk":"^4.1.1"} -{"chalk":"^4.1.1"} -{"chalk":"^4.1.1"} -{"chalk":"^4"} -{"chalk":"^4.1.1"} -{"china-division":"^2.4.0"} -{"classnames":"^2.3.1"} -{"classnames":"^2.3.1"} -{"classnames":"^2.3.1"} -{"classnames":"2.x"} -{"classnames":"^2.3.1"} -{"classnames":"^2.3.1"} -{"classnames":"^2.3.1"} -{"commander":"^9.2.0"} -{"commander":"^9.2.0"} -{"commander":"^9.2.0"} -{"concurrently":"^7.0.0"} -{"content-disposition":"^0.5.4"} -{"copy-to-clipboard":"^3.3.3"} -{"cos-nodejs-sdk-v5":"^2.11.14"} -{"cron":"^2.4.4"} -{"cron":"^2.3.1"} -{"cron-parser":"4.4.0"} -{"cron-parser":"4.4.0"} -{"cron-parser":"4.4.0"} -{"cron-parser":"4.4.0"} -{"cronstrue":"^2.11.0"} -{"cronstrue":"^2.11.0"} -{"cronstrue":"^2.11.0"} -{"cronstrue":"^2.11.0"} -{"cross-env":"^7.0.3"} -{"cross-spawn":"^7.0.3"} -{"dagre":"^0.8.5"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.9"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"dayjs":"^1.11.8"} -{"decompress":"4.2.1"} -{"decompress":"^4.2.1"} -{"dedupe":"^3.0.2"} -{"deepmerge":"^4.2.2"} -{"deepmerge":"^4.2.2"} -{"deepmerge":"^4.2.2"} -{"deepmerge":"^4.3.1"} -{"dotenv":"^16.0.0"} -{"dumi":"^2.2.0"} -{"dumi-theme-nocobase":"^0.2.19"} -{"esbuild-register":"^3.4.2"} -{"eslint":"^8.45.0"} -{"eslint-config-prettier":"^8.8.0"} -{"eslint-plugin-import":"^2.27.5"} -{"eslint-plugin-markdown":"^3.0.0"} -{"eslint-plugin-node":"^11.1.0"} -{"eslint-plugin-prettier":"^5.0.0"} -{"eslint-plugin-promise":"^6.1.1"} -{"eslint-plugin-react":"^7.33.0"} -{"eslint-plugin-react-hooks":"^4.6.0"} -{"excel-date-to-js":"^1.1.5"} -{"exceljs":"^4.4.0"} -{"execa":"^5.1.1"} -{"exponential-backoff":"^3.1.1"} -{"fast-glob":"^3.3.1"} -{"fast-glob":"^3.3.1"} -{"fast-glob":"^3.3.1"} -{"file-saver":"^2.0.5"} -{"file-saver":"^2.0.5"} -{"file-saver":"^2.0.5"} -{"file-saver":"^2.0.5"} -{"find-package-json":"^1.2.0"} -{"flat":"^5.0.2"} -{"flat":"^5.0.2"} -{"flat-to-nested":"^1.1.1"} -{"flat-to-nested":"^1.1.1"} -{"flatted":"^3.2.9"} -{"fs-extra":"^11.1.1"} -{"fs-extra":"^11.1.1"} -{"fs-extra":"^11.1.1"} -{"glob":"^7.1.6"} -{"graphlib":"^2.1.8"} -{"graphlib":"^2.1.8"} -{"gulp":"4.0.2"} -{"gulp-typescript":"6.0.0-alpha.1"} -{"i18next":"^22.4.9"} -{"i18next":"^22.4.9"} -{"i18next":"^22.4.9"} -{"i18next-http-backend":"^2.1.1"} -{"ini":"^4.1.1"} -{"inquirer":"^8.0.0"} -{"jsdom":"^16.0.0"} -{"jsdom-worker":"^0.3.0"} -{"json5":"^2.2.3"} -{"jsonwebtoken":"^8.5.1"} -{"jsonwebtoken":"^8.5.1"} -{"jsonwebtoken":"^8.5.1"} -{"jsonwebtoken":"^8.5.1"} -{"koa":"^2.13.4"} -{"koa-bodyparser":"^4.3.0"} -{"koa-compose":"^4.1.0"} -{"koa-compose":"^4.1.0"} -{"koa-send":"^5.0.1"} -{"koa-send":"^5.0.1"} -{"koa-send":"^5.0.1"} -{"koa-static":"^5.0.0"} -{"koa-static":"^5.0.0"} -{"koa-static":"^5.0.0"} -{"lerna":"^4.0.0"} -{"lodash":"4.17.21"} -{"lodash":"^4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"^4.17.21"} -{"lodash":"^4.17.21"} -{"lodash":"^4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"^4.17.21"} -{"lodash":"4.x"} -{"lodash":"^4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"4.17.21"} -{"lodash":"4.17.21"} -{"lru-cache":"8.0.5"} -{"mariadb":"^2.5.6"} -{"markdown-it":"13.0.1"} -{"markdown-it-highlightjs":"3.3.1"} -{"mathjs":"^10.6.0"} -{"mathjs":"^10.6.1"} -{"mathjs":"^10.6.0"} -{"mathjs":"^10.6.0"} -{"mathjs":"^10.6.0"} -{"mermaid":"9.4.3"} -{"mime-match":"^1.0.2"} -{"minimatch":"^5.1.1"} -{"mkdirp":"^1.0.4"} -{"mkdirp":"~0.5.4"} -{"mockjs":"^1.1.0"} -{"multer":"^1.4.2"} -{"multer":"^1.4.5-lts.1"} -{"multer":"^1.4.2"} -{"multer-aliyun-oss":"2.1.1"} -{"multer-cos":"^1.0.3"} -{"multer-s3":"^3.0.1"} -{"mysql2":"^2.3.3"} -{"mysql2":"^2.3.3"} -{"nanoid":"^3.3.6"} -{"nanoid":"3.3.4"} -{"nanoid":"3.3.4"} -{"node-fetch":"^2.6.7"} -{"node-xlsx":"^0.16.1"} -{"node-xlsx":"^0.16.1"} -{"nodemailer":"^6.6.1"} -{"nodemailer-mock":"^1.5.11"} -{"object-path":"^0.11.8"} -{"object-path":"^0.11.8"} -{"openid-client":"^5.4.2"} -{"p-all":"3.0.0"} -{"path-to-regexp":"^6.1.0"} -{"path-to-regexp":"^6.1.0"} -{"pg":"^8.7.3"} -{"pg":"^8.11.3"} -{"pg":"^8.7.3"} -{"pg-hstore":"^2.3.4"} -{"pm2":"^5.2.0"} -{"portfinder":"^1.0.28"} -{"prettier":"^3.1.1"} -{"prettier-plugin-sql":"^0.17.0"} -{"pretty-format":"^24.0.0"} -{"pretty-quick":"^3.1.0"} -{"qrcode":"^1.5.1"} -{"qrcode":"^1.5.1"} -{"qrcode.react":"^3.1.0"} -{"qrcode.react":"^3.1.0"} -{"qs":"^6.11.2"} -{"qs":"^6.9.4"} -{"qs":"^6.10.1"} -{"rc-tree-select":"5.5.5"} -{"rc-util":"^5.32.0"} -{"react":"^18.0.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"18.*"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"^18.2.0"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"^18.2.0"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"^18.2.0"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react":"18.x"} -{"react-beautiful-dnd":"^13.1.0"} -{"react-big-calendar":"^1.8.1"} -{"react-colorful":"^5.5.1"} -{"react-dom":"^18.0.0"} -{"react-dom":"^18.2.0"} -{"react-dom":"^18.2.0"} -{"react-dom":"^18.2.0"} -{"react-dom":"18.x"} -{"react-dom":"18.x"} -{"react-drag-listview":"^0.1.9"} -{"react-error-boundary":"^4.0.10"} -{"react-error-boundary":"^4.0.10"} -{"react-error-boundary":"^4.0.10"} -{"react-helmet":"^6.1.0"} -{"react-hotkeys-hook":"^3.4.7"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"11.x"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-i18next":"^11.15.1"} -{"react-iframe":"~1.8.5"} -{"react-iframe":"~1.8.5"} -{"react-image-lightbox":"^5.1.4"} -{"react-js-cron":"^3.1.0"} -{"react-js-cron":"^3.1.0"} -{"react-js-cron":"^3.1.0"} -{"react-js-cron":"^3.1.0"} -{"react-pdf":"^7.5.1"} -{"react-quill":"^2.0.0"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"6.x"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"6.x"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"6.x"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"^6.11.2"} -{"react-router-dom":"^6.11.2"} -{"react-to-print":"^2.14.7"} -{"react-use-websocket":"^4.8.1"} -{"redis":"^4.6.10"} -{"redis":"^4.6.11"} -{"rimraf":"^3.0.0"} -{"sanitize-html":"2.10.0"} -{"semver":"^7.3.7"} -{"semver":"^7.3.7"} -{"semver":"^7.5.4"} -{"sequelize":"^6.26.0"} -{"sequelize":"^6.26.0"} -{"serve":"^13.0.2"} -{"serve":"^13.0.2"} -{"serve-handler":"^6.1.5"} -{"signature_pad":"4.1.7"} -{"solarlunar-es":"^1.0.9"} -{"sqlite3":"^5.0.8"} -{"supertest":"^6.1.6"} -{"supertest":"^6.1.6"} -{"supertest":"^6.1.6"} -{"swagger-ui-dist":"^5.3.1"} -{"tar":"^6.2.0"} -{"tar":"6.1.11"} -{"tar":"^6.1.13"} -{"tar-fs":"^3.0.4"} -{"tencentcloud-sdk-nodejs":"^4.0.525"} -{"tinycolor2":"^1.6.0"} -{"toposort":"^2.0.2"} -{"tree-kill":"^1.2.2"} -{"triple-beam":"^1.4.1"} -{"ts-loader":"^7.0.4"} -{"ts-node":"9.1.1"} -{"ts-node-dev":"1.1.8"} -{"tsconfig-paths":"^3.12.0"} -{"tsup":"7.2.0"} -{"tsx":"^4.6.2"} -{"tsx":"^4.6.2"} -{"typescript":"5.1.3"} -{"typescript":"5.1.3"} -{"umi":"^4.0.69"} -{"umzug":"^3.1.1"} -{"update-notifier":"3.0.0"} -{"use-debouncy":"^4.3.0"} -{"use-deep-compare-effect":"^1.8.1"} -{"vanilla-jsoneditor":"^0.17.8"} -{"vite":"^5.0.0"} -{"vite-plugin-css-injected-by-js":"^3.2.1"} -{"vite-plugin-lib-inject-css":"1.2.0"} -{"vitest":"^1.4.0"} -{"vitest":"^1.4.0"} -{"winston":"^3.8.2"} -{"winston-daily-rotate-file":"^4.7.1"} -{"winston-transport":"^4.5.0"} -{"ws":"^8.13.0"} -{"ws":"^8.13.0"} -{"xlsx":"^0.17.0"} -{"xpipe":"^1.0.5"} -{"yargs-parser":"13.1.2"} diff --git a/.tmp_scripts/run.mjs b/.tmp_scripts/run.mjs deleted file mode 100644 index 0765cbae4..000000000 --- a/.tmp_scripts/run.mjs +++ /dev/null @@ -1,102 +0,0 @@ -import { readFile, readdir, stat, writeFile } from "fs/promises"; -import { join } from "path"; - -const deps = []; - -const directoryPath = "./packages"; // 替换成你的目录路径 - -function isDirectoryExcluded(dirname) { - return dirname === "node_modules"; // 排除 node_modules 目录 -} - -async function replaceInPackageJson(filePath) { - try { - const data = await readFile(filePath, "utf8"); - const pkg = JSON.parse(data); - for (let key of ['devDependencies', 'dependencies']) { - if (key in pkg) { - for (let name in pkg[key]) { - deps.push({ - name, - version: pkg[key][name], - }); - } - } - } - } catch (err) { - console.error("Error reading file:", err); - } -} - -async function traverseDirectory(currentPath) { - try { - const files = await readdir(currentPath); - for (let file of files) { - const filePath = join(currentPath, file); - const stats = await stat(filePath); - if (stats.isDirectory() && !isDirectoryExcluded(file)) { - await traverseDirectory(filePath); - } else if (stats.isFile() && file === "package.json") { - await replaceInPackageJson(filePath); - } - } - } catch (err) { - if (err) { - console.error("Error reading directory:", err); - return; - } - } -} - -await traverseDirectory(directoryPath); - -// 排序 -deps.sort((a, b) => a.name < b.name ? -1 : 1) - -const dequeDeps = [] -dequeDeps.push(deps[0]); -deps.forEach(dep => { - const lastDep = dequeDeps[dequeDeps.length - 1]; - if (lastDep.name === dep.name && lastDep.version === dep.version) { - return; - } - dequeDeps.push(dep); -}); - - -for (let dep of deps) { - console.log(JSON.stringify({[dep.name]: dep.version})) -} - -const data = await readFile('./dev-error.log', "utf-8"); - -const lines = data.split('\n') - -for (let line of lines) { - if (line.startsWith('error')) { - continue; - } - const result = line.match(/ '([^']*)' in/); - const result2 = line.match(/packages\/plugins\/([^/]*\/[^/]*)\//) - - if (result && result2) { - const dep = result[1]; - - const pkg = dequeDeps.find(pkg => pkg.name === dep) - if (!pkg) { - console.warn(dep + ' is not found'); - continue - } - const path = `packages/plugins/${result2[1]}/package.json` - const pkgContent = JSON.parse(await readFile(path, "utf-8")); - console.log(dep, pkg.version, path); - if ('devDependencies' in pkgContent) { - pkgContent['devDependencies'][dep] = pkg.version; - } else if ('dependencies' in pkgContent){ - pkgContent['dependencies'][dep] = pkg.version; - } else { - pkgContent['devDependencies'] = { [dep]: pkg.version }; - } - await writeFile(path, JSON.stringify(pkgContent, null, 2), 'utf8') - } -} diff --git a/.tmp_scripts/run_get_dev.mjs b/.tmp_scripts/run_get_dev.mjs deleted file mode 100644 index 9a4e3f1af..000000000 --- a/.tmp_scripts/run_get_dev.mjs +++ /dev/null @@ -1,27 +0,0 @@ -import { readFile, readdir, stat } from "fs/promises"; -import { join } from "path"; - -const data = await readFile('./dev-error.log', "utf-8"); - -const lines = data.split('\n') - -for (let line of lines) { - if (line.startsWith('error')) { - continue; - } - const result = line.match(/ '([^']*)' in/); - const result2 = line.match(/packages\/plugins\/([^/]*\/[^/]*)\//) - - if (result && result2) { - console.log(result[1], result2[1]) - } - // console.log(line); - // console.log(result2) - // if (result) { - // console.log(result[1]); - // } else { - // console.log(line); - // } -} - - diff --git a/.yarnrc b/.yarnrc deleted file mode 100644 index 45ef801be..000000000 --- a/.yarnrc +++ /dev/null @@ -1 +0,0 @@ -registry "https://registry.npmmirror.com" diff --git a/README.md b/README.md index b91669d81..6f3dcb9cd 100644 --- a/README.md +++ b/README.md @@ -1,80 +1,10 @@ -English | [中文](./README.zh-CN.md) - -![NocoBase](https://nocobase-file.oss-cn-beijing.aliyuncs.com/main-l.png) +## What is TachyCode -**Note:** 📌 +TachyCode is a scalability-first, open-source no-code development platform. -NocoBase is in early stage of development and is subject to frequent changes, please use caution in production environments. - -## Recent major updates - -- [v0.20:Support for multiple data sources - 2024/03/03](https://docs-cn.nocobase.com/welcome/release/v0200-changelog) -- [v0.19: Application process optimization - 2024/01/08](https://blog.nocobase.com/posts/release-v019/) -- [v0.18: Establish a sound testing system - 2023/12/21](https://blog.nocobase.com/posts/release-v018/) -- [v0.17: New SchemaInitializer and SchemaSettings - 2023/12/11](https://blog.nocobase.com/posts/release-v017/) -- [v0.16: New cache manager - 2023/11/20](https://blog.nocobase.com/posts/release-v016/) -- [v0.15: New plugin settings manager - 2023/11/13](https://blog.nocobase.com/posts/release-v015/) -- [v0.14: New plugin manager, supports adding plugins through UI - 2023/09/11](https://blog.nocobase.com/posts/release-v014/) -- [v0.13: New application status flow - 2023/08/24](https://blog.nocobase.com/posts/release-v013/) -- [v0.12: New plugin build tool - 2023/08/01](https://blog.nocobase.com/posts/release-v012/) -- [v0.11: New client application, plugin and router - 2023/07/08](https://blog.nocobase.com/posts/release-v011/) - -## What is NocoBase - -NocoBase is a scalability-first, open-source no-code development platform. -Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform! - -Homepage: -https://www.nocobase.com/ - -Online Demo: -https://demo.nocobase.com/new - -Documents: -https://docs.nocobase.com/ - -Contact Us: -hello@nocobase.com - -## Distinctive features - -### 1. Model-driven, separate "user interface" from "data structure" - -Most form-, table-, or process-driven no-code products create data structures directly in the user interface, such as Airtable, where adding a new column to a table is adding a new field. This has the advantage of simplicity of use, but the disadvantage of limited functionality and flexibility to meet the needs of more complex scenarios. - -NocoBase adopts the design idea of separating the data structure from the user interface, allowing you to create any number of blocks (data views) for the data collections, with different type, styles, content, and actions in each block. This balances the simplicity of no-code operation with the flexibility of native development. - -![model](https://nocobase-file.oss-cn-beijing.aliyuncs.com/model-l.png) - -### 2. What you see is what you get - -NocoBase enables the development of complex and distinctive business systems, but this does not mean that complex and specialized operations are required. With a single click, configuration options are displayed on the usage interface, and administrators with system configuration privileges can directly configure the user interface in a WYSIWYG manner. - -![wysiwyg](https://nocobase-file.oss-cn-beijing.aliyuncs.com/wysiwyg.gif) - -### 3. Functions as plugins - -NocoBase adopts plugin architecture, all new functions can be realized by developing and installing plugins, and expanding the functions is as easy as installing an APP on your phone. - -![plugins](https://nocobase-file.oss-cn-beijing.aliyuncs.com/plugins-l.png) - -## Installation - -NocoBase supports three installation methods: - -- Installing With Docker (👍Recommended) - - Suitable for no-code scenarios, no code to write. When upgrading, just download the latest image and reboot. - -- Installing from create-nocobase-app CLI - - The business code of the project is completely independent and supports low-code development. - -- Installing from Git source code - - If you want to experience the latest unreleased version, or want to participate in the contribution, you need to make changes and debug on the source code, it is recommended to choose this installation method, which requires a high level of development skills, and if the code has been updated, you can git pull the latest code. +It is based on the last Apache version fork of the open-source NocoBase. ## License - [Core packages](https://github.com/nocobase/nocobase/tree/main/packages/core) are [Apache 2.0 licensed](./LICENSE-APACHE-2.0). -- [Plugins packages](https://github.com/nocobase/nocobase/tree/main/packages/plugins) are [AGPL 3.0 licensed](./LICENSE-AGPL). +- [Plugins packages](https://github.com/nocobase/nocobase/tree/main/packages/plugins) are [AGPL 3.0 licensed](./LICENSE-AGPL). \ No newline at end of file diff --git a/README.zh-CN.md b/README.zh-CN.md deleted file mode 100644 index 5de82de03..000000000 --- a/README.zh-CN.md +++ /dev/null @@ -1,76 +0,0 @@ -[English](./README.md) | 简体中文 - -![NocoBase](https://nocobase-file.oss-cn-beijing.aliyuncs.com/main-l.png) - -**注意:** 📌 - -NocoBase 正处在早期开发阶段,可能变动频繁,请谨慎用于生产环境。 - -## 最近重要更新 - -- [v0.20:支持多数据源 - 2024/03/03](https://docs-cn.nocobase.com/welcome/release/v0200-changelog) -- [v0.19:应用流程优化 - 2024/01/08](https://blog-cn.nocobase.com/posts/release-v019/) -- [v0.18:建立健全的测试体系 - 2023/12/21](https://blog-cn.nocobase.com/posts/release-v018/) -- [v0.17:全新的 SchemaInitializer 和 SchemaSettings - 2023/12/11](https://blog-cn.nocobase.com/posts/release-v017/) -- [v0.16:全新的缓存模块 - 2023/11/20](https://blog-cn.nocobase.com/posts/release-v016/) -- [v0.15:全新的插件设置中心 - 2023/11/13](https://blog-cn.nocobase.com/posts/release-v015/) -- [v0.14:全新的插件管理器,支持通过界面添加插件 - 2023/09/11](https://blog-cn.nocobase.com/posts/release-v014/) -- [v0.13: 全新的应用状态流转 - 2023/08/24](https://blog-cn.nocobase.com/posts/release-v013/) -- [v0.12: 全新的插件构建工具 - 2023/08/01](https://blog-cn.nocobase.com/posts/release-v012/) -- [v0.11: 全新的客户端 Application、Plugin 和 Router - 2023/07/08](https://blog-cn.nocobase.com/posts/release-v011/) - -## NocoBase 是什么 - -NocoBase 是一个极易扩展的开源无代码开发平台。 -不必投入几年时间、数百万资金研发,花几分钟时间部署 NocoBase,马上拥有一个私有、可控、极易扩展的无代码开发平台。 - -中文官网: -https://cn.nocobase.com/ - -在线体验: -https://demo-cn.nocobase.com/new - -文档: -https://docs-cn.nocobase.com/ - -## 与众不同之处 - -### 1. 模型驱动,“数据结构”与“使用界面”分离 - -多数以表单、表格或者流程驱动的无代码产品都是在使用界面上直接创建数据结构,比如 Airtable 在表格里新增一列就是新增一个字段。这样的好处是使用简单,不足是功能和灵活性受限,难以满足较复杂场景的需求。 - -NocoBase 采用数据结构与使用界面分离的设计思路,可以为数据表创建任意数量、任意形态的区块(数据视图),每个区块里可以定义不同的样式、文案、操作。这样既兼顾了无代码的简单操作,又具备了原生开发的灵活性。 - -![model](https://nocobase-file.oss-cn-beijing.aliyuncs.com/model-l.png) - -### 2. 所见即所得 -NocoBase 可以开发复杂和有特色的业务系统,但这并不意味着需要复杂和专业的操作。只需一次点击,就可以在使用界面上显示出配置选项,具备系统配置权限的管理员可以用所见即所得的操作方式,直接配置用户的使用界面。 - -![wysiwyg](https://nocobase-file.oss-cn-beijing.aliyuncs.com/wysiwyg.gif) - -### 3. 功能即插件 - -NocoBase 采用插件化架构,所有新功能都可以通过开发和安装插件来实现,扩展功能就像在手机上安装 APP 一样简单。 - -![plugins](https://nocobase-file.oss-cn-beijing.aliyuncs.com/plugins-l.png) - -## 安装 - -NocoBase 支持三种安装方式: - -- Docker 安装(推荐) - - 适合无代码场景,不需要写代码。升级时,下载最新镜像并重启即可。 - -- create-nocobase-app 安装 - - 项目的业务代码完全独立,支持低代码开发。 - -- Git 源码安装 - - 如果你想体验最新未发布版本,或者想参与贡献,需要在源码上进行修改、调试,建议选择这种安装方式,对开发技术水平要求较高,如果代码有更新,可以走 git 流程拉取最新代码。 - -## 协议 - -- [内核](https://github.com/nocobase/nocobase/tree/main/packages/core) 采用 [Apache 2.0 协议](./LICENSE-APACHE-2.0); -- [插件](https://github.com/nocobase/nocobase/tree/main/packages/plugins) 采用 [AGPL 3.0 协议](./LICENSE-AGPL)。 diff --git a/release.sh b/release.sh deleted file mode 100755 index ef22447ff..000000000 --- a/release.sh +++ /dev/null @@ -1,8 +0,0 @@ -yarn version:alpha -y -git add . -git commit -m "chore(versions): 😊 publish v$(jq -r '.version' lerna.json)" -git tag v$(jq -r '.version' lerna.json) -yarn changelog --breaking-pattern "BREAKING CHANGE:" -git add . -git commit -m "chore: update changelog" -git push --atomic origin main v$(jq -r '.version' lerna.json)