-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
"tinyexec": "^0.3.2"
Context
Reported from nuxt/cli#747
nuxt cli uses nypm) which uses tinyexec
and uses x("corepack", ["--version"])
to check avability.
Reproduction
import { x } from 'tinyexec';
try {
const { exitCode } = await x('xyz');
console.log({ exitCode });
} catch (error) {
console.error(`exec error: ${error}`);
}
Local (Node.js 22.13 on macos):
exec error: Error: spawn xyz ENOENT
Script end
Stackblitz (reproduction):

It seems an issue with WebContainers as Node.js is force-closing. Reporting it to the lowest level I could investigate will try to make it more minimal.
BobbieGoede
Metadata
Metadata
Assignees
Labels
No labels