NobbZ
NobbZ
DDeno
Created by NobbZ on 3/10/2024 in #help
How to use vendoring with node_modules
Can you link the issue? I'd be happy to provide more information or reproducers if possible
8 replies
DDeno
Created by NobbZ on 3/10/2024 in #help
How to use vendoring with node_modules
"airgapped" means, without internet, yes. Any failing internet access is by design. And I have ensured by hashing mechanisms, that the vendor as well as the node_modules on the builder are the same as on my machine. After looking closer at the build output, it seems that deno task resolves correctly, and then the actual error happens as part of the resolved task. On the dev host, I also can observe that fetching of dependencies happens "in stages". I first see download progress, then the following lines get printed, then another batch of dependencies is downloaded.
Task build deno task lume
Task lume echo "import 'lume/cli.ts'" | deno run -A -
Task build deno task lume
Task lume echo "import 'lume/cli.ts'" | deno run -A -
It also appears that on the dev host only the second batch of downloads appears to create the node_modules. So the issue might actually be in lume, rather than deno.
8 replies
DDeno
Created by NobbZ on 3/10/2024 in #help
How to use vendoring with node_modules
Also weird, other tools can properly read the lockfile, like cat and jqing just works…
8 replies