D
Deno
F
Deno
β’
3y ago
β’
1 reply
flappybird
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
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Uncaught SyntaxError: Unexpected reserved word
L
Laurence / help
2y ago
Importing NPM Packages in Deno Throws 'Uncaught SyntaxError' for Specific Modules
S
Schmuki / help
3y ago
Bump package
E
el maco / help
2mo ago
websockets package
P
platodev / help
2y ago