-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
@adraffy/ens-normalize resolution #4102
Comments
Thanks. I am working to resolve this. :) |
Amazing, thank you! |
forcing ethers to use |
This should be fixed in v6.4.2. Can you try it out and let me know if you still have any problems? |
Closing now, but please re-open if it is still an issue. Thanks! :) |
It works. thanks |
Ethers Version
6.4.0
Search Terms
dependencies ens
Describe the Problem
There is an existing (closed) issue relating to resolution of @adraffy/ens-normalize (#3848)
I'm still seeing this issue in 6.4.0, and I don't have any fancy react in my repo :). I think it has something to do with how npm is handling the nested dependency.
If I install @adraffy/ens-normalize directly I get the dist folder. If I navigate to node_modules/ethers/node_modules/@adraffy/ens-normalise there is no dist folder.
If I copy the dist folder from node_modules/@adraffy/ens-normalise to the path listed above I get past this issue (and on to the next issue in my migration from v5 lol).
So, how do we force the @adraffy/ens-normalise within the ethers directory to get a dist folder and contents?
Code Snippet
No response
Contract ABI
No response
Errors
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/mattp/Documents/GitHub/crowsnest/node_modules/ethers/node_modules/@adraffy/ens-normalize/dist/index.mjs' imported from /Users/mattp/Documents/GitHub/crowsnest/node_modules/ethers/lib.esm/hash/namehash.js
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: