D
Deno

help

Relative import path "ioredis" not prefixed with / or ./ or ../

Bbajosi8/15/2023
// main.ts
import Redis from "ioredis";
// main.ts
import Redis from "ioredis";
// deno.json
{
"imports": {
"ioredis": "https://esm.sh/ioredis@^5.3.2"
}
}
// deno.json
{
"imports": {
"ioredis": "https://esm.sh/ioredis@^5.3.2"
}
}
this is happening, when vscode is not running on root of deno project.

Looking for more? Join the community!