aave-v3-core icon indicating copy to clipboard operation
aave-v3-core copied to clipboard

docker-compose up Error

Open wepeng opened this issue 3 years ago • 5 comments

I do 'docker-compose up '. Get error like this:

contracts-env_1  | npm ERR! code E404
contracts-env_1  | npm ERR! 404 Not Found - GET https://npm.pkg.github.com/download/@aave/deploy-v3/1.21.1-beta.4/379cc7907d7c26584ae52205062b10390b12562c1f20ee40cb476b3f8b36f6d7 - NPM package "deploy-v3" does not exist under owner "aave"
contracts-env_1  | npm ERR! 404 
contracts-env_1  | npm ERR! 404  '@aave/deploy-v3@https://npm.pkg.github.com/download/@aave/deploy-v3/1.21.1-beta.4/379cc7907d7c26584ae52205062b10390b12562c1f20ee40cb476b3f8b36f6d7' is not in this registry.
contracts-env_1  | npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
contracts-env_1  | npm ERR! 404 
contracts-env_1  | npm ERR! 404 Note that you can also install from a
contracts-env_1  | npm ERR! 404 tarball, folder, http url, or git url.
contracts-env_1  | 
contracts-env_1  | npm ERR! A complete log of this run can be found in:
contracts-env_1  | npm ERR!     /home/node/.npm/_logs/2022-04-05T08_59_54_023Z-debug.log
contracts-env_1  | npm notice 
contracts-env_1  | npm notice New minor version of npm available! 8.1.2 -> 8.6.0
contracts-env_1  | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.6.0>
contracts-env_1  | npm notice Run `npm install -g [email protected]` to update!
contracts-env_1  | npm notice 

The key error is: NPM package "deploy-v3" does not exist under owner "aave"

I cann't find it in https://www.npmjs.com/: image

All line:

Desktop/aave-v3-core$ docker-compose up                                                                          
WARNING: The MNEMONIC variable is not set. Defaulting to a blank string.
WARNING: The ETHERSCAN_KEY variable is not set. Defaulting to a blank string.
WARNING: The ETHERSCAN_NETWORK variable is not set. Defaulting to a blank string.
WARNING: The TENDERLY_FORK_ID variable is not set. Defaulting to a blank string.
WARNING: The TENDERLY_HEAD_ID variable is not set. Defaulting to a blank string.
WARNING: The DEFENDER_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The DEFENDER_SECRET_KEY variable is not set. Defaulting to a blank string.
Starting aave-v3-core_contracts-env_1 ... done
Attaching to aave-v3-core_contracts-env_1
contracts-env_1  | 
contracts-env_1  | > @aave/[email protected] run-env
contracts-env_1  | > npm run auth-registry && npm i && tail -f /dev/null
contracts-env_1  | 
contracts-env_1  | 
contracts-env_1  | > @aave/[email protected] auth-registry
contracts-env_1  | > npx dotenv-cli -- bash -c 'npm config set //npm.pkg.github.com/:_authToken "$NODE_AUTH_TOKEN"'
contracts-env_1  | 
contracts-env_1  | npm WARN deprecated [email protected]: testrpc has been renamed to ganache-cli, please use this package from now on.
contracts-env_1  | npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
contracts-env_1  | npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
contracts-env_1  | npm WARN deprecated [email protected]: this library is no longer supported
contracts-env_1  | npm WARN deprecated [email protected]: Deprecated in favor of '@metamask/eth-sig-util'
contracts-env_1  | npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
contracts-env_1  | npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
contracts-env_1  | npm WARN deprecated @ledgerhq/[email protected]: @ledgerhq/hw-transport-u2f is deprecated. Please use @ledgerhq/hw-transport-webusb or @ledgerhq/hw-transport-webhid. https://github.com/LedgerHQ/ledgerjs/blob/master/docs/migrate_webusb.md
contracts-env_1  | npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
contracts-env_1  | npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
contracts-env_1  | npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
contracts-env_1  | npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
contracts-env_1  | npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
contracts-env_1  | npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
contracts-env_1  | npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
contracts-env_1  | npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
contracts-env_1  | npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
contracts-env_1  | npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
contracts-env_1  | npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
contracts-env_1  | npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
contracts-env_1  | npm WARN deprecated @ensdomains/[email protected]: Please use @ensdomains/ens-contracts
contracts-env_1  | npm WARN deprecated @ensdomains/[email protected]: Please use @ensdomains/ens-contracts
contracts-env_1  | npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
contracts-env_1  | npm ERR! code E404
contracts-env_1  | npm ERR! 404 Not Found - GET https://npm.pkg.github.com/download/@aave/deploy-v3/1.21.1-beta.4/379cc7907d7c26584ae52205062b10390b12562c1f20ee40cb476b3f8b36f6d7 - NPM package "deploy-v3" does not exist under owner "aave"
contracts-env_1  | npm ERR! 404 
contracts-env_1  | npm ERR! 404  '@aave/deploy-v3@https://npm.pkg.github.com/download/@aave/deploy-v3/1.21.1-beta.4/379cc7907d7c26584ae52205062b10390b12562c1f20ee40cb476b3f8b36f6d7' is not in this registry.
contracts-env_1  | npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
contracts-env_1  | npm ERR! 404 
contracts-env_1  | npm ERR! 404 Note that you can also install from a
contracts-env_1  | npm ERR! 404 tarball, folder, http url, or git url.
contracts-env_1  | 
contracts-env_1  | npm ERR! A complete log of this run can be found in:
contracts-env_1  | npm ERR!     /home/node/.npm/_logs/2022-04-05T09_11_26_875Z-debug.log
aave-v3-core_contracts-env_1 exited with code 1

wepeng avatar Apr 05 '22 09:04 wepeng

it seems like they're using a private npm package. Not sure when they plan to open it to the public. I think I'll checkout v2 in the meantime.

geofflangenderfer avatar May 15 '22 21:05 geofflangenderfer

似乎他们正在使用私有 npm 包。不确定他们何时计划向公众开放。我想我会在此期间结帐 v2。

I also encountered the same problem when deploying v3, but unfortunately the package is still not public

0xZXDX avatar Jun 14 '22 07:06 0xZXDX

Wait so what does this mean exactly? Is this repo missing deployed contracts? Or only deployment scripts? Or yet again something else I can't think of?

samlaf avatar Jun 17 '22 10:06 samlaf

so is there no way to run the unit tests since @aave/deploy-v3 is private?

reynolkb avatar Jun 27 '22 16:06 reynolkb

would be awesome if one of you could make this public or/and make the repository where the packages are located public. Thank you :-)

wsdt avatar Oct 13 '22 02:10 wsdt

See https://github.com/aave/aave-v3-core/issues/679

miguelmtzinf avatar Feb 14 '23 09:02 miguelmtzinf