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
Package is using shellac which fails due to a security issue in late Node versions (v20.16.0 in my case).
Happens in Mac and possibly also in Windows
Complete error log:
Error: spawn Unknown system error -8
at ChildProcess.spawn (node:internal/child_process:421:11)
at Object.spawn (node:child_process:761:9)
at new Shell (/Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:5062:49)
at lazyCreateShell (/Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:5966:39)
at /Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:5980:23
at f2 (/Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:6334:34)
at W (/Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:6340:31)
at async buildApplication (/Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:13521:14)
at async /Users/danielcardenas/projects/wedding-planner-webapp/node_modules/@cloudflare/next-on-pages/dist/index.js:13677:7 {
errno: -8,
code: 'Unknown system error -8',
syscall: 'spawn'
}
next-on-pages environment related information
⚡️ @cloudflare/next-on-pages CLI v.1.13.2
⚡️ Unexpected error: spawn Unknown system error -8
wedding-planner-webapp npm run pages:build
⚡️ @cloudflare/next-on-pages CLI v.1.13.2
⚡️ Unexpected error: spawn Unknown system error -8
Description
Package is using shellac which fails due to a security issue in late Node versions (v20.16.0 in my case).
Happens in Mac and possibly also in Windows
Complete error log:
Source: https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2#command-injection-via-args-parameter-of-child_processspawn-without-shell-option-enabled-on-windows-cve-2024-27980---high
Reproduction
Pages Deployment Method
Direct Upload (
wrangler pages publish
or the @cloudflare/pages-action GitHub Action)Pages Deployment ID
No response
Additional Information
Proposed fix:
https://github.com/geelen/shellac/pull/17/files
Or patch:
Would you like to help?
The text was updated successfully, but these errors were encountered: