I have created a custom component into a private repostory / registry and it's working locally (tested with storybooks). When I do "npm install" it gets correctly installed into the other package but when i try to start the project i get this error:
Uncaught TypeError: Cannot read properties of null (reading 'useState')
on react.development.js
file... on this
function useState(initialState) {
var dispatcher = resolveDispatcher();
return dispatcher.useState(initialState);
}
I am pretty much lost on how to proceed
I tried adding a source map into the exported project and it's there but it wasn't helpful
When I try to open the file from the developer tool I get this error :
Could not load content for http://localhost:3000/Users/joaquinnader/web/src/VideoRecorder/index.tsx (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)