Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute npm run build with error spawn tsc ENOENT #553

Open
Lbt777 opened this issue Dec 2, 2023 · 1 comment
Open

Execute npm run build with error spawn tsc ENOENT #553

Lbt777 opened this issue Dec 2, 2023 · 1 comment

Comments

@Lbt777
Copy link

Lbt777 commented Dec 2, 2023

PS E:\work\A> npm run build

[email protected] build
rollup -c && npm run gzip

src/main/bootstrap.tsx, src/sw/index.ts → dist...
Error: spawn tsc ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
PS E:\work\A> tsc -v
Version 5.3.2

@surma
Copy link
Contributor

surma commented Dec 2, 2023

I don’t think this will work in powershell. Have you tried using WSL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants