Can anyone confirm, that the example in https://docs.dagger.io/quickstart/daggerize is working? I'm trying to get my feet wet here. This is on WSL.
dagger v0.12.4 (registry.dagger.io/engine:v0.12.4) linux/amd64
✔ Container.withExec(args: ["npm", "run", "test:unit", "run"]): Container! 0.4s
✘ Container.stdout: String! 0.4s
! process "npm install" did not complete successfully: exit code: 254
Error: response from query: input: helloDagger.publish resolve: call function "Publish": process "/runtime" did not complete successfully: exit code: 2
Stdout:
invoke: input: container.from.withDirectory.withMountedCache.withWorkdir.withExec.withExec.stdout resolve: process "npm install" did not complete successfully: exit code: 254
Stderr:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /src/package.json
npm ERR! errno -2
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/src/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-08-10T14_25_16_394Z-debug-0.log
RIGEL hello-dagger/dagger main ? cat /root/.npm/_logs/2024-08-10T14_25_16_394Z-debug-0.log
[bat error]: '/root/.npm/_logs/2024-08-10T14_25_16_394Z-debug-0.log': No such file or directory (os error 2)