claudecodeui icon indicating copy to clipboard operation
claudecodeui copied to clipboard

Npm install fail (windows, node 22)

Open thibaud57 opened this issue 6 months ago • 5 comments

Hello I've got few error while buildign with npm install. \Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(511,5): error MSB8040: des bibliothèques avec atténuations de Spectre sont nécessaires pour ce projet. Installez-les à partir de Visual Studio Installer (onglet Composants individuels) pour les ensembles d'outils et les architectures utilisés. En savoir plus : https://aka.ms/Ofhn4c [...\node_modules\node-pty\build\pty.vcxproj]

npm error All 1818 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.

npm error gyp ERR! node -v v22.17.1 npm error gyp ERR! node-gyp -v v11.0.0 npm error gyp ERR! not ok

I'm using windows 11. I should try to use direct on my vps. Have you made a tuto somewhere ?

thibaud57 avatar Jul 30 '25 19:07 thibaud57

there's an open PR #117 that should solve this by making that package optional and other compatibility tasks for using on windows, sadly there are other issues in that pr.

Update: the problems I thought were related, are not related to this pr.

It's good.

avelops avatar Jul 30 '25 21:07 avelops

@avelops @thibaud57 is this solved now?

viper151 avatar Aug 11 '25 11:08 viper151

I had to install the mvc spectre mitigation from visual studio 2022 build tools.

On Mon, Aug 11, 2025 at 2:35 PM viper151 @.***> wrote:

viper151 left a comment (siteboon/claudecodeui#130) https://github.com/siteboon/claudecodeui/issues/130#issuecomment-3174389094

@avelops https://github.com/avelops @thibaud57 https://github.com/thibaud57 is this solved now?

— Reply to this email directly, view it on GitHub https://github.com/siteboon/claudecodeui/issues/130#issuecomment-3174389094, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWFPDSJ6CC55XJWLMWQ22L3NB5ZHAVCNFSM6AAAAACCX3K54OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZUGM4DSMBZGQ . You are receiving this because you were mentioned.Message ID: @.***>

avelops avatar Aug 28 '25 20:08 avelops

install

MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10/11 SDK
MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs
C++ CMake tools for Windows

from Visual Studio Installer

NathanCNWH avatar Sep 08 '25 06:09 NathanCNWH

for me, the solution is to install

pkgs.clang
pkgs.gnumake

Then I started it, sent a message, and can not stop! It used up to 10k tokens and I have to delete the entire claudecodeui and restart

Ding-Fan avatar Sep 14 '25 17:09 Ding-Fan