Unable to use npm imports when BYONM is enabled #23267
Labels
needs discussion
this topic needs further discussion to determine what action to take
node compat
node resolution
Milestone
Version: Deno 1.42.1
There are many times where I have one-off dependencies that are used in scripts that would not make sense to include as part of the main project package.json. However when BYONM is enabled, you are unable to use
npm:
imports anymore and will receive this error message like this if attempting to do so:This is not the case for JSR and HTTPS imports which continue to work as normal which feels very inconsistent. Having NPM imports continue to function while BYONM is enabled would make mode 3 described in this issue a much more effective and realistic option.
The text was updated successfully, but these errors were encountered: