Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/utils' is not defined by "exports" ...
Channel: Peter Schneider
Date: 05/03/2023

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/utils' is not defined by "exports" in node_modules\ethers\package.json
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  |
Thanks to all those great people for their contributions!

 (ethereum.stackexchange.com/users/108517/nirban-chakraborty)Nirban Chakraborty |
 (ethereum.stackexchange.com/users/108517/nirban-chakraborty)Nirban Chakraborty |
 A special thanks goes out to the (https://ethereum.stackexchange.com/questions/145473/error-err-package-path-not-exported-package-subpath-lib-utils-is-not-defi)Stackexchange community |
 
 I wish you all a wonderful day! Stay safe :)
 
  solidity ethers.js openzeppelin-contracts hardhat upgrading