Closed anafaggiano closed 1 year ago
The error suggests a too-old version of Node.js, maybe 12.x. Can you run in debug mode and post the full output?
This issue is stale because it has been open for 3 weeks with no activity. Remove the stale label or comment or this will be closed in another 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
👓 What did you see?
I got an unexpected token error when trying to run cucumber.js
✅ What did you expect to see?
For cucumber.js to run without errors
📦 Which tool/library version are you using?
cucumber: 9.1.1 node: 16.17.1 npm: 8.19.2
🔬 How could we reproduce it?
Steps to reproduce the behavior:
module.exports = { default: common, };
if (prelude[i + 1]?.[0] !== '#') ^ SyntaxError: Unexpected token '.'