deno in Dockerfile
i have successfully installed deno with theese commands:
in my Dockerfile,
but when i try to run a script:
inside the virtual docker container i get the following message
what could be going on ?
5 Replies
i think the module is just down, it worked on my local machine because it was still in the cache , when i run the test with :
i also get the error on my physical machine
visiting https://deno.land/std@0.178.0/node/buffer.ts shows a 404 Not Found message, i am going to report this
This script is not correct for several reasons. First of all, you should be using node specifiers:
if it was any other module, you should pin the version of the module.
std/node
was removed in deno 1.31.0
actually i had a unused import in my script, the module which depends on buffer.ts is this
https://deno.land/x/mysql2
, exactly here : https://deno.land/x/mysql2@v1.0.6/deps.ts?source
luckily i do not need this module, i just forgot to remove the import
👍
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View