Sabah KaldwinS
Deno3y ago
4 replies
Sabah Kaldwin

deno info returns module not found

deno info https://raw.githubusercontent.com/Murcul/norm/v1.3.0/src/mod.ts
error: module could not be found


Trying to import that 3rd party public package causes the same issue with the same error.

Replacing the url with the jsdelivr url however works fine
➜  ~ deno info https://cdn.jsdelivr.net/gh/Murcul/norm@1.3.0/src/mod.ts
local: ~/.cache/deno/deps/https/cdn.jsdelivr.net/bbeaaad832c8774b3e299316fc9f25ed226f0baa182998c761329515b85a02cc
emit: ~/.cache/deno/gen/https/cdn.jsdelivr.net/bbeaaad832c8774b3e299316fc9f25ed226f0baa182998c761329515b85a02cc.js
type: TypeScript
dependencies: 233 unique
size: 3.03MB

https://cdn.jsdelivr.net/gh/Murcul/norm@1.3.0/src/mod.ts (118B)
├─┬ https://cdn.jsdelivr.net/gh/Murcul/norm@1.3.0/src/type-generator.ts (3.47KB)
│ └─┬ https://cdn.jsdelivr.net/gh/Murcul/norm@1.3.0/src/deps.ts (768B)

// keeps going


The jsdelivr trick does unblock me, but I can't update the actual file and push a commit as the raw.githubusercontent url works fine for all my coworkers.
Any ideas of why the raw.githubusercontent url does not work?
Was this page helpful?