You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All my package scripts run fine under modern Node (v18 LTS or v19), except for tests, due to a longstanding issue with the older version of Angular we're stuck with. I'd like to use fnm to default to the latest build of v18 -- this works fine! -- while running just this one script in the latest v14 release, currently 14.21.2.
I've tried fnm exec --using=v14.21.2 yarn run test but that fails with
thread 'main' panicked at 'Can't spawn program: Error { kind: NotFound, message: "program not found" }', src\commands\exec.rs:79:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
I tried RUST_BACKTRACE=full but this is not enlightening:
All my package scripts run fine under modern Node (v18 LTS or v19), except for tests, due to a longstanding issue with the older version of Angular we're stuck with. I'd like to use
fnm
to default to the latest build of v18 -- this works fine! -- while running just this one script in the latest v14 release, currently 14.21.2.I've tried
fnm exec --using=v14.21.2 yarn run test
but that fails withI tried
RUST_BACKTRACE=full
but this is not enlightening:fnm
1.33.1 under Git Bash (msys), if that makes a difference.The text was updated successfully, but these errors were encountered: