Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking projects with yarn #3312

Open
dimpar opened this issue Sep 27, 2022 · 0 comments
Open

Linking projects with yarn #3312

dimpar opened this issue Sep 27, 2022 · 0 comments
Assignees

Comments

@dimpar
Copy link
Contributor

dimpar commented Sep 27, 2022

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 dimpar self-assigned this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant