werthanW
Denoβ€’11mo agoβ€’
6 replies
werthan

Deno Compile Can't Find Node Module

{
  "version": "0.0.1",
  "imports": {
    "@aws-sdk/client-ssm": "npm:@aws-sdk/client-ssm@^3.750.0",
    "@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.7",
    "@std/cli": "jsr:@std/cli@^1.0.13",
    "@std/yaml": "jsr:@std/yaml@^1.0.5"
  }
}


Cannot find module 'file:///var/folders/55/bwth_1_x1pd93fcj6nn3wyrm0000gr/T/deno-compile-cloudenvt-ts/.deno_compile_node_modules/localhost/@aws-sdk/client-ssm/3.750.0/index.js'


Running deno compile on a ts file that includes another file that includes the aws sdk ssm client and I get the above error when I try to run the binary.
Was this page helpful?