abanchev / binance-proxy

62 stars 18 forks source link

error when start proxy-from source #14

Open ken2190 opened 2 years ago

ken2190 commented 2 years ago

ubuntu@instance-1755:~/binance-proxy$ npm start

binance-proxy@1.0.0 start /home/ubuntu/binance-proxy node .

/home/ubuntu/binance-proxy/src/index.js:1 import getServer from "./server/index.js"; ^^^^^^^^^

SyntaxError: Unexpected identifier at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! binance-proxy@1.0.0 start: node . npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the binance-proxy@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/ubuntu/.npm/_logs/2022-02-28T17_45_55_945Z-debug.log