Replies: 7 comments 4 replies
-
What are you trying to do? That path is not exported, so the error seems correct? |
Beta Was this translation helpful? Give feedback.
-
I want to run the program, but I am prompted with this error. It seems that there are some issues with the export in the ethers package |
Beta Was this translation helpful? Give feedback.
-
What makes you think that is an ethers error though? Ethers doesn’t have that path in its package.json. It looks like it might be coming from a package in |
Beta Was this translation helpful? Give feedback.
-
Because I am not running the package containing ether packages, it can run normally. However, this error occurred after the package was introduced. Sorry, I am not very sure if it is the problem with this package |
Beta Was this translation helpful? Give feedback.
-
I don't think this issue is related to Ethers. I'm moving it to discussions though, if you can provide more information though, it can be moved back as an issue. |
Beta Was this translation helpful? Give feedback.
-
@kakui-lau Just had the same issue. For the record, in my case this was caused by having the following import: ...and was solved by replacing it with |
Beta Was this translation helpful? Give feedback.
-
Does anyone have answer for this question yet? |
Beta Was this translation helpful? Give feedback.
-
Ethers Version
6.5.1
Search Terms
No response
Describe the Problem
v16.18.1
Mac
When importing package runtime, Package subpath '/ Lib/utils' is not defined by "exports"
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions