alleyway / add-tradingview-alerts-tool

Automated entry of TradingView alerts for bot trading tools such as 3Commas, Alertatron, CryptoHopper, etc.
MIT License
623 stars 140 forks source link

SyntaxError: Unexpected reserved word #113

Closed yuis-ice closed 2 years ago

yuis-ice commented 2 years ago
> C:\ProgramData\nvm\v14.15.0\npx.cmd @alleyway/create-tradingview-alerts-home
npx: 5個のパッケージを6.489秒でインストールしました。
(node:51380) ExperimentalWarning: The ESM module loader is experimental.
file:///C:/Users/user/AppData/Roaming/npm-cache/_npx/51380/node_modules/@alleyway/create-tradingview-alerts-home/dist/index.js:9
const manifest = JSON.parse(await readFile(new URL('./manifest.json', import.meta.url)));
                            ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:81:18)  
    at async link (internal/modules/esm/module_job.js:37:21)

Environment:

Windows 10 latest build node 14.15.0 npx 6.14.8 npm 6.14.8 non admin cmd / admin powershell

mlake commented 2 years ago

maybe the node version needs to be updated? I've got it working fine on windows 10

image

yuis-ice commented 2 years ago

It was a nvm misconfiguration in my environment. Your tool works nice now. Thanks for your kind help.