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

Install sitespeed.io using Node.JS #4399

Open
sabe-ran29 opened this issue Jan 10, 2025 · 8 comments
Open

Install sitespeed.io using Node.JS #4399

sabe-ran29 opened this issue Jan 10, 2025 · 8 comments

Comments

@sabe-ran29
Copy link

Your question

I'm new to sitespeed.io and looking for help to install it using Node.JS
I followed the instructions mentioned in website, however I don't get any results output file when running sitespeed.io
. Can someone help me with this?
Following are the log:
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
changed 717 packages in 44s
160 packages are looking for funding
run npm fund for details

@soulgalore
Copy link
Member

soulgalore commented Jan 10, 2025

Hi @sabe-ran29 thank you for creating the issue, this are warnings from dependencies and dependencies, what happens if you run sitespeed.io after, does it work?

@sabe-ran29
Copy link
Author

'sitespeed.io' is not recognized as an internal or external command,
operable program or batch file.
I'm seeing the above message when I run "sitespeed.io"

@soulgalore
Copy link
Member

If you are using Windows, try starting it from bash shell, there's an example on how you can install/run in the Windows GitHub action: https://github.com/sitespeedio/sitespeed.io/blob/main/.github/workflows/windowsFull.yml

@sabe-ran29
Copy link
Author

sabe-ran29 commented Jan 10, 2025

I followed the bash commands and executed the following:

  1. Installed Node.js (20.2..0) & NPM (9.6.6)
  2. Run "npm install sitespeed.io -g" & observed the following:
    =====================
    _npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
    npm WARN deprecated [email protected]: this library is no longer supported
    npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
    npm WARN deprecated [email protected]: request has been deprecated, see Request’s Past, Present and Future request/request#3142

changed 717 packages in 41s

160 packages are looking for funding
run npm fund for details_

Should I ignore these warning messages? I have google chrome installed already. Should I need to install all the dependencies mentioned in windowsfull.yml?What are the next steps to be followed?

@soulgalore
Copy link
Member

Yes ignore the warnings, follow the Windows installation.

@sabe-ran29
Copy link
Author

How can I confirm if sitespeed is installed?

@soulgalore
Copy link
Member

You run it? Do you have any other npm dependencies installed that you can check if those work.

@sabe-ran29
Copy link
Author

Yes, i run sitespeed in bash commands and getting the following message.
"'sitespeed.io' is not recognized as an internal or external command,
operable program or batch file."

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