Error installing oxylabs

Describe the problem/error/question

when i try to install oxylabs i fail

What is the error message (if any)?

Error installing new package

Error loading package “n8n-nodes-oxylabs-ai-studio” :spawn npm ENOENT

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.4.6
  • Database (default: SQLite): SQLite (fichier C:\Users\Happy\.n8n\database.sqlite)
  • n8n EXECUTIONS_PROCESS setting (default: own, main): valeur par défaut (variable EXECUTIONS_PROCESS non définie, d’après ce qu’on voit)
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: windows 10

Hi @Fire_Uchiha

This is an environment issue: n8n cannot find the npm executable on your system.

On Windows, this usually means Node.js / npm is not available in the PATH for the process running n8n.
When you install a community node, n8n internally runs:

npm install <package-name>

The error spawn npm ENOENT means:

  • npm is not installed, or
  • npm is installed but not accessible in PATH, or
  • n8n was started from an environment that does not inherit the PATH (very common on Windows)

Because you’re running n8n via npm on Windows 10, this is a classic setup issue.

solution

Verify Node.js and npm installation

Open Command Prompt (not PowerShell) and run:

node -v
npm -v

Expected:

  • Both commands return a version number
  • If npm is “not recognized”, Node.js is not installed correctly

If missing → reinstall Node.js from the official site:
:backhand_index_pointing_right: https://nodejs.org (use LTS, not Current)

During installation, ensure this option is checked:

:white_check_mark: Add to PATH

Then restart your computer (important on Windows).


2. Verify PATH resolution

Still in Command Prompt:

where npm

You should see something like:

C:\Program Files\nodejs\npm.cmd

If nothing appears, PATH is still broken.


3. Restart n8n from a clean terminal

After confirming npm works:

n8n start

Do not start n8n from:

  • Old terminals
  • IDE-integrated shells
  • Windows services (for now)

Then try installing the community node again:

  • Settings → Community nodes → Install
  • Package name: n8n-nodes-oxylabs-ai-studio

here is all the results i get :
C:\Users\Happy>node -v
v22.14.0

C:\Users\Happy>npm -v
10.9.2

C:\Users\Happy>
C:\Users\Happy>where npm
C:\Program Files\nodejs\npm
C:\Program Files\nodejs\npm.cmd

Edit : I’m not sure if “:white_check_mark: Add to PATH” is checked even though

in a fresh new terminals :

C:\Users\Happy>n8n start
Initializing n8n process
ENOENT: no such file or directory, open ‘C:\Users\Happy.n8n\nodes\node_modules\n8n-nodes-oxylabs-ai-studio\package.json’
ENOENT: no such file or directory, open ‘C:\Users\Happy.n8n\nodes\node_modules\n8n-nodes-oxylabs-ai-studio\package.json’
n8n ready on ::, port 5678
n8n Task Broker ready on 127.0.0.1, port 5679
Failed to start Python task runner in internal mode. because Python 3 is missing from this system. Launching a Python runner in internal mode is intended only for debugging and is not recommended for production. Users are encouraged to deploy in external mode. See: Task runners | n8n Docs
[license SDK] Skipping renewal on init: license cert is not due for renewal
Registered runner “JS Task Runner” (FNkmgxPtxyG3dB-7M1cV3)
Version: 2.4.6

Editor is now accessible via:

http://localhost:5678

Press “o” to open in Browser.

And i still have the same error message

@Fire_Uchiha

Your Node.js and npm setup is correct. The issue is no longer PATH-related.

The key error is this:

ENOENT: no such file or directory, open
C:\Users\Happy\.n8n\nodes\node_modules\n8n-nodes-oxylabs-ai-studio\package.json

This means the community node installation is incomplete or corrupted. n8n is trying to load a package that was only partially installed.

Fix (clean and reliable)

  1. Stop n8n
  2. Delete the broken community node folder manually:
C:\Users\Happy\.n8n\nodes\

(Delete the entire nodes directory if it exists)

  1. Restart n8n from a fresh terminal:
n8n start
  1. Reinstall the node from the UI:
Settings → Community nodes → Install
Package: n8n-nodes-oxylabs-ai-studio

After the cleanup, the installation should succeed normally.

If it still fails after this, the next step would be running n8n with:

N8N_LOG_LEVEL=debug

—but in most cases, the cleanup above fully resolves it.