fix(install): allow node-pty scripts with npm 12

This commit is contained in:
Federico Jaramillo Martinez
2026-07-20 11:57:39 +02:00
parent 4ca4a1d096
commit b48b147b5b
19 changed files with 396 additions and 20 deletions
+3 -1
View File
@@ -42,11 +42,13 @@ Requirements:
Install and start PI WEB as per-user services:
```bash
npm install -g @jmfederico/pi-web
npm install -g @jmfederico/pi-web --allow-scripts=node-pty
pi-web install
pi-web doctor
```
On npm 12, the scoped flag lets `node-pty` prepare its required native module without enabling install scripts for other dependencies.
Then open:
```text