'React-table library- 'useTable' is not exported by node_modules/react-table/index.js
React version: 16.8.6
React-table version: 7.6.3
Hey.
I am getting the next error only when trying to build my project.
When running it locally, everything works fine and the hook is being imported, but when trying to build it, I am getting:'useTable' is not exported by node_modules/react-table/index.js
.
Saw some code examples, and I am doing everything exactly the same as them. Tried to remove my node_modules
and reinstall everything- but it didn't work.
Any help???
Thanks!!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|