SyntaxError: Unexpected token
LightOrithm opened this issue · 1 comments
LightOrithm commented
#npm start 1 ⨯
stock-alert-bot@4.0.0 start
node src/main.js
file:///root/StockAlertBot/src/stores/antonline.js:10
const title = $(TITLE_SELECTOR).text()?.trim();
^
SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
npm ERR! code 1
npm ERR! path /root/StockAlertBot
npm ERR! command failed
npm ERR! command sh -c node src/main.js
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-05-18T17_29_07_692Z-debug.log
Platform Information
- Kali Linux
- Node version 12.20.1