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

[BUG] Command was killed with SIGSEGV (Segmentation fault): plasmo de #1192

Closed
2 of 3 tasks
gitNetw0rk opened this issue Feb 14, 2025 · 3 comments
Closed
2 of 3 tasks
Labels
bug Something isn't working

Comments

@gitNetw0rk
Copy link

What happened?

Recently I upgraded to plasmo. I am not sure if that is the reason, but I cannot build the project anymore.

Anybody else experience this?
🔄 Building. ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGSEGV (Segmentation fault): plasmo dev

Version

Latest

What OS are you seeing the problem on?

Linux

What browsers are you seeing the problem on?

Firefox

Relevant log output

🟣 Plasmo v0.90.3
🔴 The Browser Extension Framework
🔵 INFO   | Starting the extension development server...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: [ '.env.chrome' ]
🔄 Building.. ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGSEGV (Segmentation fault): plasmo dev

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@gitNetw0rk gitNetw0rk added the bug Something isn't working label Feb 14, 2025
@therealhnk
Copy link

Same problem here

🟣 Plasmo v0.90.3
🔴 The Browser Extension Framework
🔵 INFO | Prepare to bundle the extension...
🔵 INFO | Building for target: chrome-mv3
🔵 INFO | Loaded environment variables from: []
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Segmentation fault (core dumped)
 ELIFECYCLE  Command failed with exit code 139.
Error: Process completed with exit code 139.

@gitNetw0rk
Copy link
Author

Here is workaround @therealhnk. I realized this issue was caused by the 'parcel' package, which could not upgrade. I fixed it by pinning parcel to version 2.8.3 (see: #661 (comment)). Then I install the project with --with-nextjs, which does not install parcel at all. The issue is gone. Consider moving the project onto nextjs basis (the build is pretty much the same size).

@pippinmole
Copy link
Collaborator

Duplicate #1156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants