codeSTACKr / minter-dapp

MIT License
2.04k stars 3.41k forks source link

Issue: Need help updating baseUri, description, namePrefix, after generating images #135

Open Abubakr22 opened 1 year ago

Abubakr22 commented 1 year ago

Version

General Question

What happened?

I am currently facing regarding updating baseUri description namePrefix after generating images.

I have recently generated some images , but I noticed that the description and name prefix of baseUri were wrong. I would like to rectify this issue as soon as possible, but I am not sure how to go about it.

Could you please provide me with guidance on how to update the baseUri description and namePrefix after generating the images? Specifically, I would like to know the steps I need to follow to make the necessary changes without causing any damage to the existing files.

Any help that you can provide would be greatly appreciated, as I am keen to ensure that the baseUri is correctly updated to reflect the new images.

Thank you in advance for your assistance. I look forward to hearing back from you soon.

What have you tried?

I tried this command : npm run update_info

how can ask questions in the Discord It says I don't have permission to message

Screenshot 2023-04-29 094134

Relevant log output

PS C:\Users\sarda\Documents\OpenSea\Code\create-10k-nft-collection-2.0.0> npm run update_info

> 10k-collection-video@2.0.0 update_info
> node utils/update_info.js

C:\Users\sarda\Documents\OpenSea\Code\create-10k-nft-collection-2.0.0\utils\update_info.js:16
const updateName = await yesno(`Update names?`);
                   ^^^^^

SyntaxError: await is only valid in async functions and the top level bodies of modules
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1031:15)
    at Module._compile (node:internal/modules/cjs/loader:1065:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47
PS C:\Users\sarda\Documents\OpenSea\Code\create-10k-nft-collection-2.0.0>

Protect your information