-
Notifications
You must be signed in to change notification settings - Fork 61
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
Node v20.12.x causes segmentation fault with npx ampx sandbox
and latest version of node due to parcelWatcher
#1297
Comments
Thanks! It solved the problem for me. |
thank you for this!!! really really thank you, I was going crazy trying to find a way to solve it. |
@deconduino thank you for reporting this. Marking this as bug to track this. |
npx amplify sandbox
and latest version of node due to parcelWatchernpx amplify sandbox
and latest version of node due to parcelWatcher
npx amplify sandbox
and latest version of node due to parcelWatchernpx amplify sandbox
and latest version of node due to parcelWatcher
npx amplify sandbox
and latest version of node due to parcelWatchernpx amplify sandbox
and latest version of node due to parcelWatcher
npx amplify sandbox
and latest version of node due to parcelWatchernpx ampx sandbox
and latest version of node due to parcelWatcher
thanks for reporting, I was using Node v.20.2 and found the same error, I rolled Node back to v.20.11.0 and sandbox is working again. |
Thank you!
|
Yep, same here, switching to the node lts version fixed |
switching to lts did not work for me. |
Using a relatively new version of node, and walking through the amplify gen 2 docs step by step including using the aws supplied react vite template gives you Segmentation fault (Abort). Not the best user experience. Removing all wildcards from .gitignore worked for me - thanks for the tip. |
Switched to v20.11 && ITS WORKING FINE |
Linked issue is resolved and templates have been updated. Closing this issue |
Issue occurring on v22.11.0 for me. Removing all wildcards fixed the issue.
Not sure how to feel when I had to omit wildcards for amplify files, though. I gave them JSON extensions... but not sure if that was the best approach. |
Environment information
Description
Ran into this one today, putting it here in case anyone else hits the same issue. Running
npx amplify sandbox
will result in a segmentation fault when using node v20.12 if there are any wildcards in the.gitignore
file due to an issue with parcelWatcher.Workaround - rollback to node v20.11 until resolved.
parcel-bundler/watcher#170
The text was updated successfully, but these errors were encountered: