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

Deploy script not work #2

Open
dmitryvansovich opened this issue Jun 5, 2022 · 5 comments
Open

Deploy script not work #2

dmitryvansovich opened this issue Jun 5, 2022 · 5 comments

Comments

@dmitryvansovich
Copy link

dmitryvansovich commented Jun 5, 2022

npm run start

> [email protected] start
> node output/index.js

(node:8756) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'subtle' of undefined
    at hmacSha512 (C:\Projects\metaverse\ton-nft-deployer\node_modules\tonweb-mnemonic\dist\node\index.js:122:37)
    at mnemonicToEntropy (C:\Projects\metaverse\ton-nft-deployer\node_modules\tonweb-mnemonic\dist\node\index.js:100:16)
    at validateMnemonic (C:\Projects\metaverse\ton-nft-deployer\node_modules\tonweb-mnemonic\dist\node\index.js:227:34)
    at C:\Projects\metaverse\ton-nft-deployer\output\config.js:43:74
    at Generator.next (<anonymous>)
    at C:\Projects\metaverse\ton-nft-deployer\output\config.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Projects\metaverse\ton-nft-deployer\output\config.js:4:12)
    at checkConfig (C:\Projects\metaverse\ton-nft-deployer\output\config.js:37:12)
    at C:\Projects\metaverse\ton-nft-deployer\output\config.js:31:15
(node:8756) 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(). (rejection id: 2)
(node:8756) [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.
@denz1l
Copy link

denz1l commented Jun 17, 2022

Now?

@TrueCarry
Copy link
Contributor

You probably didn't install dependencies.

@WiseBonabooRafiki
Copy link

I have same problem on ubuntu 20.04 what dependencies are you talking about?

@WiseBonabooRafiki
Copy link

Change version of nodejs sdk for 16 worked for me.

But now i have Error "Mnemonic adress mismatch"

@N3koSempai
Copy link

Change version of nodejs sdk for 16 worked for me.

But now i have Error "Mnemonic adress mismatch"

The problem is in the wallet versions.
In your wallet you are copying an address that does not match the one you select in ton-nft-deployer.
Select v3R2, which is usually the most standard, if it doesn't work, try all of them.

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

No branches or pull requests

4 participants