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
Run the following command:deno vendor https://gist.githubusercontent.com/jespertheend/6f05a6c8ce082dcb976740db8e9232e7/raw/577685d2c8506d1d4d27d5fa2f6ddb5c1ffd4c54/import_npm_specifier.js.
Also running into this I think. I'm having a heck of a frustrating time trying to use Deno migrating my firebase cloud functions to supabase edge functions. Roadblocks at every turn. Every time I think I've worked around one thing I run into another. ☹️
This time I tried to work around problems importing local packages from my pnpm workspace by vendoring them directly from a private github repo, only to run into this panic.
We never properly added support for this. This fixes vendoring when it
has npm or node specifiers. Vendoring occurs by adding a
`"nodeModulesDir": true` property to deno.json then it uses a local
node_modules directory. This can be opted out by setting
`"nodeModulesDir": false` or running with `--node-modules-dir=false`.
Closes#18090Closes#17210Closes#17619Closes#16778
To reproduce
deno vendor https://gist.githubusercontent.com/jespertheend/6f05a6c8ce082dcb976740db8e9232e7/raw/577685d2c8506d1d4d27d5fa2f6ddb5c1ffd4c54/import_npm_specifier.js
.Which is a file that contains only:
import "npm:[email protected]";
The text was updated successfully, but these errors were encountered: