ash
ash2mo ago

Copying from a repository from jsr

At the moment I'm working on my integrations with jsr with deno so I can stop using npm to install the project I'm currently working on, and basically I don't want to depend on bpm to install bun: using npm :
npx create-vixeny
npx create-vixeny
and it just works, but trows with jsr:
deno run -A jsr:@vixeny/create@0.4.3
deno run -A jsr:@vixeny/create@0.4.3
and the issue here is that I need to download the project to copy from it to the desired dir and the error I'm getting is because fileURLToPath(import.meta.url) throws , here some extra information that I added:
import.meta.url is: https://jsr.io/@vixeny/create/0.4.3/bin/config.mjs
cwd is : /home/YOUR_CURRENT_DIR
import.meta.url is: https://jsr.io/@vixeny/create/0.4.3/bin/config.mjs
cwd is : /home/YOUR_CURRENT_DIR
I know that the issue is that the schema is not file:, I also tried to use --cached-only to see if this imports the project locally
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?