Open dagnelies-elo opened 1 month ago
After a lot of difficult search, the following workaround seems to do the trick:
npm install -O @swc/core-linux-x64-glibc
npm install -O @swc/core-linux-x64-gnu
After a lot of difficult search, the following workaround seems to do the trick:
npm install -O @swc/core-linux-x64-glibc npm install -O @swc/core-linux-x64-gnu
@dagnelies-elo Had this issue when building Parcel on a DigitalOcean App Platform instance, this fixed it. Any idea why these dependencies aren't automatically installed if required?
...sorry ...I have no clue about the logic behind these optional dependencies
🐛 bug report
Fails to build with
parcel build --no-cache --public-url ./ src/*.html
🎛 Configuration (.babelrc, package.json, cli command)
Running on node 22, nothing fancy in the
package.json
:The optional dependency was needed, otherwise it would result in another bug reported here.
And the typescript config looks as follows:
🤔 Expected Behavior
It compiles
😯 Current Behavior
It throws that error
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
...but it works on Windows!