Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

yarn bootstrap has issues #425

Open
byteblock-labs opened this issue May 12, 2021 · 8 comments
Open

yarn bootstrap has issues #425

byteblock-labs opened this issue May 12, 2021 · 8 comments
Assignees

Comments

@byteblock-labs
Copy link

Runs into this issue:
Bootstrapping contracts...
Encountered error:
[2021-05-12T10:51:37.576] [ERROR] [default] - Error while bootstrapping environment custom
(node:2208) UnhandledPromiseRejectionWarning: undefined
(Use node --trace-warnings ... to show where the warning was created)
(node:2208) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2208) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Encountered error:
[2021-05-12T10:51:37.576] [ERROR] [default] - Error: Unsupported key type
at new InMemorySigner (/tmp/minter/node_modules/@taquito/signer/src/taquito-signer.ts:85:15)
at Function. (/tmp/minter/node_modules/@taquito/signer/src/taquito-signer.ts:39:12)
at step (/tmp/minter/node_modules/@taquito/signer/dist/taquito-signer.umd.js:61:27)
at Object.next (/tmp/minter/node_modules/@taquito/signer/dist/taquito-signer.umd.js:42:57)
at fulfilled (/tmp/minter/node_modules/@taquito/signer/dist/taquito-signer.umd.js:32:62)
Encountered error:
error Command failed with exit code 1.
Encountered error:
error Command failed with exit code 1.

how to solve it?

@obstropolos
Copy link
Contributor

Hey @byteblock-labs - what version of OpenMinter are you currently using?

@mycodecrafting
Copy link
Collaborator

Hey @byteblock-labs the error here is Unsupported key type. When the input wizard asks you for your secret/private key, can you let me know the first 4 characters of the key? Please do not post the entire key ;-)

@byteblock-labs
Copy link
Author

We solved that issue. the promise was not cathed properly. Do you want me to submit the patch?

@sebuhbitcoin
Copy link

I ran into the same issue just now.

Would love to try again. What's the way to fix it?

@sebuhbitcoin
Copy link

my issue is it crashes right after inputting the private key of the contract originator address,

@obstropolos
Copy link
Contributor

obstropolos commented May 19, 2021

We solved that issue. the promise was not cathed properly. Do you want me to submit the patch?

@byteblock-labs - sure feel free to open a pull request. Thank you.

@byteblock-labs
Copy link
Author

Are u still looking for the solution?

@WizardsKnow
Copy link

@byteblock-labs what format is expected for the secret key?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants