Closed huozhi closed 2 years ago
x-ref: https://github.com/vercel/next-react-server-components/issues/35
18.x.x seems to be treated as mismatch for react and react-dom with npm install, and then styled-jsx will be installed under node_modules/next/node_modules which leads to styled-jsx/style is not found.
18.x.x
styled-jsx
node_modules/next/node_modules
styled-jsx/style
yarn works fine
:tada: This PR is included in version 5.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
x-ref: https://github.com/vercel/next-react-server-components/issues/35
18.x.x
seems to be treated as mismatch for react and react-dom with npm install, and thenstyled-jsx
will be installed undernode_modules/next/node_modules
which leads tostyled-jsx/style
is not found.yarn works fine