Replies: 2 comments
-
Hi @kuroishi! I'm Dosu and I’m helping the less.js team. less.js and its CLI tool lessc do not have built-in support or configuration for HTTP proxies, and do not handle proxy-related environment variables like HTTP_PROXY, HTTPS_PROXY, or NO_PROXY. The --use-env-proxy option from Node.js 24.6.0 is not recognized or used by lessc, which is why it had no effect. If you need to use less.js behind a proxy, you’ll need to rely on system-level proxy settings or Node.js’s default proxy handling, but lessc itself does not provide any direct options for proxy configuration. All file loading in less.js is done via local filesystem operations, not network requests, so proxy settings generally do not apply unless you are using plugins or custom file managers that fetch remote resources. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Not sure I really understand the question. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have to use less.js under a http proxy server.
Node 24.6.0 has the --use-env-proxy option so I used the lessc command with the option but it didn't work.
I appreciate any advice.
Beta Was this translation helpful? Give feedback.
All reactions