Error: Could not fetch https://cdn.jsdelivr.net/npm/@solana/web3.js@^1-legacy/lib/index.browser.esm.js
Error: Could not fetch https://unpkg.com/@solana/web3.js@^1-legacy/lib/index.browser.esm.js
Essentially something is mangling the package name, taking the -legacy string in the alias and tacking it onto the CDN URL when it should be left out.
How has this issue affected you? What are you trying to accomplish?
The modules don't load and the sandbox is unusable.
🐛 bug report
Preflight Checklist
Description of the problem
Consider these dependencies in
package.json
:This results in this console error:
Essentially something is mangling the package name, taking the
-legacy
string in the alias and tacking it onto the CDN URL when it should be left out.How has this issue affected you? What are you trying to accomplish?
The modules don't load and the sandbox is unusable.
To Reproduce
Run this sandbox.
Link to sandbox: link