Open make-github-pseudonymous-again opened 2 months ago
Should try to see if node module recompilation helps.
With recompilation enabled, it complains about private class methods:
Errors prevented bundling:
While building for os.linux.x86_64:
node_modules/pdfjs-dist/build/pdf.js:
/home/runner/work/patients/patients/node_modules/pdfjs-dist/build/pdf.js: Class
private methods are not enabled. Please add
`@babel/plugin-proposal-private-methods` to your configuration.
1551 | return success;
1552 | }
> 1553 | #tryCleanup(delayed = false) {
| ^
1554 | this.#abortDelayedCleanup();
1555 | if (!this.#pendingCleanup) {
1556 | return false;
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! patients@ build: `meteor build "../dist" "--directory" "--server-only" "--architecture" "os.linux.x86_64"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the patients@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2024-05-14T02_59_43_078Z-debug.log
This is the first version of
pdfjs-dist
that fails because ofSyntaxError: Unexpected token '||='
: