What happened?
When running pi update on Windows, I get the following in error log:
C:\Users\Me>pi update
Updating npm:pi-mcp-adapter...
\(node:16296) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
changed 270 packages in 30s
49 packages are looking for funding
run `npm fund` for details
Updated packages
Updating pi with npm install -g @mariozechner/pi-coding-agent...
\(node:22196) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Marko.Kocic\\AppData\\Roaming\\npm\\node_modules\\@mariozechner\\.pi-coding-agent-TcsRqgoM',
npm warn cleanup [Error: EPERM: operation not permitted, unlink 'C:\Users\Marko.Kocic\AppData\Roaming\npm\node_modules\@mariozechner\.pi-coding-agent-TcsRqgoM\node_modules\@mariozechner\clipboard-win32-x64-msvc\clipboard.win32-x64-msvc.node'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'unlink',
npm warn cleanup path: 'C:\\Users\\Marko.Kocic\\AppData\\Roaming\\npm\\node_modules\\@mariozechner\\.pi-coding-agent-TcsRqgoM\\node_modules\\@mariozechner\\clipboard-win32-x64-msvc\\clipboard.win32-x64-msvc.node'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
changed 255 packages in 19s
34 packages are looking for funding
run `npm fund` for details
Updated pi
C:\Users\Me>
Running npm i -g @mariozechner/pi-coding-agent doesn't throw any error
Steps to reproduce
- Open terminal
- Run
pi update
- Observe logs
Expected behavior
It would update without warnings, the same as running regular npm
Version
Updating from 0.70.6 to 0.72.1
What happened?
When running
pi updateon Windows, I get the following in error log:Running
npm i -g @mariozechner/pi-coding-agentdoesn't throw any errorSteps to reproduce
pi updateExpected behavior
It would update without warnings, the same as running regular
npmVersion
Updating from 0.70.6 to 0.72.1