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
Uncaught TypeError: Class extends value undefined is not a constructor or null when running yarn start. yarn build works successfully!
This possibly happened when we upgraded hydrogen dependency to latest version.
This suggests circular dependency as a cause for this kind of error (though neither sure nor confirmed), using madge tool I found 27 circular dependencies.
@psrpinto & I tried to fix this during our pairing session. Its still happening, but we aren't really using yarn start in development as such. Been completely relying on yarn build to work with WordPress context.
Issue was introduced when the dependency of Hydrogen was updated to 0.3.7 (we verified this via git bisect). Not an easy fix since over 200 files are modified in Hydrogen between 0.3.6 and 0.3.7 - element-hq/hydrogen-web@v0.3.6...v0.3.7
Uncaught TypeError: Class extends value undefined is not a constructor or null
when runningyarn start
.yarn build
works successfully!This possibly happened when we upgraded hydrogen dependency to latest version.
This suggests circular dependency as a cause for this kind of error (though neither sure nor confirmed), using madge tool I found 27 circular dependencies.
The text was updated successfully, but these errors were encountered: