Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Issue when Installing CodeCompanion #205

Open
PierrunoYT opened this issue Jan 23, 2024 · 0 comments
Open

Unknown Issue when Installing CodeCompanion #205

PierrunoYT opened this issue Jan 23, 2024 · 0 comments

Comments

@PierrunoYT
Copy link

C:\Users\pierr\Desktop\Github\code-companion>npm install
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated asar@3.2.0: Please use @electron/asar moving forward. There is no API change, just a package name change
npm WARN deprecated electron-osx-sign@0.6.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
npm WARN deprecated classifier@0.1.0: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated electron-notarize@1.2.2: Please use @electron/notarize moving forward. There is no API change, just a package name change
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\rxjs',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\rxjs\dist\esm5\internal\observable'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\rxjs\dist\esm5\internal\observable'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\googleapis',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\googleapis\node_modules\google-auth-library'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\googleapis\node_modules\google-auth-library'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\langchain',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\langchain\node_modules\openai'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\langchain\node_modules\openai'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\deps\winpty\src\Release\obj'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\deps\winpty\src\Release\obj'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(504,5): error MSB8040: Bibliotheken mit Spectre-Entsch�rfungen sind f�r dieses Projekt erforderlich. Installieren Sie sie �ber den Visual Studio-Installer (Registerkarte "Einzelne Komponenten") f�r alle Toolsets und Architekturen, die verwendet werden. Weitere Informationen: https://aka.ms/Ofhn4c [C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\conpty.vcxproj]
npm ERR! C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(504,5): error MSB8040: Bibliotheken mit Spectre-Entsch�rfungen sind f�r dieses Projekt erforderlich. Installieren Sie sie �ber den Visual Studio-Installer (Registerkarte "Einzelne Komponenten") f�r alle Toolsets und Architekturen, die verwendet werden. Weitere Informationen: https://aka.ms/Ofhn4c [C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\conpty_console_list.vcxproj]
npm ERR! Agent.cc
npm ERR! AgentCreateDesktop.cc
npm ERR! ConsoleFont.cc
npm ERR! ConsoleInput.cc
npm ERR! ConsoleInputReencoding.cc
npm ERR! ConsoleLine.cc
npm ERR! DebugShowInput.cc
npm ERR! DefaultInputMap.cc
npm ERR! EventLoop.cc
npm ERR! InputMap.cc
npm ERR! LargeConsoleRead.cc
npm ERR! NamedPipe.cc
npm ERR! Scraper.cc
npm ERR! Terminal.cc
npm ERR! Win32Console.cc
npm ERR! Win32ConsoleBuffer.cc
npm ERR! main.cc
npm ERR! BackgroundDesktop.cc
npm ERR! Buffer.cc
npm ERR! DebugClient.cc
npm ERR! GenRandom.cc
npm ERR! OwnedHandle.cc
npm ERR! StringUtil.cc
npm ERR! WindowsSecurity.cc
npm ERR! WindowsVersion.cc
npm ERR! WinptyAssert.cc
npm ERR! WinptyException.cc
npm ERR! WinptyVersion.cc
npm ERR! win_delay_load_hook.cc
npm ERR! Code wird generiert.
npm ERR! Previous IPDB not found, fall back to full compilation.
npm ERR! C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\deps\winpty\src\agent\Agent.cc(231): warning C4722: "Agent::~Agent": Der Destruktor gibt nie Werte zur�ck, m�glicherweise ist ein Speicherverlust aufgetreten. [C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\deps\winpty\src\winpty-agent.vcxproj]
npm ERR! All 1732 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
npm ERR! Codegenerierung ist abgeschlossen.
npm ERR! winpty-agent.vcxproj -> C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\Release\winpty-agent.exe
npm ERR! AgentLocation.cc
npm ERR! winpty.cc
npm ERR! BackgroundDesktop.cc
npm ERR! Buffer.cc
npm ERR! DebugClient.cc
npm ERR! GenRandom.cc
npm ERR! OwnedHandle.cc
npm ERR! StringUtil.cc
npm ERR! WindowsSecurity.cc
npm ERR! WindowsVersion.cc
npm ERR! WinptyAssert.cc
npm ERR! WinptyException.cc
npm ERR! WinptyVersion.cc
npm ERR! win_delay_load_hook.cc
npm ERR! Bibliothek "C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\Release\winpty.lib" und Objekt "C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\Release\winpty.exp" werden erstellt.
npm ERR! Code wird generiert.
npm ERR! Previous IPDB not found, fall back to full compilation.
npm ERR! All 1042 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
npm ERR! Codegenerierung ist abgeschlossen.
npm ERR! winpty.vcxproj -> C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\Release\winpty.dll
npm ERR! C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(504,5): error MSB8040: Bibliotheken mit Spectre-Entsch�rfungen sind f�r dieses Projekt erforderlich. Installieren Sie sie �ber den Visual Studio-Installer (Registerkarte "Einzelne Komponenten") f�r alle Toolsets und Architekturen, die verwendet werden. Weitere Informationen: https://aka.ms/Ofhn4c [C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\pty.vcxproj]
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@21.6.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.7 found at "C:\Users\pierr\AppData\Local\Programs\Python\Python311\python.exe"
npm ERR! gyp info find VS using VS2022 (17.8.34408.163) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Users\pierr\AppData\Local\Programs\Python\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\pierr\AppData\Local\node-gyp\Cache\21.6.0\include\node\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\pierr\AppData\Local\node-gyp\Cache\21.6.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\Users\pierr\AppData\Local\node-gyp\Cache\21.6.0\<(target_arch)\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build\binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Windows_NT 10.0.22631
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\pierr\Desktop\Github\code-companion\node_modules\node-pty
npm ERR! gyp ERR! node -v v21.6.0
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\pierr\AppData\Local\npm-cache_logs\2024-01-23T18_10_18_031Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant