mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
I copied my slint checkout from one compter to another, and it ended up in a different path. Running test-driver-nodejs on the new computer gave this error: ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY Aborted removal of modules directory due to no TTY If you are running pnpm in CI, set the CI environment variable to "true". This is because pnpm detects that the nodes-module directory isn't as expected (wrong path in the storeDir key of .modules.yaml), and wants to wipe it out. But first, it wants to ask for confirmation... and it fails because there's no TTY (pnpm being launched indirectly). This is fixed by --config.confirmModulesPurge=false (or --force, or setting the env var CI to true) See references in the comments |
||
|---|---|---|
| .. | ||
| build.rs | ||
| Cargo.toml | ||
| main.rs | ||
| nodejs.rs | ||