-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
(base) laiyoung@LaiYoung-deMacBook-Pro qiankun % yarn examples:install
yarn run v1.22.19
$ npm-run-all --serial build install:*
$ father-build
Clean dist directory
Build umd
rpt2: options error TS2688: Cannot find type definition file for 'minimatch'.
The file is in the program because:
Entry point for implicit type library 'minimatch'
Circular dependency: src/apis.ts -> src/loader.ts -> src/sandbox/index.ts -> src/sandbox/patchers/index.ts -> src/sandbox/patchers/dynamicAppend/index.ts -> src/sandbox/patchers/dynamicAppend/forLooseSandbox.ts -> src/sandbox/patchers/dynamicAppend/common.ts -> src/apis.ts
Build umd success entry: src/index.ts
rpt2: options error TS2688: Cannot find type definition file for 'minimatch'.
The file is in the program because:
Entry point for implicit type library 'minimatch'
Circular dependency: src/apis.ts -> src/loader.ts -> src/sandbox/index.ts -> src/sandbox/patchers/index.ts -> src/sandbox/patchers/dynamicAppend/index.ts -> src/sandbox/patchers/dynamicAppend/forLooseSandbox.ts -> src/sandbox/patchers/dynamicAppend/common.ts -> src/apis.ts
Build umd success entry: src/index.ts
Build cjs with babel
Clean lib directory
error TS2688: Cannot find type definition file for 'minimatch'.
The file is in the program because:
Entry point for implicit type library 'minimatch'
/Users/laiyoung/Downloads/qiankun/node_modules/@types/glob/index.d.ts(12,28): error TS7016: Could not find a declaration file for module 'minimatch'. '/Users/laiyoung/Downloads/qiankun/node_modules/minimatch/minimatch.js' implicitly has an 'any' type.
Try npm i --save-dev @types/minimatch if it exists or add a new declaration (.d.ts) file containing declare module 'minimatch';
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/child_process.d.ts(309,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/child_process.d.ts(309,17): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/dgram.d.ts(594,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/dgram.d.ts(594,17): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/events.d.ts(436,89): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs.d.ts(330,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs.d.ts(330,17): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs.d.ts(336,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs.d.ts(336,17): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs/promises.d.ts(484,9): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/fs/promises.d.ts(484,17): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/inspector.d.ts(3021,66): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/net.d.ts(738,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/net.d.ts(738,17): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/perf_hooks.d.ts(829,9): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/perf_hooks.d.ts(829,17): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/readline.d.ts(54,60): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/readline.d.ts(215,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/readline.d.ts(215,17): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/sqlite.d.ts(207,35): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/sqlite.d.ts(373,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/sqlite.d.ts(373,17): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/stream.d.ts(628,13): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/stream.d.ts(628,21): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/stream.d.ts(970,13): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/stream.d.ts(970,21): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/test.d.ts(2200,13): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/test.d.ts(2200,21): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(34,53): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(64,17): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(64,25): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(86,51): error TS2304: Cannot find name 'Disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(144,17): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/timers.d.ts(144,25): error TS2339: Property 'dispose' does not exist on type 'SymbolConstructor'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/ts5.6/index.d.ts(29,21): error TS2726: Cannot find lib definition for 'esnext.disposable'.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/worker_threads.d.ts(496,9): error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
/Users/laiyoung/Downloads/qiankun/node_modules/@types/node/worker_threads.d.ts(496,17): error TS2339: Property 'asyncDispose' does not exist on type 'SymbolConstructor'.
Transform to cjs for esm/src/apis.js
Transform to cjs for esm/src/effects.js
Transform to cjs for esm/src/error.js
Transform to cjs for esm/src/errorHandler.js
Transform to cjs for esm/src/globalState.js
Transform to cjs for esm/src/index.js
Transform to cjs for esm/src/interfaces.js
Transform to cjs for esm/src/loader.js
Transform to cjs for esm/src/prefetch.js
Transform to cjs for esm/src/utils.js
Transform to cjs for esm/src/version.js
Transform to cjs for esm/src/addons/engineFlag.js
Transform to cjs for esm/src/addons/index.js
Transform to cjs for esm/src/addons/runtimePublicPath.js
Transform to cjs for esm/src/sandbox/common.js
Transform to cjs for esm/src/sandbox/globals.js
Transform to cjs for esm/src/sandbox/index.js
Transform to cjs for esm/src/sandbox/proxySandbox.js
Transform to cjs for esm/src/sandbox/snapshotSandbox.js
Transform to cjs for esm/src/sandbox/legacy/sandbox.js
Transform to cjs for esm/src/sandbox/patchers/css.js
Transform to cjs for esm/src/sandbox/patchers/historyListener.js
Transform to cjs for esm/src/sandbox/patchers/index.js
Transform to cjs for esm/src/sandbox/patchers/interval.js
Transform to cjs for esm/src/sandbox/patchers/windowListener.js
Transform to cjs for esm/src/sandbox/patchers/dynamicAppend/common.js
Transform to cjs for esm/src/sandbox/patchers/dynamicAppend/forLooseSandbox.js
Transform to cjs for esm/src/sandbox/patchers/dynamicAppend/forStrictSandbox.js
Transform to cjs for esm/src/sandbox/patchers/dynamicAppend/index.js
TypeScript: 1 options error
TypeScript: 38 semantic errors
TypeScript: emit succeeded (with errors)
node:events:502
throw er; // Unhandled 'error' event
^
Error: TypeScript: Compilation failed
at Output.mightFinish (/Users/laiyoung/Downloads/qiankun/node_modules/gulp-typescript/release/output.js:130:43)
at /Users/laiyoung/Downloads/qiankun/node_modules/gulp-typescript/release/output.js:65:22
Emitted 'error' event on Duplexify instance at:
at Duplexify._destroy (/Users/laiyoung/Downloads/qiankun/node_modules/duplexify/index.js:191:15)
at /Users/laiyoung/Downloads/qiankun/node_modules/duplexify/index.js:182:10
at processTicksAndRejections (node:internal/process/task_queues:77:11)
Node.js v20.19.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.