coinbase / coinbase/nft-dapp-starter-kit

error while uploading images in art-engine folder in metadata

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
168
Forks
103
PR merge metrics
No merged PRs in 30d

Description

PS C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine> yarn generate
yarn run v1.22.19
$ node scripts/generateMetadata.js
Uploading images...
The number of files being added would exceed your account’s pin limit
Finished uploading images
Error: ENOENT: no such file or directory, open 'build/URI/postRevealImgURI.txt'
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at updateMetadata (C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine\scripts\post-reveal\updateMetadata.js:8:30)
at main (C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine\scripts\generateMetadata.js:7:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'build/URI/postRevealImgURI.txt'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

please help me to resolve this error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with metadata/art-engine/scripts/generateMetadata.js and metadata/art-engine/scripts/post-reveal/updateMetadata.js, then run yarn generate after checking the reported pin-limit failure. Done means image uploading succeeds, build/URI/postRevealImgURI.txt exists, and metadata generation completes without the ENOENT error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.