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

Unable to start throttle command on Windows using NodeJS package #89

Open
shrutiseth opened this issue Jun 28, 2024 · 1 comment
Open

Comments

@shrutiseth
Copy link

Hello @soulgalore !
Am trying network throttling. But getting bellow error message:

seth@testq MINGW64 ~/AppData/Roaming/npm/node_modules
$ throttle --up 330 --down 780 --rtt 200
Error: Platform win32 not supported
at start (file:///C:/Users/seth/AppData/Roaming/npm/node_modules/@sitespeed.io/throttle/lib/index.js:52:13)
at run (file:///C:/Users/seth/AppData/Roaming/npm/node_modules/@sitespeed.io/throttle/bin/index.js:151:15)
at file:///C:/Users/seth/AppData/Roaming/npm/node_modules/@sitespeed.io/throttle/bin/index.js:178:7
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)

seth@testq MINGW64 ~/AppData/Roaming/npm/node_modules

Am using Windows Server 2016 - 64 bit machine and NodeJS package.

@soulgalore
Copy link
Member

As it says in the header: Simulate slow network connections on Linux and Mac OS X. Maybe you could try this tool: https://calendar.perfplanet.com/2016/testing-with-realistic-networking-conditions/ (winShaper)

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