➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/3d/576s_9xd0fn73g9zn9f6cxf40000gn/T/xfs-70972dbe/build.log)
➤ YN0000: └ Completed in 28s 754ms
➤ YN0000: Failed with errors in 30s 985ms
The log file /private/var/folders/3d/576s_9xd0fn73g9zn9f6cxf40000gn/T/xfs-70972dbe/build.log is here
# This file contains the result of Yarn building a package (root@workspace:.)
# Script name: postinstall
[17:05:20] Using gulpfile ~/data/work/joplin/gulpfile.js
[17:05:20] Starting 'build'...
> yarn [ 'run', 'buildParallel' ]
➤ YN0000: [joplin]: Process started
➤ YN0000: [@joplin/fork-htmlparser2]: Process started
➤ YN0000: [joplin]: [17:05:23] Using gulpfile ~/data/work/joplin/packages/app-cli/gulpfile.js
➤ YN0000: [joplin]: [17:05:23] Starting 'build'...
➤ YN0000: [joplin]: [17:05:23] Starting 'prepareBuild'...
➤ YN0000: [joplin]: [17:05:23] Finished 'prepareBuild' after 127 ms
➤ YN0000: [joplin]: [17:05:23] Finished 'build' after 129 ms
➤ YN0000: [joplin]: Process exited (exit code 0), completed in 1s 548ms
➤ YN0000: [@joplin/pdf-viewer]: Process started
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(56,21): error TS2345: Argument of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to parameter of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: Types of property 'type' are incompatible.
➤ YN0000: [@joplin/fork-htmlparser2]: Type 'ElementType' is not assignable to type 'ElementType.Script | ElementType.Style | ElementType.Tag'.
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(78,25): error TS2345: Argument of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to parameter of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(122,21): error TS2345: Argument of type '(item: Element) => FeedItem' is not assignable to parameter of type '(value: Element, index: number, array: Element[]) => FeedItem'.
➤ YN0000: [@joplin/fork-htmlparser2]: Types of parameters 'item' and 'value' are incompatible.
➤ YN0000: [@joplin/fork-htmlparser2]: Type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: Process exited (exit code 2), completed in 6s 31ms
➤ YN0000: [@joplin/react-native-saf-x]: Process started
➤ YN0000: [@joplin/react-native-saf-x]: Process exited (exit code 0), completed in 2s 5ms
➤ YN0000: [@joplin/server]: Process started
➤ YN0000: [@joplin/server]: [17:05:31] Using gulpfile ~/data/work/joplin/packages/server/gulpfile.js
➤ YN0000: [@joplin/server]: [17:05:31] Starting 'build'...
➤ YN0000: [@joplin/server]: [17:05:31] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/server]: Generated /Users/tessus/data/work/joplin/packages/server/dist/packageInfo.js
➤ YN0000: [@joplin/server]: [17:05:31] Finished 'compilePackageInfo' after 59 ms
➤ YN0000: [@joplin/server]: [17:05:31] Finished 'build' after 61 ms
➤ YN0000: [@joplin/server]: Process exited (exit code 0), completed in 1s 215ms
➤ YN0000: [@joplin/turndown]: Process started
➤ YN0000: [@joplin/turndown]:
➤ YN0000: [@joplin/turndown]: src/turndown.js → lib/turndown.cjs.js...
➤ YN0000: [@joplin/turndown]: created lib/turndown.cjs.js in 228ms
➤ YN0000: [@joplin/turndown]: Process exited (exit code 0), completed in 0s 940ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process started
➤ YN0000: [@joplin/turndown-plugin-gfm]:
➤ YN0000: [@joplin/turndown-plugin-gfm]: src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
➤ YN0000: [@joplin/turndown-plugin-gfm]: created lib/turndown-plugin-gfm.cjs.js in 47ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process exited (exit code 0), completed in 0s 690ms
➤ YN0000: [@joplin/pdf-viewer]: asset main.js 1.66 MiB [compared for emit] [minimized] [big] (name: main) 1 related asset
➤ YN0000: [@joplin/pdf-viewer]: asset pdf.worker.js 1010 KiB [compared for emit] [minimized] [big] (name: pdf.worker) 1 related asset
➤ YN0000: [@joplin/pdf-viewer]: orphan modules 129 KiB [orphan] 5 modules
➤ YN0000: [@joplin/pdf-viewer]: runtime modules 972 bytes 5 modules
➤ YN0000: [@joplin/pdf-viewer]: modules by path ./ 4.03 MiB 59 modules
➤ YN0000: [@joplin/pdf-viewer]: modules by path ../lib/ 14.3 KiB
➤ YN0000: [@joplin/pdf-viewer]: ../lib/shim.ts 13.7 KiB [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: ../lib/hooks/useAsyncEffect.ts 682 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: fs (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: canvas (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: zlib (ignored) 15 bytes [optional] [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: http (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: https (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: url (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: webpack 5.74.0 compiled successfully in 19612 ms
➤ YN0000: [@joplin/pdf-viewer]: Process exited (exit code 0), completed in 21s 181ms
➤ YN0000: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
➤ YN0000: Failed with errors in 22s 733ms
[17:05:44] 'build' errored after 25 s
[17:05:44] Error: Command failed with exit code 1: yarn run buildParallel
➤ YN0000: [joplin]: Process started
➤ YN0000: [@joplin/fork-htmlparser2]: Process started
➤ YN0000: [joplin]: [17:05:23] Using gulpfile ~/data/work/joplin/packages/app-cli/gulpfile.js
➤ YN0000: [joplin]: [17:05:23] Starting 'build'...
➤ YN0000: [joplin]: [17:05:23] Starting 'prepareBuild'...
➤ YN0000: [joplin]: [17:05:23] Finished 'prepareBuild' after 127 ms
➤ YN0000: [joplin]: [17:05:23] Finished 'build' after 129 ms
➤ YN0000: [joplin]: Process exited (exit code 0), completed in 1s 548ms
➤ YN0000: [@joplin/pdf-viewer]: Process started
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(56,21): error TS2345: Argument of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to parameter of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: Types of property 'type' are incompatible.
➤ YN0000: [@joplin/fork-htmlparser2]: Type 'ElementType' is not assignable to type 'ElementType.Script | ElementType.Style | ElementType.Tag'.
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(78,25): error TS2345: Argument of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to parameter of type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: src/FeedHandler.ts(122,21): error TS2345: Argument of type '(item: Element) => FeedItem' is not assignable to parameter of type '(value: Element, index: number, array: Element[]) => FeedItem'.
➤ YN0000: [@joplin/fork-htmlparser2]: Types of parameters 'item' and 'value' are incompatible.
➤ YN0000: [@joplin/fork-htmlparser2]: Type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Element' is not assignable to type 'import("/Users/tessus/data/work/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Element'.
➤ YN0000: [@joplin/fork-htmlparser2]: Process exited (exit code 2), completed in 6s 31ms
➤ YN0000: [@joplin/react-native-saf-x]: Process started
➤ YN0000: [@joplin/react-native-saf-x]: Process exited (exit code 0), completed in 2s 5ms
➤ YN0000: [@joplin/server]: Process started
➤ YN0000: [@joplin/server]: [17:05:31] Using gulpfile ~/data/work/joplin/packages/server/gulpfile.js
➤ YN0000: [@joplin/server]: [17:05:31] Starting 'build'...
➤ YN0000: [@joplin/server]: [17:05:31] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/server]: Generated /Users/tessus/data/work/joplin/packages/server/dist/packageInfo.js
➤ YN0000: [@joplin/server]: [17:05:31] Finished 'compilePackageInfo' after 59 ms
➤ YN0000: [@joplin/server]: [17:05:31] Finished 'build' after 61 ms
➤ YN0000: [@joplin/server]: Process exited (exit code 0), completed in 1s 215ms
➤ YN0000: [@joplin/turndown]: Process started
➤ YN0000: [@joplin/turndown]:
➤ YN0000: [@joplin/turndown]: src/turndown.js → lib/turndown.cjs.js...
➤ YN0000: [@joplin/turndown]: created lib/turndown.cjs.js in 228ms
➤ YN0000: [@joplin/turndown]: Process exited (exit code 0), completed in 0s 940ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process started
➤ YN0000: [@joplin/turndown-plugin-gfm]:
➤ YN0000: [@joplin/turndown-plugin-gfm]: src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
➤ YN0000: [@joplin/turndown-plugin-gfm]: created lib/turndown-plugin-gfm.cjs.js in 47ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process exited (exit code 0), completed in 0s 690ms
➤ YN0000: [@joplin/pdf-viewer]: asset main.js 1.66 MiB [compared for emit] [minimized] [big] (name: main) 1 related asset
➤ YN0000: [@joplin/pdf-viewer]: asset pdf.worker.js 1010 KiB [compared for emit] [minimized] [big] (name: pdf.worker) 1 related asset
➤ YN0000: [@joplin/pdf-viewer]: orphan modules 129 KiB [orphan] 5 modules
➤ YN0000: [@joplin/pdf-viewer]: runtime modules 972 bytes 5 modules
➤ YN0000: [@joplin/pdf-viewer]: modules by path ./ 4.03 MiB 59 modules
➤ YN0000: [@joplin/pdf-viewer]: modules by path ../lib/ 14.3 KiB
➤ YN0000: [@joplin/pdf-viewer]: ../lib/shim.ts 13.7 KiB [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: ../lib/hooks/useAsyncEffect.ts 682 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: fs (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: canvas (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: zlib (ignored) 15 bytes [optional] [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: http (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: https (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: url (ignored) 15 bytes [built] [code generated]
➤ YN0000: [@joplin/pdf-viewer]: webpack 5.74.0 compiled successfully in 19612 ms
➤ YN0000: [@joplin/pdf-viewer]: Process exited (exit code 0), completed in 21s 181ms
➤ YN0000: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
➤ YN0000: Failed with errors in 22s 733ms
at makeError (/Users/tessus/data/work/joplin/packages/tools/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Users/tessus/data/work/joplin/packages/tools/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async fn (/Users/tessus/data/work/joplin/gulpfile.js:35:5)
Maybe I am using a too old nodejs vesion, which is v16.13.1. Any ideas?