vjdipaola/skill-forge/windows-node-sandbox-troubleshooting
Claude Code and agent skill by vjdipaola/skill-forge
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Troubleshoot Windows-specific Node/npm issues in Codex or sandboxed agent sessions. Use when Node or npm misbehaves inside Codex or sandboxed agent sessions on Windows.
Install
npx vskill@latest install vjdipaola/skill-forge/windows-node-sandbox-troubleshootingSKILL.md
The same SKILL.md was published earlier as vjdipaola/skill-forge/windows-node-sandbox-troubleshooting.
Windows Node Sandbox Troubleshooting
Use this workflow for Windows execution issues in automated or sandboxed Node workflows.
Known Patterns And Fixes
1) npm blocked by PowerShell execution policy
Symptom:
npm.ps1 cannot be loaded because running scripts is disabled
Fix:
- Use
npm.cmd ...instead ofnpm ....
2) UNC workdir fallback to C:\Windows
Symptom:
CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.npm ERR! enoent Could not read package.json ... C:\Windows\package.json
Fix:
- Use a normal drive-letter path for
workdir, such asC:\Users\...\repo, not\\?\.... - This matters even if the visible current directory was supplied to the agent as a UNC-style path.
3) spawn EPERM during test or build
Symptom:
- esbuild, vite, next, or worker process startup fails with
spawn EPERM
Fix:
- Re-run the command with the tool's elevated or unrestricted execution mode.
4) BOM corruption in JSON or TS config
Symptom:
Unexpected token ''inpackage.jsonor another config file
Fix:
- Rewrite the file as UTF-8 without BOM.
- In PowerShell, use
System.Text.UTF8Encoding($false)withWriteAllText.
Recovery Order
- Switch to
npm.cmd. - Replace UNC
workdirvalues with a normalC:\...path. - Retry with elevated execution if worker startup fails.
- Strip BOM from recently edited config files if parsing errors remain.
- Re-run
npm.cmd run test,npm.cmd run lint, andnpm.cmd run build.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwindows-node-sandbox-troubleshooting/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vjdipaola/skill-forge/windows-node-sandbox-troubleshooting)