Closed bumi closed 5 years ago
I think it means that either the "npm install" failed in some way, or there's an actual bug in the ethers build. It's trying to find a linked module in the dist dir, but a dist build should actually have all its code compiled into one file usually.
npm install looked fine.
I would create an issue for ethers.js then.
This could be a problem with the Current version of Node, are you getting the same error on LTS?
I think I might have had a similar problem once, where deleting the whole node_modules
directory and running npm install
again fixed it.
I can confirm the same issue with the master branch of this repo, linking it to the kredits-web
. It wasn't mentioned that it fails when using npm link
in the original post, because just installing the module as a normal dependency works fine.
so, yep... I tried to debug it again and it seems to fail when npm linking the kredits-contracts package.
I am closing this issue and opening new ones for the update and linking issue.
Ethers.js is now in version 4.0 and has some (minor) breaking changes, see migration guide
I tried to update ethers.js to the latest 4.0.0 version but then running kredits-web fails with the following error: does anyone know what that could mean? is it a problem within the ethers.js package?
in the log:
indeed there is no
./utils/properties
innode_modules/ethers/dist