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] TailwindCSS example does not build #1156

Open
2 of 3 tasks
DenizUgur opened this issue Jan 13, 2025 · 2 comments
Open
2 of 3 tasks

[BUG] TailwindCSS example does not build #1156

DenizUgur opened this issue Jan 13, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@DenizUgur
Copy link

DenizUgur commented Jan 13, 2025

What happened?

I'm getting segmentation fault for building the TailwindCSS example. I haven't changed anything inside the example and just built the example as-is.

pnpm create plasmo --with-tailwindcss
pnpm build

Removing references to the stylesheet with tailwind directives does not result in the segmentation fault but of course this is not a fix.

Related to #1089 I suppose.

Versions:
Node: v22.13.0
pnpm: 9.15.3
plasmo: v0.89.4

Version

Latest

What OS are you seeing the problem on?

Linux

What browsers are you seeing the problem on?

No response

Relevant log output

🟣 Plasmo v0.89.4
🔴 The Browser Extension Framework
🔵 INFO   | Prepare to bundle the extension...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: []
(node:88306) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Segmentation fault (core dumped)
 ELIFECYCLE  Command failed with exit code 139.

(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.
@DenizUgur DenizUgur added the bug Something isn't working label Jan 13, 2025
@gregoryPacific
Copy link

I'm facing the same issue in a project.

It's important to note that the pnpm plasmo dev command works, but the pnpm plasmo build command does not.

Even though an error appears, it seems that Plasmo is still able to generate the build somehow, as the build files are being generated.

Versions:
Node: v18.18.0
pnpm: v9.15.4
plasmo: v0.89.4

Version

Latest

What OS are you seeing the problem on?

Ubuntu 24.04.1 LTS running on WSL2

Relevant log output:

image

@spiceworm
Copy link

I am also experiencing this issue.

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