theia
theia copied to clipboard
Support for Node 20
yarn install v1.22.19
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning @theia/preview > @types/[email protected]: This is a stub types definition. highlight.js provides its own type definitions, so you do not need this installed.
warning @theia/cli > [email protected]: < 21.3.7 is no longer supported
warning @theia/cli > @theia/application-manager > [email protected]: Please use @electron/rebuild moving forward. There is no API change, just a package name change
warning @theia/cli > @theia/application-manager > source-map-loader > [email protected]: Use your platform's native atob() and btoa() methods instead
warning @theia/cli > @theia/application-manager > electron-rebuild > node-gyp > make-fetch-happen > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "@theia/file-search > @theia/process > [email protected]" has unmet peer dependency "node-gyp@^8.3.0".
warning "@theia/search-in-workspace > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@theia/search-in-workspace > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@theia/messages > [email protected]" has unmet peer dependency "react@>=16.3.3".
warning "@theia/messages > [email protected]" has unmet peer dependency "react-dom@>=16.3.3".
warning "@theia/preview > [email protected]" has unmet peer dependency "markdown-it@^8.4.1".
[4/4] 🔨 Building fresh packages...
⠁
⠁
[1/12] ⠂ drivelist
[1/12] ⢀ drivelist
[2/12] ⢀ keytar [3/12] ⢀ msgpackr-extract
[4/12] ⢀ nsfw
[2/4] 🚚 Fetching packages...
error /Users/jfoster/temp/my-app/node_modules/node-pty: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: /Users/jfoster/temp/my-app/node_modules/node-pty
Output:
node:events:492
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ]
error [email protected]: The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.13.0 || ^18.12.1". Got "20.5.0"
warning Error running install script for optional dependency: "/Users/jfoster/temp/my-app/node_modules/cpu-features: Command failed.
Exit code: 127
Command: node buildcheck.js > buildcheck.gypi && node-gyp rebuild
Arguments:
Directory: /Users/jfoster/temp/my-app/node_modules/cpu-features
Output:
/bin/sh: node-gyp: command not found"
info This module is OPTIONAL, you can safely ignore this error
@jgfoster I'm a little confused since Node v20 should already be supported and we are using it currently during CI.
Can you confirm where knex-migrator
is coming from? (perform yarn why knex-migrator
).
$ yarn why knex-migrator
yarn why v1.22.21
[1/4] Why do we have the module "knex-migrator"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
error We couldn't find a match!
Done in 0.39s.
Closing due to inactivity. Without further info, I don't see what we can do.