npm start error
bimaputrr opened this issue · comments
hi, how can you input coin name that will be used for? i got error when run npm start and it said invalid or unexpected token as shown below
"PS E:\Users\Lenovo\Google Drive\Robot\binance-pump-bot-main> npm start
binance-pump-bot@1.0.0 start
node pump.js
E:\Users\Lenovo\Google Drive\Robot\binance-pump-bot-main\config.js:3
API_KEY: 0PB0gxUVrsAKYT3EkTholzq8WuzB4Cu8YCOvGEgEJKzKrqKxp70r7RCvSVX0VLMh,
^
SyntaxError: Invalid or unexpected token
at Object.compileFunction (node:vm:355:18)
at wrapSafe (node:internal/modules/cjs/loader:1038:15)
at Module._compile (node:internal/modules/cjs/loader:1072:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:828:14)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (E:\Users\Lenovo\Google Drive\Robot\binance-pump-bot-main\pump.js:16:16)
at Module._compile (node:internal/modules/cjs/loader:1108:14)"
i know nothing about coding, but can you tell me where's my mistake? i install node.js and have no error when running npm install
You need to have quotes surrounding your API_KEY, it tells your computer they are strings.
also, do not post api_key or api_secret here. it's not safe