Topic: Issue with "manual installation Pro" zip
Expected behavior Installing and starting "manual installation" Pro zip. To kickstart my project
Actual behavior Firstly when installing this react zip through node.js, I get several warnings about "conflicting peer dependencies" and "could not resolve dependency".
Then when I try starting it I get "./src/pages/ChartsPage.js Module not found: Can't resolve 'react-chartjs-2' in 'C:\Users..."", but to temporarily get past this I start by commenting out ChartPage in Index.js.
But then I simply get the error message in chrome console "react.development.js:1476 Uncaught 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" etc etc.
I´ve had the same issue with the last 2-3 releases of MDB Pro Manual installation. Is this an known issue?
Resources (screenshots, code snippets etc.) No example, the issue seem to be with the "manual installation" Pro zip. Tested on multiple computers, resetted npm, checked versions etc. I´m using Node.js 16.13.1 and npm 8.3.1
This topic is closed.
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 2.1.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No