BiancaScoro
BiancaScoro
I'm not sure if this additional error is also affecting it... "[DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. (Use `node --trace-deprecation ...` to show where the...
I deleted the package.json and now I cannot get it back. I tried npm install.
I recovered it.
I think the react-router-dom issue is something different. I still have the error.
The error is showing in the browser now 
This is what the App.js looks like 
It says I have react-router-dom but it doesn't work. 
Whenever I do that, I get the error in the console.
I just discovered I am able to import from react-router-dom if I make an application using npm create vite rather than using npx create-react-app. I only get the error when...