Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected reserved word #47

Closed
devinmcmanus opened this issue Aug 8, 2023 · 1 comment
Closed

SyntaxError: Unexpected reserved word #47

devinmcmanus opened this issue Aug 8, 2023 · 1 comment

Comments

@devinmcmanus
Copy link

Hi there,
I installed this package with sudo npm install --global capture-website-cli and getting the following error when running capture-website --help:

file:///usr/local/lib/node_modules/capture-website-cli/cli.js:295
await main();
^^^^^

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)

I'm running this on Debian 11 under WSL 2 in Windows 10 using node 12.22.12 and npm 7.5.2.

Thanks!
Devin

@sindresorhus
Copy link
Owner

You need a newer Node.js version.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants