tqtezos / minter

OpenMinter is dApp framework for enabling the creation and collection of non-fungible tokens (NFTs) on Tezos.
MIT License
192 stars 91 forks source link

yarn bootstrap has issues #425

Open byteblock-labs opened 3 years ago

byteblock-labs commented 3 years ago

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 commented 3 years ago

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

mycodecrafting commented 3 years ago

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 commented 3 years ago

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

sebuhbitcoin commented 3 years ago

I ran into the same issue just now.

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

sebuhbitcoin commented 3 years ago

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

obstropolos commented 3 years ago

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 commented 3 years ago

Are u still looking for the solution?

WizardsKnow commented 3 years ago

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