keep-core icon indicating copy to clipboard operation
keep-core copied to clipboard

Linking projects with yarn

Open dimpar opened this issue 3 years ago • 0 comments

It happens occasionally, that after calling install.sh yarn linking won't work correctly which will result in the following error:

tslabon@MacBook-Pro-Tomasz ~/projekt/keep-core $% ./scripts/initialize.sh --stake-owner  0x037d7fbca1ca96e6d628c2b8fd910c59a8aa213c

Initializing beacon...
An unexpected error occurred:

Error: No deployment found for: TokenStaking
    at Object.get (/Users/tslabon/projekt/keep-core/solidity/random-beacon/node_modules/hardhat-deploy/src/DeploymentsManager.ts:162:17)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

The quick workaround it so to navigate manually to /solidity/random-beacon and executing yarn link @threshold-network/solidity-contracts, but this should all happen in install.sh automatically.

dimpar avatar Sep 27 '22 10:09 dimpar