> 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