You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh clone the npm run script build:cjs is failing.
Related context: node v18.14.2 on an Apple Silicon Mac
$ npm run build:cjs
> [email protected] build:cjs
> rollup -c
./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 (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:114185:22)
at pipelineEmitWithHint (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113716:17)
at pipelineEmitWithComments (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:117404:13)
at pipelineEmit (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113656:13)
at emitExpression (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113640:13)
at emitExportAssignment (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:115652:13)
at pipelineEmitWithHintWorker (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113929:32)
at pipelineEmitWithHint (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113716:17)
at pipelineEmitWithComments (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:117404:13)
at pipelineEmit (/Users/john/Documents/Sandpits/yargs/yargs-parser/my-fork/node_modules/typescript/lib/typescript.js:113656:13)
The text was updated successfully, but these errors were encountered:
After a fresh clone the npm run script
build:cjs
is failing.Related context: node v18.14.2 on an Apple Silicon Mac
The text was updated successfully, but these errors were encountered: