near-in-minutes / community

Contribute and collaborate on educational content for the "NEAR in Minutes" Community.
3 stars 0 forks source link

[BUG] #65

Open MiguelAngel115 opened 2 years ago

MiguelAngel115 commented 2 years ago

Hiba,

First, thank you for the Near Academy shorts. My issue is that I'm following along and I try to publish a meme to Near's Meme Museum and it doesn't work. The following is the error I get:

miguelherrera@Miguels-MBP near-academy-contracts % near call museum.testnet add_meme \
'{"meme" : miguelangel.testnet, "title" : "darkness reframed", "data" : "https://9gag.com/gag/aNP9g1", "category" : 4}' \ --accountId miguelangel.testnet --amount 5 Scheduling a call: museum.testnet.add_meme({"meme" : miguelangel.testnet, "title" : "darkness reframed", "data" : "https://9gag.com/gag/aNP9g1", "category" : 4}) with attached 5 NEAR An error occured SyntaxError: Unexpected token m in JSON at position 10 at JSON.parse () at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84) at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9) SyntaxError: Unexpected token m in JSON at position 10 at JSON.parse () at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84) at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)

Miguel

Issue

πŸ“Œ

What do you all think? πŸ‘ I have noticed this issue as well πŸš€ I can help you!