PS C:\WINDOWS\System32> iwr -useb https://molt.bot/install.ps1 | iex Moltbot Installer [OK] Windows detected [OK] Node.js v25.5.0 found [*] Installing Moltbot@latest... node.exe : npm error code ENOENT At line:1 char:1 + & "C:\Program Files\nodejs/node.exe" "C:\Program Files\nodejs/node_mo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (npm error code ENOENT:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
#i am not able to install
1 messages ยท Page 1 of 1 (latest)
This is a common Windows npm issue. The ENOENT error typically means npm can't find its cache or there's a permissions problem. Here's how to fix it:
Quick Fixes
1. Clear npm cache:
npm cache clean --force
2. Delete any incomplete install and retry:
# In the directory where moltbot was being installed
Remove-Item -Recurse -Force node_modules
Remove-Item package-lock.json
npm install
3. If npm itself is broken, reinstall:
# Download and run the official Node.js installer from https://nodejs.org
# Make sure to check "Automatically install necessary tools" option
4. Alternative - Use pnpm (recommended for Moltbot):
# Install pnpm first
npm install -g pnpm
# Then install moltbot
pnpm install moltbot@latest
The pnpm approach is actually what Moltbot docs recommend โ it's more reliable on Windows than npm.
Let me know if any of these work or if you hit another error! ๐ฆ