-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I use socket firewall on my mac and it works perfectly, but our team works also on windows, and commands sfw yarn and sfw npm do not work.
When I try to perform "sfw yarn" I get:
> sfw yarn
Protected by Socket Firewall
{ addr: '127.0.0.1:61818', eventType: 'serviceStarted' }
Error: spawn yarn ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
sfw version is 1.1.1
I work with the same node version (24.11.1), npm version (11.6.2) and yarn version (4.11) than on mac.
When I perform "yarn", "yarn install" or "npm install" commands it works, other sfw commands works as well like "sfw which yarn", or "sfw node -v".
Are npm and yarn supposed to be located in a specific folder ?
Is there a spawn issue where shell: true should be used ?
Thanks in advance for your help !
Vesely
Metadata
Metadata
Assignees
Labels
No labels