alexfernandez / loadtest

Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.
MIT License
2.57k stars 209 forks source link

SyntaxError: Unexpected reserved word #236

Open vis7 opened 6 months ago

vis7 commented 6 months ago

While installed npm package loadtest and run it got error. below are the steps to reproduce

sudo npm install -g loadtest
loadtest

Error

file:///usr/local/lib/node_modules/loadtest/bin/loadtest.js:111
await processAndRun(options)
^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)
alexfernandez commented 4 months ago

Hi @vis7 , what version of Node.js are you using? Mind the compatibility section of the README file.