Next.js Discord

Discord Forum

Error in Build Process in Vercel After Installing A Specific Version of EthersJs

Unanswered
Irish Terrier posted this in #help-forum
Open in Discord
Irish TerrierOP
This error occured in the deployment build of our site. I am using a hook that requires ThirdWebSdk to work with version 5 of the Etherjs library. I specified installation with yarn add ethers@5.7 and imported the class as import {providers} from 'ethers' and it worked fine in local developent and build. But, I have been getting this error for hours now because ethers has removed the 'providers' class in v6 and it seems the build process does not differentiate.

0 Replies