microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.27k stars 28.57k forks source link

cant install redux toolkit #211518

Closed Ankush-ts closed 4 months ago

Ankush-ts commented 4 months ago

Type: Performance Issue

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: 01usertable@0.0.0 npm ERR! Found: react@18.3.1 npm ERR! node_modules/react npm ERR! peer react@"^18.3.1" from react-dom@18.3.1 npm ERR! node_modules/react-dom npm ERR! react-dom@"^18.2.0" from the root project npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! @reduxjs/toolkit@"" from the root project npm ERR! npm ERR! Conflicting peer dependency: react@18.2.0 npm ERR! node_modules/react npm ERR! peer react@"18.2.0" from react-native@0.74.0 npm ERR! node_modules/react-native npm ERR! peerOptional react-native@">=0.69" from react-redux@9.1.1 npm ERR! node_modules/react-redux npm ERR! peerOptional react-redux@"^7.2.1 || ^8.1.3 || ^9.0.0" from @reduxjs/toolkit@2.2.3 npm ERR! node_modules/@reduxjs/toolkit npm ERR! @reduxjs/toolkit@"" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\ankup\AppData\Local\npm-cache_logs\2024-04-27T07_00_49_664Z-eresolve-report.txt

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.71GB (7.04GB free)| |Process Argv|--crash-reporter-id a5400a7f-6fe0-4301-ae44-8993d583018e| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 121 14412 code main 0 249 5740 window [1] (package.json - react - Visual Studio Code) 0 90 6692 fileWatcher [1] 0 43 10596 utility-network-service 0 87 15608 ptyHost 0 7 5444 conpty-agent 0 70 10564 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\ankup\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 182 15672 gpu-process 0 159 16140 extensionHost [1] 0 112 3276 "C:\Users\ankup\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\ankup\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=16140 0 143 17572 electron-nodejs (tsserver.js ) 0 95 23032 electron-nodejs (serverMain.js ) 0 179 23520 electron-nodejs (tsserver.js ) 0 92 8440 electron-nodejs (typingsInstaller.js typesMap.js ) 0 29 16940 crashpad-handler 0 100 20464 window [2] (Issue Reporter) 0 98 23456 shared-process ```
Workspace Info ``` | Window (package.json - react - Visual Studio Code) | Folder (react): 0 files | File types: | Conf files:; ```
Extensions (16) Extension|Author (truncated)|Version ---|---|--- nodejs-bundle|1Yi|1.0.0 svelte-bundle|1Yi|1.0.0 svelte-intellisense|ard|0.7.1 vscode-tailwindcss|bra|0.10.5 prettier-vscode|esb|10.4.0 vscode-svelte-snippets|fiv|0.5.0 auto-rename-tag|for|0.1.10 code-runner|for|0.12.2 svg|joc|1.5.3 vscode-thunder-client|ran|2.21.16 LiveServer|rit|5.7.9 vs-code-prettier-eslint|rve|6.0.0 vscode-standard|sta|2.1.3 svelte-vscode|sve|108.4.0 ReactSnippets|xab|2.4.0 vscode-surround|yat|1.5.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 chatpanelt:31018789 dsvsc021:30996838 9c06g630:31013171 pythoncenvpt:31022790 ```
IllusionMH commented 4 months ago

/duplicate of #211517

VSCodeTriageBot commented 4 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!