You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to react. So apologies if I am going out of bounds. But, based on the old videos. I project seems to work flawlessly after running the command:
logo.svg: unable to interpret what is logo.svg.
"web-vitals" update renders "reportWebVitals.ts" outdated and crash-prone ("Throw error").
The absence of "tsconfig.json" file makes it unable to run the react app on the go after creation.
The conflicts between packages are caused by varying updates in various packages. (can be fixed with package.json provided to working condition).
Calls to the reportWebVitals.ts need modification with the new update in the web-vital.js.
The changes below will render the project on the computer smoothly, with new updates in the packages.
Error Arising in typescript project
I am new to react. So apologies if I am going out of bounds. But, based on the old videos. I project seems to work flawlessly after running the command:
The changes below will render the project on the computer smoothly, with new updates in the packages.
but, with current updates the above trigger a lot of errors.
Which include typescript errors and the absence of tsconfig.json file. Which we have to add and configure.
I would suggest the following changes to the template download
Step 1: package.json file
Step 2: tsconfig.json
Step 3: Add the Declaration file to the src folder "src/declarations.d.ts"; for the logo.svg error
## Step 4: Modifying the reportWebVitals.ts file for new updated web-vitals.js
The text was updated successfully, but these errors were encountered: