You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I upgrade to 9.17.0 (npm install [email protected]) the same command starts giving me this output:
» npm run build
> xxxxxxxxxxxxx build
> react-scripts build
Creating an optimized production build...
Failed to compile.
Module not found: Error: Default condition should be last one
I'm not sure how to provide better instructions to reproduce because of the generic message (Googling didn't help much so far) but I'm happy to help if anyone has any tips to share.
I am having the same problem when building using webpack:
The error is Module not found: Default condition should be last one.
I imagine this has to do with #6981, because as a result of this PR, the default condition is no longer the last in the package.json in many of the modules. Here is an example, but this occurs in a number of places:
Describe your environment
Describe the problem
Steps to reproduce:
Running:
Used to work fine on [email protected] and [email protected].
If I upgrade to 9.17.0 (
npm install [email protected]
) the same command starts giving me this output:I'm not sure how to provide better instructions to reproduce because of the generic message (Googling didn't help much so far) but I'm happy to help if anyone has any tips to share.
Relevant Code:
The text was updated successfully, but these errors were encountered: