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

Unsure what im doing wrong through Node.js #253

Open
Ben-Tippett-PDE opened this issue Nov 23, 2024 · 1 comment
Open

Unsure what im doing wrong through Node.js #253

Ben-Tippett-PDE opened this issue Nov 23, 2024 · 1 comment

Comments

@Ben-Tippett-PDE
Copy link

Details

Hi All

So this is the first time ive used node.js platform for unlighthouse and im getting an error

Uncaught SyntaxError: Unexpected identifier 'unlighthouse'

https://www.youtube.com/watch?v=ft_DPPlOTDc

this is the steps i used to try and and run unlighthouse

Is there something im missing?

@harlan-zw
Copy link
Owner

Hi, I'd recommend just running it using npx instead of trying to use it programmatically. If you have Node installed this should just work.

npx unlighthouse --site <your-site>

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