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

ERR_MODULE_NOT_FOUND on npm:[email protected] #26903

Closed
dahlia opened this issue Nov 17, 2024 · 0 comments · Fixed by #26920
Closed

ERR_MODULE_NOT_FOUND on npm:[email protected] #26903

dahlia opened this issue Nov 17, 2024 · 0 comments · Fixed by #26920
Labels
bug Something isn't working correctly node resolution

Comments

@dahlia
Copy link

dahlia commented Nov 17, 2024

Version: Deno 2.0.6

The code to reproduce:

import { channel } from "npm:[email protected]";

console.debug(channel("#00000000", "r"));

Expected output (it's from Node.js):

0

Actual output:

error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///Users/dahlia/Library/Caches/deno/npm/registry.npmjs.org/khroma/2.1.0/dist/channels/utils/index.js' imported from 'file:///Users/dahlia/Library/Caches/deno/npm/registry.npmjs.org/khroma/2.1.0/dist/channels//index.js'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node resolution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants