LaraL
Deno14mo ago
Lara

Relative import path "events" not prefixed with / or ./ or ../ and not in import map from "https://e

I get issue when I run :
 deno run --allow-net --check  index.ts

Deno version :
deno 2.0.2

Error:
error: Relative import path "events" not prefixed with / or ./ or ../ and not in import map from "https://esm.sh/v135/@types/node@18.16.19/events.d.ts"
  hint: If you want to use a built-in Node module, add a "node:" prefix (ex. "node:events").
    at https://esm.sh/v135/@types/node@18.16.19/events.d.ts:681:29



Repository for reproducing it :

git@github.com:Ge6ben/custom-route-oak.git

Raised issue here :
https://github.com/denoland/deno/issues/15206#issuecomment-2438099925
GitHub
Contribute to Ge6ben/custom-route-oak development by creating an account on GitHub.
Was this page helpful?