minter icon indicating copy to clipboard operation
minter copied to clipboard

yarn bootstrap has issues

Open byteblock-labs opened this issue 3 years ago • 8 comments

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?

byteblock-labs avatar May 12 '21 14:05 byteblock-labs

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

obstropolos avatar May 13 '21 15:05 obstropolos

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 ;-)

mycodecrafting avatar May 13 '21 15:05 mycodecrafting

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

byteblock-labs avatar May 15 '21 09:05 byteblock-labs

I ran into the same issue just now.

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

sebuhbitcoin avatar May 19 '21 05:05 sebuhbitcoin

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

sebuhbitcoin avatar May 19 '21 05:05 sebuhbitcoin

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.

obstropolos avatar May 19 '21 15:05 obstropolos

Are u still looking for the solution?

byteblock-labs avatar May 21 '21 14:05 byteblock-labs

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

WizardsKnow avatar Aug 13 '21 05:08 WizardsKnow