-
Notifications
You must be signed in to change notification settings - Fork 122
Closed as not planned
Description
On a fresh copy of the repo, running the build:cjs script fails with an error from rollup-plugin-ts:
[!] (plugin Typescript) Error: Debug Failure. Unhandled SyntaxKind: Unknown.
Error Log
./lib/index.ts → ./build/index.cjs...
DeprecationWarning: 'createExportAssignment' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
util (imported by lib/index.ts)
path (imported by lib/index.ts)
fs (imported by lib/index.ts)
[!] (plugin Typescript) Error: Debug Failure. Unhandled SyntaxKind: Unknown.
Error: Debug Failure. Unhandled SyntaxKind: Unknown.
at pipelineEmitWithHintWorker (.../yargs-parser/node_modules/typescript/lib/typescript.js:113127:22)
at pipelineEmitWithHint (.../yargs-parser/node_modules/typescript/lib/typescript.js:112660:17)
at pipelineEmitWithComments (.../yargs-parser/node_modules/typescript/lib/typescript.js:116301:13)
at pipelineEmit (.../yargs-parser/node_modules/typescript/lib/typescript.js:112600:13)
at emitExpression (.../yargs-parser/node_modules/typescript/lib/typescript.js:112584:13)
at emitExportAssignment (.../yargs-parser/node_modules/typescript/lib/typescript.js:114585:13)
at pipelineEmitWithHintWorker (.../yargs-parser/node_modules/typescript/lib/typescript.js:112873:32)
at pipelineEmitWithHint (.../yargs-parser/node_modules/typescript/lib/typescript.js:112660:17)
at pipelineEmitWithComments (.../yargs-parser/node_modules/typescript/lib/typescript.js:116301:13)
at pipelineEmit (.../yargs-parser/node_modules/typescript/lib/typescript.js:112600:13)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels