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
/server-components-demo/src/App.server.js:141undefined ^Error [ERR_REQUIRE_ESM]: require() of ES Module /server-components-demo/node_modules/@babel/runtime/helpers/esm/slicedToArray.js from /server-components-demo/src/App.server.js not supported.Instead change the require of slicedToArray.js in /server-components-demo/src/App.server.js to a dynamic import() which is available in all CommonJS modules.
The text was updated successfully, but these errors were encountered:
penx
linked a pull request
Nov 3, 2022
that will
close
this issue
As mentioned (in more detail) at facebook/react#23126 (comment)
If you use destructuring assignment in a server component, you get a babel error:
The text was updated successfully, but these errors were encountered: