Unable to Install node dependencies for robot framework browser librarry

# P:>rfbrowser init

Installing node dependencies…
Installing rfbrowser node dependencies at C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\wrapper
npm warn config production Use `--omit=dev` instead.

added 81 packages in 19s

8 packages are looking for funding
run `npm fund` for details

Installing browser binaries to C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\wrapper
npx --quiet playwright install
Error: getaddrinfo EAI_AGAIN proxy-server
at GetAddrInfoReqWrap.onlookupall \[as oncomplete\] (node:dns:122:26) {
errno: -3001,
code: β€˜EAI_AGAIN’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’
}
Error: getaddrinfo EAI_AGAIN proxy-server
at GetAddrInfoReqWrap.onlookupall \[as oncomplete\] (node:dns:122:26) {
errno: -3001,
code: β€˜EAI_AGAIN’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’
}
Error: getaddrinfo ENOTFOUND proxy-server
at GetAddrInfoReqWrap.onlookupall \[as oncomplete\] (node:dns:122:26) {
errno: -3008,
code: β€˜ENOTFOUND’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’
}
Error: getaddrinfo EAI_AGAIN proxy-server
at GetAddrInfoReqWrap.onlookupall \[as oncomplete\] (node:dns:122:26) {
errno: -3001,
code: β€˜EAI_AGAIN’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’
}
Error: getaddrinfo EAI_AGAIN proxy-server
at GetAddrInfoReqWrap.onlookupall \[as oncomplete\] (node:dns:122:26) {
errno: -3001,
code: β€˜EAI_AGAIN’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’
}
Failed to install browsers
Error: Failed to download Chrome for Testing 145.0.7632.6 (playwright chromium v1208), caused by
Error: Download failure, code=1
at ChildProcess. (C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\wrapper\\node_modules\\playwright-core\\lib\\server\\registry\\browserFetcher.js:96:32)
at ChildProcess.emit (node:events:508:28)
at ChildProcess.\_handle.onexit (node:internal/child_process:294:12)

# ======================================================================
Traceback (most recent call last):
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\_*main*\_.py”, line 241, in init
rfbrowser_init(skip_browsers, silent_mode, with_deps, browser)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\\rfbrowser_init.py”, line 258, in rfbrowser_init
\_process_poller(process, silent_mode)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\\rfbrowser_init.py”, line 199, in \_process_poller
raise RuntimeError(
…<2 lines>…
)
RuntimeError: Problem installing node dependencies.Node process returned with exit status 1

Used Python is:

C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\python.exe
Version: 3.14.3

pip freeze output:

attrs==25.4.0
certifi==2026.2.25
cffi==2.0.0
click==8.3.1
colorama==0.4.6
grpcio==1.78.0
grpcio-tools==1.78.0
h11==0.16.0
idna==3.11
natsort==8.4.0
outcome==1.3.0.post0
overrides==7.7.0
protobuf==6.33.5
psutil==7.2.2
pycparser==3.0
PySocks==1.7.1
PyYAML==6.0.3
robotframework==7.4.1
robotframework-assertion-engine==4.0.0
robotframework-browser==19.12.5
robotframework-pythonlibcore==4.5.0
robotframework-seleniumlibrary==6.8.0
seedir==0.5.1
selenium==4.41.0
setuptools==82.0.0
sniffio==1.3.1
sortedcontainers==2.4.0
trio==0.33.0
trio-websocket==0.12.2
typing_extensions==4.15.0
urllib3==2.6.3
websocket-client==1.9.0
wrapt==2.1.1
wsproto==1.3.2

npm version is:n

11.11.0

Installation directory

`C:\Users\BENEZU\AppData\Local\Programs\Python\Python314\Lib\site-packages\Browser\wrapper` does not contain the required files for unknown reason. Investigate the npm output and fix possible problems.
Printing contents:
wrapper/
β”œβ”€β”€β”€index.js
β”œβ”€β”€β”€node_modules/
β”‚   β”œβ”€β”€β”€monocart-coverage-reports/
β”‚   β”‚   β”œβ”€β”€β”€lib/
β”‚   β”‚   β”‚   β”œβ”€β”€β”€assets.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€cli.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€client/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 3 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€converter/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 11 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€default/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€generate.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€index.d.ts
β”‚   β”‚   β”‚   β”œβ”€β”€β”€index.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€istanbul/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€packages/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€platform/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€register/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 4 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€reports/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 10 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€utils/
β”‚   β”‚   β”‚   β”‚   └───1 folder(s), 7 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€v8/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   └───0 folder(s), 1 file(s)
β”‚   β”‚   β”œβ”€β”€β”€LICENSE
β”‚   β”‚   β”œβ”€β”€β”€package.json
β”‚   β”‚   β”œβ”€β”€β”€README.md
β”‚   β”‚   └───README.zh-Hans.md
β”‚   β”œβ”€β”€β”€playwright/
β”‚   β”‚   β”œβ”€β”€β”€cli.js
β”‚   β”‚   β”œβ”€β”€β”€index.d.ts
β”‚   β”‚   β”œβ”€β”€β”€index.js
β”‚   β”‚   β”œβ”€β”€β”€index.mjs
β”‚   β”‚   β”œβ”€β”€β”€jsx-runtime.js
β”‚   β”‚   β”œβ”€β”€β”€lib/
β”‚   β”‚   β”‚   β”œβ”€β”€β”€agents/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 10 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€common/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 15 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€fsWatcher.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€index.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€internalsForTest.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€isomorphic/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 9 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€loader/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 1 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€matchers/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 9 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€mcp/
β”‚   β”‚   β”‚   β”‚   └───5 folder(s), 4 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€plugins/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 3 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€program.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€reporters/
β”‚   β”‚   β”‚   β”‚   └───1 folder(s), 17 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€runner/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 20 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€third_party/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€transform/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 7 file(s)
β”‚   β”‚   β”‚   β”œβ”€β”€β”€util.js
β”‚   β”‚   β”‚   β”œβ”€β”€β”€worker/
β”‚   β”‚   β”‚   β”‚   └───0 folder(s), 6 file(s)
β”‚   β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚   β”‚   β”œβ”€β”€β”€types/
β”‚   β”‚   β”‚   β”œβ”€β”€β”€test.d.ts
β”‚   β”‚   β”‚   └───testReporter.d.ts
β”‚   β”‚   └───0 folder(s), 9 file(s)
β”‚   └───playwright-core/
β”‚       β”œβ”€β”€β”€.local-browsers/
β”‚       β”‚   └───.links/
β”‚       β”‚       └───0 folder(s), 1 file(s)
β”‚       β”œβ”€β”€β”€bin/
β”‚       β”‚   β”œβ”€β”€β”€install_media_pack.ps1
β”‚       β”‚   β”œβ”€β”€β”€install_webkit_wsl.ps1
β”‚       β”‚   β”œβ”€β”€β”€reinstall_chrome_beta_linux.sh
β”‚       β”‚   β”œβ”€β”€β”€reinstall_chrome_beta_mac.sh
β”‚       β”‚   β”œβ”€β”€β”€reinstall_chrome_beta_win.ps1
β”‚       β”‚   └───0 folder(s), 12 file(s)
β”‚       β”œβ”€β”€β”€browsers.json
β”‚       β”œβ”€β”€β”€cli.js
β”‚       β”œβ”€β”€β”€index.d.ts
β”‚       β”œβ”€β”€β”€index.js
β”‚       β”œβ”€β”€β”€index.mjs
β”‚       β”œβ”€β”€β”€lib/
β”‚       β”‚   β”œβ”€β”€β”€androidServerImpl.js
β”‚       β”‚   β”œβ”€β”€β”€browserServerImpl.js
β”‚       β”‚   β”œβ”€β”€β”€cli/
β”‚       β”‚   β”‚   └───0 folder(s), 3 file(s)
β”‚       β”‚   β”œβ”€β”€β”€client/
β”‚       β”‚   β”‚   └───0 folder(s), 48 file(s)
β”‚       β”‚   β”œβ”€β”€β”€generated/
β”‚       β”‚   β”‚   └───0 folder(s), 7 file(s)
β”‚       β”‚   β”œβ”€β”€β”€inprocess.js
β”‚       β”‚   β”œβ”€β”€β”€inProcessFactory.js
β”‚       β”‚   β”œβ”€β”€β”€mcpBundle.js
β”‚       β”‚   β”œβ”€β”€β”€mcpBundleImpl/
β”‚       β”‚   β”‚   └───0 folder(s), 1 file(s)
β”‚       β”‚   β”œβ”€β”€β”€protocol/
β”‚       β”‚   β”‚   └───0 folder(s), 3 file(s)
β”‚       β”‚   β”œβ”€β”€β”€remote/
β”‚       β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚       β”‚   β”œβ”€β”€β”€server/
β”‚       β”‚   β”‚   └───14 folder(s), 47 file(s)
β”‚       β”‚   β”œβ”€β”€β”€third_party/
β”‚       β”‚   β”‚   └───0 folder(s), 1 file(s)
β”‚       β”‚   β”œβ”€β”€β”€utils/
β”‚       β”‚   β”‚   └───1 folder(s), 0 file(s)
β”‚       β”‚   β”œβ”€β”€β”€utilsBundleImpl/
β”‚       β”‚   β”‚   └───0 folder(s), 2 file(s)
β”‚       β”‚   β”œβ”€β”€β”€vite/
β”‚       β”‚   β”‚   └───3 folder(s), 0 file(s)
β”‚       β”‚   └───0 folder(s), 5 file(s)
β”‚       β”œβ”€β”€β”€types/
β”‚       β”‚   β”œβ”€β”€β”€protocol.d.ts
β”‚       β”‚   β”œβ”€β”€β”€structs.d.ts
β”‚       β”‚   └───types.d.ts
β”‚       └───0 folder(s), 5 file(s)
β”œβ”€β”€β”€package-lock.json
└───package.json
None

Traceback (most recent call last):
File β€œβ€, line 198, in *run_module_as_main
File β€œβ€, line 88, in run_code
File "C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Scripts\\rfbrowser.exe_main*.py", line 6, in 
sys.exit(cli())
\~\~\~^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\core.py”, line 1485, in **call**
return self.main(\*args, \*\*kwargs)
\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\core.py”, line 1406, in main
rv = self.invoke(ctx)
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\core.py”, line 1873, in invoke
return *process_result(sub_ctx.command.invoke(sub_ctx))
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\core.py”, line 1269, in invoke
return ctx.invoke(self.callback, \*\*ctx.params)
\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\core.py”, line 824, in invoke
return callback(\*args, \*\*kwargs)
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\click\\decorators.py”, line 34, in new_func
return f(get_current_context(), \*args, \*\*kwargs)
File "C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry_main*.py", line 249, in init
raise err
File "C:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\_*main*.py", line 241, in init
rfbrowser_init(skip_browsers, silent_mode, with_deps, browser)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\\rfbrowser_init.py”, line 258, in rfbrowser_init
\_process_poller(process, silent_mode)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^
File β€œC:\\Users\\BENEZU\\AppData\\Local\\Programs\\Python\\Python314\\Lib\\site-packages\\Browser\\entry\\rfbrowser_init.py”, line 199, in \_process_poller
raise RuntimeError(
…<2 lines>…
)
RuntimeError: Problem installing node dependencies.Node process returned with exit status 1

you have proxy settings that point to a proxy called `proxy-server` but within your network, that name entry does not resolve into actual ip address. Eg, you see the error:

code: β€˜EAI_AGAIN’,
syscall: β€˜getaddrinfo’,
hostname: β€˜proxy-server’

Probably issue within your .npmrc file or environment variables that tries to configure proxy but hard to say because those details are not shared.

1 Like