uport-cli-client
uport-cli-client copied to clipboard
Create new App on Ganache error
Please give some advise how fix it?
? Choose a network for your identity: Local Test Network
You selected Local Test Network, the following is the default configuration:
{
"id": "0x5777",
"registry": "0x3f22a64e75a1c4bbb5894a4882aef240c6fea01c",
"identityManager": "0x0ddd27df7dd974920876dec2891b19c2ebfc37b9",
"rpcUrl": "http://127.0.0.1:7545"
}
? Do you want to change the default configuration? Yes
? Do you want to deploy the uport platform contracts on this network? Yes
? Enter rpcUrl: "http://127.0.0.1:7545"
The following is the default ipfs configuration:
ipfsUrl = https://ipfs.infura.io/ipfs/
? Is this ipfs configuration what you want to use? Yes
? Are you creating an app identity? Yes
? Enter app name: testApp
? Enter app description:
? Enter app url: "http://127.0.0.1:3000"
? Enter app image path: "/home/os/Projects/2.jpeg"
undefined:1
undefined
^
SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at ReadFileContext.fs.readFile [as callback] (/usr/local/lib/node_modules/uport-cli-client/uport-id.js:421:18)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:242:13)