metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.32k stars 6.26k forks source link

[Bug]: ExperimentalWarning: buffer.Blob is an experimental feature. #2002

Closed yadardour closed 2 years ago

yadardour commented 2 years ago

Which package is this bug report for?

candy machine cli

Issue description

I have tried to upload on the devnet and I've got this error

C:\Users\21267\Desktop\v3>ts-node C:\Users\21267\Desktop\v3\metaplex\js\packages\cli\src\candy-machine-v2-cli.ts upload -k seGqEzZdmmDY6kZSjig6YpTbHDKYkb7GXNdgYkoR1yj.json -cp config.json assets

wallet public key: seGqEzZdmmDY6kZSjig6YpTbHDKYkb7GXNdgYkoR1yj (node:7316) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time (Use node --trace-warnings ... to show where the warning was created) C:\Users\21267\Desktop\v3\metaplex\js\packages\cli\src\helpers\various.ts:67 const config = JSON.parse(configString); ^ SyntaxError: Unexpected token : in JSON at position 321 at JSON.parse () at getCandyMachineV2Config (C:\Users\21267\Desktop\v3\metaplex\js\packages\cli\src\helpers\various.ts:67:23) at Command. (C:\Users\21267\Desktop\v3\metaplex\js\packages\cli\src\candy-machine-v2-cli.ts:157:38) at processTicksAndRejections (node:internal/process/task_queues:96:5)

Command

C:\Users\21267\Desktop\v3>ts-node C:\Users\21267\Desktop\v3\metaplex\js\packages\cli\src\candy-machine-v2-cli.ts upload -k seGqEzZdmmDY6kZSjig6YpTbHDKYkb7GXNdgYkoR1yj.json -cp config.json assets

Relevant log output

No response

Operating system

windows

Priority this issue should have

High (immediate attention needed)

Check the Docs First

stegaBOB commented 2 years ago

Looks like there is probably an error in your config.json file. Please share that. Thanks.

github-actions[bot] commented 2 years ago

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.

ghost commented 2 years ago

image

SylvainSimon commented 2 years ago

I'v the same warning here

off1n3 commented 2 years ago

I'd a same warning, but my module is crashed and not work again without restart it.

(node:1593) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time at emitExperimentalWarning (node:internal/util:224:11) at new Blob (node:internal/blob:138:5) at _RequestManager.resolveRequest (~/node_modules/@discordjs/rest/dist/index.js:892:36) at async _RequestManager.queueRequest (~/node_modules/@discordjs/rest/dist/index.js:848:35) at async REST.request (~/node_modules/@discordjs/rest/dist/index.js:1000:22) at async ChatInputCommandInteraction.reply (~/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:110:5)