Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found "https://deno.land/std/io/bufio.ts" #20

Open
KaKi87 opened this issue Oct 30, 2022 · 6 comments
Open

Module not found "https://deno.land/std/io/bufio.ts" #20

KaKi87 opened this issue Oct 30, 2022 · 6 comments

Comments

@KaKi87
Copy link

KaKi87 commented Oct 30, 2022

Hello,

@denyncrawford, the following code :

import Datastore from 'https://deno.land/x/[email protected]/mod.ts'

throws the following error :

error: Module not found "https://deno.land/std/io/bufio.ts".
    at https://deno.land/x/[email protected]/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

@AmateurPotion
Copy link

I was also in the process of updating because I ran into a similar problem :<

@AmateurPotion
Copy link

AmateurPotion commented Nov 2, 2022

@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?

@KaKi87
Copy link
Author

KaKi87 commented Nov 2, 2022

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

@KaKi87
Copy link
Author

KaKi87 commented Nov 11, 2022

Hello ?

@SINE
Copy link

SINE commented Mar 15, 2023

@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

@KaKi87
Copy link
Author

KaKi87 commented Mar 16, 2023

Actually, I got so desperate in the meantime, that I created my own library, and a cross-runtime one : xedb.

Provided without any warranty, especially since there is no unit testing yet, but working for my use case.

Thanks anyway !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants