-
Notifications
You must be signed in to change notification settings - Fork 25
Description
用这种方式编译:js4eos compile2 -g xxx.abi xxx.cpp --contract contractclass
报下面的错:
fail due to network or error, please check network and try again
SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Request._callback (/usr/local/lib/node_modules/js4eos/lib/compile.js:28:21)
at self.callback (/usr/local/lib/node_modules/js4eos/node_modules/request/request.js:185:22)
at Request.emit (events.js:200:13)
at Request.onRequestError (/usr/local/lib/node_modules/js4eos/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:200:13)
at Socket.socketErrorListener (_http_client.js:402:9)
at Socket.emit (events.js:200:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)