-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Comments
I'm facing the same issue in a project. It's important to note that the 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: VersionLatest What OS are you seeing the problem on?Ubuntu 24.04.1 LTS running on WSL2 Relevant log output: |
I am also experiencing this issue. |
Any update on this? I'm also facing he same issue |
I think there are conflicts between subdependencies and Plasmo after running the I suspect that a sub-dependency in its newest version is causing this issue, but I haven't been able to pinpoint it. |
I faced the same issue; I resolved this by downgrading |
@ahmedazizkhelifi I just did that, and it worked for me as well! Thanks for the tip. Now I am trying to figure out what im missing from plasmo between btw, I was able to still use the latest version of pnpm Edit: |
FYI - For what its worth, build works on my mac M2. However does not build in docker. |
Getting this error when running Is this project still maintained? Last commit to main 3 months ago, and I'm not seeing many responses from maintainers. |
It's frustrating. However, this framework has been a godsend. So I'm thankful it exists. Has helped me develop my extension tremendously. I have to deploy everything locally to avoid this build error. Im thinking this build error was an oversight due to it working locally, and not in a CI/CD environment. Btw. Are you developing an extension with the side panel? I am, so I keep thinking that's the culprit. |
I agree. But dropping off the face of the earth for 3 months is a sign to steer clear. And I don't want to steer clear
I'm not using the feature, but the build cache does have a |
Hmm. Interesting. If you're not using the sidepanel, I would downgrade your plasmo version to 0.78.0 and see if it builds in your ci/cd. 0.79.0 introduced the side panels api, and doesn't build for me. For me I'm kind of screwed since I built my entire extension using side panel. 🫠 |
I'm using GitHub CI/CD to build the extension, and it works without issues. If you don’t need the features introduced in ^0.79.0, downgrading to 0.78.0 should resolve the build problem. |
Is this on version 0.78.0? Or latest? |
I have never contributed to this code base. But if I have time this weekend I may poke around to see if the side panel isn't being used, to not cache it to avoid the build failure... |
@pippinmole Well, im using plasmo 0.57.2 and pnpm 7
@osarhan Have you tried downgrading the pnpm version instead of Plasmo? |
Yeah downgrading on pnpm doesn't solve it for me. 😵💫 And I need the ^0.79.0 version since I'm dependent on side panel. Latest version of pnpm and 0.78 version of plasmo builds fine. |
So, I've done some further investigating... What I did was work my way from a fresh install, slowly copying things over until something broke:
Not very helpful, since we all need stylesheets I assume. For now I'm just going to build on windows and hope that the devs pick this project back up |
@pippinmole lets go! This worked for me! At this point, im not interested in investigating more, since I have a working pipeline now. I appreciate you digging into this! 💪 |
this works for me too! can you share your yaml in GitHub CI? name: "Submit to Web Store"
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Use Node.js 22.x
uses: actions/[email protected]
with:
node-version: 22.13.0
cache: "pnpm"
- name: Build the extension
run: pnpm build
- name: Package the extension into a zip artifact
run: pnpm package
- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
artifact: build/chrome-mv3-prod.zip node version:22.13.0 I face the same error as "Segmentation fault (core dumped)", when I runs-on ubuntu-latest |
Hi everybody, Unfortunately it looks like this is an upstream issue on the latest version of Parcel, which is a package we use. We may have to wait until parcel-bundler/parcel#10081 is noticed by the devs and fixed. Sorry for the inconvenience. |
@pippinmole Is there a parcel version we can pin in our plasmo projects to unbreak the build? |
Encountering the same issue. Running directly under terminal without using Github CI will also report errors. |
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.
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
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: