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
Can't update from 4.5.3 to 4.6.0 (dyld: lazy symbol binding failed: Symbol not found: _pthread_jit_write_protect_supported_np) #15614
Comments
Hello @molul, Thank you for reporting this bug, however we are unable to reproduce the issue you described given the information we have on hand. Can you please create a fresh project that you are able to reproduce the issue in, provide clear steps to reproduce this issue, and either upload this fresh project to a new GitHub repo or compress it into a We would greatly appreciate your assistance with this, by working in a fresh project it will cut out any possible variables that might be unrelated. Thank you! |
I have the same issue with v4.6.0.
@molul did you find any solution for this? Update For me, it was the 'sharp v0.31.2' package. I installed the 0.31.1 version and this solved my problem. |
@Enache-Ionut That didn't make the trick for me, unfortunately. I didn't have any sharp version installed. Nevertheless, I tried running these commands one after another (with the package.json dependencies modified as in the OP): npm uninstall sharp (just in case) But I got the same message. I wonder if it's something about these three dependencies I have: I'll try to make a bank Strapi project this weekend to see if the issue can be reproduced |
Ok, I created a Strapi 4.5.3 project, I checked it worked after installation, and then I updated to 4.6.0 and got the same error, so it's not something in my Strapi project (plugins, config or whatever). Maybe there's something wrong in my OS (MacOS Mojave) libraries. Here are a couple of zip files for you: Hope it helps. |
Upsteam issue with sharp: |
Was able to confirm the issue is due to upstream dependency where the OS is MacOS Big Sur and lower |
Thankt you @Boegie19 and @derrickmehaffy Makes sense why I was not able to replicate the issue. Running mac os ventura. |
@Boegie19 sorry for the noob question but I'm not sure if I can fix it myself already with the info in the link you provided (which I didn't fully understand) or if I should wait for some kind of instructions here ^_^U Thanks in advance. |
He submitted a fix to the main repo, there are two ways you can resolve it for your project: Use something like yarn resolutions to forcefully set the sharp version or upgrade your Mac beyond big sur. |
Alternatively I'm trying to get his fixed merged for the 4.6.1 release on Wednesday. |
got merged so in 4.6.1 it should be fixed |
@Boegie19 awesome! Thank you very much :) |
Bug report
Required System information
Describe the bug
I followed the update guide, but Strapi can't launch when I run "npm run develop".
Steps to reproduce the behavior
I followed the update guide. No migration needed as I was in 4.5.3. So the steps have been:
1- Change package.json. Mine's dependencies were:
And I changed it to:
2- Then I run "npm install", and "npm run build" after that, as said in the guide. So far so good.
3- Then I run "npm run develop" and got this message:
Also tried yarn develop. Obviously same result. Strapi can't launch, so I rolled back to 4.5.3.
Expected behavior
I'd expect that "npm run build" would launch Strapi 4.6.0
The text was updated successfully, but these errors were encountered: