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
When cloning this project and, of course, after installing the npm packages both for the server and the theme package, when I try to run the project on development, it throws the next error:
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem. at resolveDispatcher (webpack-internal:///./packages/bootstrap-theme/node_modules/react/cjs/react.development.js:310:1206) at useState (webpack-internal:///./packages/bootstrap-theme/node_modules/react/cjs/react.development.js:313:485) at Theme (webpack-internal:///./packages/bootstrap-theme/node_modules/@frontity/connect/src/connect.js:36:72) at processChild (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:443:2321) at resolve (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:442:122) at ReactDOMServerRenderer.render (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:484:1233) at ReactDOMServerRenderer.read (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:484:55) at renderToString (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:528:132) at eval (webpack-internal:///./node_modules/@frontity/core/src/server/index.tsx:73:243) at runMicrotasks (<anonymous>)
The text was updated successfully, but these errors were encountered:
Hello,
When cloning this project and, of course, after installing the npm packages both for the server and the theme package, when I try to run the project on development, it throws the next error:
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
at resolveDispatcher (webpack-internal:///./packages/bootstrap-theme/node_modules/react/cjs/react.development.js:310:1206)
at useState (webpack-internal:///./packages/bootstrap-theme/node_modules/react/cjs/react.development.js:313:485)
at Theme (webpack-internal:///./packages/bootstrap-theme/node_modules/@frontity/connect/src/connect.js:36:72)
at processChild (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:443:2321)
at resolve (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:442:122)
at ReactDOMServerRenderer.render (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:484:1233)
at ReactDOMServerRenderer.read (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:484:55)
at renderToString (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:528:132)
at eval (webpack-internal:///./node_modules/@frontity/core/src/server/index.tsx:73:243)
at runMicrotasks (<anonymous>)
The text was updated successfully, but these errors were encountered: