Module not found "https://deno.land/std/io/bufio.ts"
KaKi87 opened this issue ยท comments
Hello,
@denyncrawford, the following code :
import Datastore from 'https://deno.land/x/dndb@0.3.3/mod.ts'
throws the following error :
error: Module not found "https://deno.land/std/io/bufio.ts".
at https://deno.land/x/dndb@0.3.3/deps.ts:5:27
@AmateurPotion, since you recently updated your fork, I'm guessing you fixed that, but how to import your module ?
The following code :
import Datastore from 'https://raw.githubusercontent.com/AmateurPotion/dndb/main/mod.ts'
throws the following error :
error: Relative import path "dndb/executor.ts" not prefixed with / or ./ or ../
at https://raw.githubusercontent.com/AmateurPotion/dndb/main/src/mod.ts:15:22
Thanks
I was also in the process of updating because I ran into a similar problem :<
@KaKi87
์ ๋ Import_map.json ์ ์ด์ฉํด ๊ฐ์ ธ์ค๊ธฐ ๊ฒฝ๋ก๋ค์ ์ ๋ฆฌํ์ต๋๋ค. ํด๋น ์๋ ๊ฒฝ๋ก ๋ฌธ์ ๋ ide์ deno ๋ฒ์ ๋ฌธ์ ์ธ๋ฏ ์ถ์๋ฐ ํน์ ์ด๋ค ide๋ฅผ ์ฌ์ฉํ์๋ ์ค์ธ์ง ์๋ ค์ฃผ์ค ์ ์์ผ์ ๊ฐ์?
google translate)
I used Import_map.json to organize the import paths. The relative path problem seems to be a problem with the deno version of the ide. Could you please tell me which ide you are using?
The relative path problem seems to be a problem with the deno version
I upgraded to the latest version (1.27.0
) which doesn't change anything.
Additionally, would you please enable issues on your own repository ?
Thanks
Hello ?
@KaKi87
@AmateurPotion has done a few changes/cleanups on a forked repo. I have done another fork and fixed some issues with Deno 1.31.2 - Please see if it works for you.
https://github.com/SINE/dndb