Open harlan-zw opened 3 months ago
Is there an alternative library that we can use instead of nuxt-og-image that will work with firebase?
taking it out of package.json and rebuilding pnpm-lock.yaml fixes the issue and allows a deploy, but then there are a bunch of 500 errors for screens that need it...
Note that error occurrs for libs other than @css-inline, such as @resvg
This issue will be solved when the latest css-inline WASM is stable (see https://github.com/Stranger6667/css-inline/issues/341).
Not sure what else you mean, it should work on Firebase afaik
Not just the css-inline lib - and not just on M1s:
On
(Works fine running locally - just doesn't deploy to FB)
The issue is that you built your npm locks binary dependencies with the assumption that it will be deployed on Mac (the default behavior).
You can try and solve by running npm install -f
as a first step within Firebase, which will force re-install the binaries(maybe). You can also update the lock to remove the linking.
I'm guessing pnpm
doesn't have this issue.
I have the same issue. Macbook pro (2015) Intel i5. Disabling ogImage in nuxtseo is what I have done to solve the deployment issue. However, it's a pity we cannot use ogImage because of this.
This issue will be solved when the latest css-inline WASM is stable (see Stranger6667/css-inline#341).
Not sure what else you mean, it should work on Firebase afaik
Seems like the issue was closed for the WASM thing.. whats the next step?
https://github.com/unjs/nitro/issues/2096