Hey,
I'm following this tutorial to configure my project with the Typecript SDK: https://www.npmjs.com/package/typescript
I cannot use the command: dagger init --sdk=typescript
It's because I'm working in a non-Internet environment, so I can't use this command because it tries to download dependencies from the Internet.
This is a structure of my project and also, the contains of my tsconfig.json. I have specified inside this file the directory of my depencies dagger.
But when I trying the command : dagger functions I have the following error :
Error: ENOENT: no such file or directory, scandir '/src/test/tata/node_modules/@dagger.io/dagger/dist/entrypoint/../../src/'
at Object.readdirSync (node:fs:1517:26)
at listFiles (/src/test/tata/node_modules/@dagger.io/dagger/dist/introspector/utils/files.js:11:38)
at entrypoint (/src/test/tata/node_modules/@dagger.io/dagger/dist/entrypoint/entrypoint.js:18:25)
at <anonymous> (/src/test/tata/node_modules/src/__dagger.entrypoint.ts:4:1)
at Object.<anonymous> (/src/test/tata/node_modules/src/__dagger.entrypoint.ts:4:12)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Object.h (/usr/local/lib/node_modules/tsx/dist/global-require-patch-faFw5e4x.cjs:1:1100)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:356:17) {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/src/test/tata/node_modules/@dagger.io/dagger/dist/entrypoint/../../src/'
Does anyone have an idea ?
Best regards.