-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
> pnpm exec purs-backend-es bundle-module --no-build
node:events:497
throw er; // Unhandled 'error' event
^
Error: spawn esbuild ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn esbuild',
path: 'esbuild',
spawnargs: [
'--platform=browser',
'--format=esm',
'--outfile=index.js',
'--bundle',
'C:\\Users\\John\\Documents\\purescript-2\\output-es\\Main\\index.js'
]
}
> pnpm ls
dependencies:
esbuild 0.20.2
purescript 0.15.15
purs-backend-es 1.4.2
spago 0.21.0
The same with npm install and npm instal --global.
pnpm exec spago build works and output-es folder exists.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels