You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to install a package globally without specifying the source (e.g. deno install -g concurrently), it throws this error: 'error: Module not found "/path/to/current/dir/package_name"'. Instead, it should show the same type of hint as deno add [package without a source specifier] (e.g. error: concurrently is missing a prefix. Did you mean deno add npm:concurrently?).
The text was updated successfully, but these errors were encountered:
Good idea, it's a "Good first issue" if someone is interested in implementing it. You can start by looking at install_global function in cli/tools/installer.rs and following what install_local is doing to figure out if a prefix should be added.
When I try to install a package globally without specifying the source (e.g.
deno install -g concurrently
), it throws this error: 'error: Module not found "/path/to/current/dir/package_name"'. Instead, it should show the same type of hint asdeno add [package without a source specifier]
(e.g. error: concurrently is missing a prefix. Did you meandeno add npm:concurrently
?).The text was updated successfully, but these errors were encountered: