-
Notifications
You must be signed in to change notification settings - Fork 22
Error: spawn netlify-cms-proxy-server ENOENT on "astro dev #55
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
Comments
Same issue here:
|
Thanks for the reports! What package manager & OS are you using @jeremy-london? |
Apple M2 if it matters
I found I can run a proxy server no issue outside of the astro-netlify package, but during startup inside astro's engine this spawn process doesnt work all the way: |
I got this same error. I am not sure about the solution. Sharing the link here so that anyone can take a look and understand what's happening https://maxschmitt.me/posts/error-spawn-node-enoent-node-js-child-process |
Hi is there any update on this issue? I'm using pnpm as well |
Yep also getting the same, using pnpm 8.7.0.: |
I modified the source code locally, and now it's working.
- proxy = spawn('netlify-cms-proxy-server', {
+ proxy = spawn('pnpx', ['netlify-cms-proxy-server'], {
stdio: 'inherit',
// Run in shell on Windows to make sure the npm package can be found.
shell: process.platform === 'win32',
});
|
This also worked for me |
I'm getting the following error on astro dev.
Running Mac Os Ventura
PNPM is my package manager
The text was updated successfully, but these errors were encountered: