justmoon / unhash-cli

Command line interface (CLI) for Unhash protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI usage

opened this issue · comments

pk@x1:~/unhash-cli$ unhash-cli upload package.json 
undefined:1
undefined
^

SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.<anonymous> (/usr/lib/node_modules/unhash-cli/node_modules/unhash-upload/index.js:14:29)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/unhash-cli/bin/unhash.js:3:16)
pk@x1:~/unhash-cli$