#yarn install error with glob
1 messages · Page 1 of 1 (latest)
Repro steps:
macOS, dagger v0.11.9 (registry.dagger.io/engine) darwin/arm6
git clone https://github.com/dagger/hello-dagger
cd hello-dagger
dagger init --sdk=typescript
dagger call test
yarn install error with glob
Output (partial)
✘ initialize 8.2s
! input: module.withSource.initialize resolve: failed to initialize module: failed to call module "hello-dagger" to get functions: call constructor: process "yarn install" did not complete successfully: exit code: 1
Stdout:
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Stderr:
warning package.json: No license field
warning No license field
(node:7) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
error glob@10.4.4: The engine "node" is incompatible with this module. Expected version "14 >=14.21 || 16 >=16.20 || 18 || 20 || >=22". Got "21.3.0"
error Found incompatible module.
✘ Module.initialize: Module! 4.9s
! failed to initialize module: failed to call module "hello-dagger" to get functions: call constructor: process "yarn install" did not complete successfully: exit code: 1
✘ exec yarn install 4.9s
! process "yarn install" did not complete successfully: exit code: 1
┃ yarn install v1.22.19
┃ warning package.json: No license field
┃ info No lockfile found.
┃ warning No license field
┃ [1/4] Resolving packages...
┃ (node:7) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alterna
┃ nstead.
┃ (Use `node --trace-deprecation ...` to show where the warning was created)
┃ [2/4] Fetching packages...
┃ error glob@10.4.4: The engine "node" is incompatible with this module. Expected version "14 >=14.21 || 16
┃ 20 || 18 || 20 || >=22". Got "21.3.0"
┃ error Found incompatible module.
┃ info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.