flappybird
flappybird
DDeno
Created by flappybird on 11/21/2023 in #help
SyntaxError on Web3 package
I'm trying to use this module in my project https://deno.land/x/web3@v0.11.1 and i'm using the code from the examples in my Supabase project, like import Web3 from 'https://deno.land/x/web3@v0.11.1/mod.ts' const providerURL = Deno.args[0] const web3 = new Web3(new Web3.providers.HttpProvider(providerURL)) This is used in one of my api routes. and but everytime i call the route, I've been getting this error Uncaught SyntaxError: The requested module 'https://jspm.dev/@ethereumjs/common' does not provide an export named 'default' at https://deno.land/x/web3@v0.7.3/packages/web3-eth-accounts/src/index.js:34:8 InvalidWorkerCreation: worker boot error can someone help please 😦 i tried running a --reload on the cache for this module but it didn't work.
2 replies