I think the problem is with my computer and not the project. I recently installed the tool on my pc and I just created a new react project with the command :
npx create-react-app portfolio-react --template typescript
When I try to preview the app.tsx file or any other file, I get an infinite change. And when I try to display it in a browser (Edge), it returns the following error:
Failed to load resource: the server responded with a status of 404 (Not Found)
[2021-07-16 14:52:31.638] [exthost] [info] extension host started
[2021-07-16 14:52:31.639] [exthost] [info] Skipping acquiring lock for c:\Users\willi\AppData\Roaming\Code\User\workspaceStorage\5811598c8c8e89aa9d787c601fdf240b.
[2021-07-16 14:52:31.764] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-07-16 14:52:31.764] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-07-16 14:52:31.778] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features {"startup":false,"extensionId":{"value":"vscode.typescript-language-features","_lower":"vscode.typescript-language-features"},"activationEvent":"onLanguage:typescriptreact"}
[2021-07-16 14:52:31.778] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension
[2021-07-16 14:52:31.796] [exthost] [info] ExtensionService#_doActivateExtension zenclabs.reactpreview {"startup":false,"extensionId":{"value":"zenclabs.reactpreview","_lower":"zenclabs.reactpreview"},"activationEvent":"onLanguage:typescriptreact"}
[2021-07-16 14:52:31.796] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/.vscode/extensions/zenclabs.reactpreview-0.3.0/dist/client/bundle
[2021-07-16 14:52:31.807] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-07-16 14:52:31.807] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-07-16 14:52:31.813] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-07-16 14:52:31.813] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main
[2021-07-16 14:52:31.832] [exthost] [info] ExtensionService#_doActivateExtension vscode.npm {"startup":true,"extensionId":{"value":"vscode.npm","_lower":"vscode.npm"},"activationEvent":"workspaceContains:package.json"}
[2021-07-16 14:52:31.833] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/npm/dist/npmMain
[2021-07-16 14:52:32.327] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-07-16 14:52:32.327] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js
[2021-07-16 14:52:32.459] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-07-16 14:52:32.460] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-07-16 14:52:32.634] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-07-16 14:52:32.635] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js
[2021-07-16 14:52:32.663] [exthost] [info] eager extensions activated
[2021-07-16 14:52:32.677] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.678] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-07-16 14:52:32.691] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.691] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-07-16 14:52:32.699] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender {"startup":false,"extensionId":{"value":"ms-vscode-remote.remote-wsl-recommender","_lower":"ms-vscode-remote.remote-wsl-recommender"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.699] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js
[2021-07-16 14:52:32.711] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.711] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/testing-editor-contributions/dist/extension.js
[2021-07-16 14:52:32.715] [exthost] [info] ExtensionService#_doActivateExtension esbenp.prettier-vscode {"startup":false,"extensionId":{"value":"esbenp.prettier-vscode","_lower":"esbenp.prettier-vscode"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.715] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/.vscode/extensions/esbenp.prettier-vscode-8.0.1/dist/extension
[2021-07-16 14:52:32.783] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl {"startup":false,"extensionId":{"value":"ms-vscode-remote.remote-wsl","_lower":"ms-vscode-remote.remote-wsl"},"activationEvent":"onStartupFinished"}
[2021-07-16 14:52:32.784] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/.vscode/extensions/ms-vscode-remote.remote-wsl-0.58.2/dist/extension
[2021-07-16 14:52:34.943] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing {"startup":false,"extensionId":{"value":"vscode.configuration-editing","_lower":"vscode.configuration-editing"},"activationEvent":"onLanguage:jsonc"}
[2021-07-16 14:52:34.944] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/configuration-editing/dist/configurationEditingMain
[2021-07-16 14:52:34.951] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features {"startup":false,"extensionId":{"value":"vscode.json-language-features","_lower":"vscode.json-language-features"},"activationEvent":"onLanguage:jsonc"}
[2021-07-16 14:52:34.951] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/json-language-features/client/dist/node/jsonClientMain
[2021-07-16 15:06:29.238] [exthost] [info] ExtensionService#_doActivateExtension vscode.extension-editing {"startup":false,"extensionId":{"value":"vscode.extension-editing","_lower":"vscode.extension-editing"},"activationEvent":"onLanguage:typescript"}
[2021-07-16 15:06:29.241] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/extension-editing/dist/extensionEditingMain
[2021-07-16 15:19:02.989] [exthost] [info] ExtensionService#_doActivateExtension eg2.vscode-npm-script {"startup":false,"extensionId":{"value":"eg2.vscode-npm-script","_lower":"eg2.vscode-npm-script"},"activationEvent":"onLanguage:json"}
[2021-07-16 15:19:02.992] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/willi/.vscode/extensions/eg2.vscode-npm-script-0.3.22/dist/extension