TypeError: Class constructor [X] cannot be invoked without 'new' #3689
Unanswered
jwbackhouse
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to migrate a large existing React project from Webpack to Snowpack, and am encountering the following error:
LanguageView
is a React class component that in its simplified form looks like this:react-css-modules
is a (now deprecated) library enabling CSS modules via use of a React higher order component.I've drawn a blank on research into similar issues seen by other users of this library and similarly with Snowpack users (including discussion #1669, so wondered if someone might have some suggestions...
Beta Was this translation helpful? Give feedback.
All reactions