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!
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 \)
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)
'{"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 (
Miguel
Issue
π
What do you all think? π I have noticed this issue as well π I can help you!