I expected Street Merchant to fire up with no additional file installtion required, I shouldnt need discord installed as I do not use it or want to use it.
Current Behavior
I installed up SM on a new VM with my old dotenv working from another VM.
It did not work...
I edited the origial dotenv installed with SM and there was some new lines in it so I edited it with my telegram chat information and the items I wanted to have it watch for.
It still didnt work.
everything works on my original VM but im decomissiong the host so I need the install to be working on a new vm.
What operating system are you seeing the problem on?
Linux
Relevant log output
home/skrause/streetmerchant/node_modules/discord.js/src/rest/RESTManager.js:32
const token = this.client.token ?? this.client.accessToken;
^
SyntaxError: Unexpected token ?
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 Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/skrause/streetmerchant/node_modules/discord.js/src/client/BaseClient.js:4:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! streetmerchant@3.5.0 start: `node build/src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the streetmerchant@3.5.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/skrause/.npm/_logs/2022-02-03T15_51_17_231Z-debug.log
Expected Behavior
I expected Street Merchant to fire up with no additional file installtion required, I shouldnt need discord installed as I do not use it or want to use it.
Current Behavior
I installed up SM on a new VM with my old dotenv working from another VM.
It did not work...
I edited the origial dotenv installed with SM and there was some new lines in it so I edited it with my telegram chat information and the items I wanted to have it watch for.
It still didnt work.
everything works on my original VM but im decomissiong the host so I need the install to be working on a new vm.
What operating system are you seeing the problem on?
Linux
Relevant log output
Configuration
Code of Conduct