Hi there, I'm trying to extend the upgrades repo, but for now I can't seem to even make it work simply.
My system:
I'm working on windows with WSL (ubuntu)
Using node 20.16 (with NVM)
I'm cloning the current master (commit 49e7ae9) and after cloning I run yarn install from the root directory of the project (the one created after cloning). This is what I get:
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm error code 2
npm error path /home/user/dev/openzeppelin-upgrades/packages/plugin-hardhat
npm error command failed
npm error command sh -c yarn clean && yarn compile
npm error yarn run v1.22.22
npm error $ rimraf dist *.tsbuildinfo
npm error Done in 0.33s.
npm error yarn run v1.22.22
npm error $ tsc -b
npm error src/utils/attach-abi.ts(3,44): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json' or its corresponding type declarations.
npm error src/utils/attach-abi.ts(4,44): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json' or its corresponding type declarations.
npm error src/utils/attach-abi.ts(6,26): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json' or its corresponding type declarations.
npm error src/utils/attach-abi.ts(7,26): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(14,32): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/build-info-v5.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(18,26): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(19,25): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/BeaconProxy.sol/BeaconProxy.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(20,31): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(21,41): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json' or its corresponding type declarations.
npm error src/verify-proxy.ts(22,24): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json' or its corresponding type declarations.
npm error src/defender/deploy.ts(19,32): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/build-info-v5.json' or its corresponding type declarations.
npm error src/defender/deploy.ts(21,26): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json' or its corresponding type declarations.
npm error src/defender/deploy.ts(22,25): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/BeaconProxy.sol/BeaconProxy.json' or its corresponding type declarations.
npm error src/defender/deploy.ts(23,31): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json' or its corresponding type declarations.
npm error src/defender/deploy.ts(24,41): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json' or its corresponding type declarations.
npm error src/utils/factories.ts(3,26): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json' or its corresponding type declarations.
npm error src/utils/factories.ts(4,25): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/BeaconProxy.sol/BeaconProxy.json' or its corresponding type declarations.
npm error src/utils/factories.ts(5,31): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json' or its corresponding type declarations.
npm error src/utils/factories.ts(6,41): error TS2307: Cannot find module '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts-v5/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json' or its corresponding type declarations.
npm error info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm error error Command failed with exit code 2.
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2024-08-07T16_35_11_731Z-debug-0.log
Hi there, I'm trying to extend the upgrades repo, but for now I can't seem to even make it work simply.
My system:
I'm cloning the current master (commit 49e7ae9) and after cloning I run
yarn install
from the root directory of the project (the one created after cloning). This is what I get:Love your help solving this...
Thanks