SyntaxError: Unexpected token ‘ in JSON at position 0
SyntaxError: Unexpected token ‘ in JSON at position 0
我试图通过遵循此 medium article 使用 NEAR-CLI 获得质押的 $Aurora 奖励,但是当我 运行 命令时:
NEAR_ENV=mainnet near call aaaaaa20d9e0e2461697782ef11675f668207961.factory.bridge.near storage_deposit ‘’ --accountId bailey12.near --amount 0.0125
终端显示:
An error occured
SyntaxError: Unexpected token ‘ in JSON at position 0
at JSON.parse (<anonymous>)
at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
SyntaxError: Unexpected token ‘ in JSON at position 0
at JSON.parse (<anonymous>)
at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
知道如何纠正这个问题吗?提前致谢。
使用正确的单引号 ' 而不是 '
我试图通过遵循此 medium article 使用 NEAR-CLI 获得质押的 $Aurora 奖励,但是当我 运行 命令时:
NEAR_ENV=mainnet near call aaaaaa20d9e0e2461697782ef11675f668207961.factory.bridge.near storage_deposit ‘’ --accountId bailey12.near --amount 0.0125
终端显示:
An error occured
SyntaxError: Unexpected token ‘ in JSON at position 0
at JSON.parse (<anonymous>)
at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
SyntaxError: Unexpected token ‘ in JSON at position 0
at JSON.parse (<anonymous>)
at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
知道如何纠正这个问题吗?提前致谢。
使用正确的单引号 ' 而不是 '