Skip to content

Strange error require error when upgrading from 0.2.11 to 0.3.x #137

Answered by pi0
leo91000 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @leo91000. Did you tried removing .nitro and .output?

BTW looking at your stack trace, it seems to originate from cross-fetch dependency which is an incompatible CJS dependency. We need to mock it (unjs/unenv#29)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@leo91000
Comment options

Answer selected by leo91000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants