Closed Fil-good closed 2 years ago
It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://mui.com/r/issue-template), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
so, an hour later, everything is working! in the end there was only 1 issue, and by changing, in the tsconfig.json: "jsx": "react" to "jsx: "react-jsx" everything was ok. This was the only difference in the tsconfig file from the example of the forked repo.
my solution to all previous difficulties, was to use 'npm update' (I also changed my lock file with shrinkwrap, but not sure if this was the solution). Also, it helped maybe to restart the IDE.
PS. also I did 'npm install react-scripts@latest'
After copying the code, and some updates of npm, etc. I cannot remove this error code (see subject line). Anyone has an idea how to fix this?
package.json
tsconfig.json