Closed fix closed 3 months ago
@fix Thanks for the report.
There is an issue which might or might not be the root cause: we don't support yarn v2 or v3 (see our docs). We auto-detect yarn.lock
and proceed with a yarn v1 installation, but that is far from guaranteeing a similar setup to your local machine.
@jrvidal thanks for your answer.
I have a private repo with the exact same issue, but i use pnpm
instead of yarn
Could you share it?
Describe the bug
When using some dependencies (here it seems using cosmiconfig), the error stack is
Link to the blitz that caused the error
https://pr.new/github.com/lingui/js-lingui/tree/main/examples/nextjs-swc
Steps to reproduce
Go to the blitz and see the error.
Expected behavior
Should compile properly. My understanding is that webcontainer is providing a polyfill for fs module.
Parity with Local
Screenshots
No response
Platform
Additional context
No response