Here's a Stackblitz repo on @Josh-Cena's great repro: https://stackblitz.com/edit/stackblitz-starters-zw7gm8?file=index.js Just run `node index.js` and see the error. Try downgrading to `acorn@8.10.x` and see it run fine. _Originally posted by @tmeasday in https://github.com/acornjs/acorn/issues/1253#issuecomment-1782115571_