When trying to install your component on Windows 10 I'm getting the following error
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/windows-forground-love - Not found
npm error 404
npm error 404 'windows-forground-love@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\Usuario\AppData\Local\npm-cache\_logs\2024-10-07T13_42_08_049Z-debug-0.log
C:\Users\Usuario\code\emarsys\sfdc-aquiva [pre-master ≡]> npm install -g windows-foreground-love
npm error code 1
npm error path C:\Users\Usuario\AppData\Roaming\npm\node_modules\windows-foreground-love
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm error Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
npm error C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(486,5): error MSB8040: Spectre-mitigated libraries are required for this project.
Install them from the Visual Studio installer (Individual components tab) for any toolsets and architectures being used. Learn more: https://aka.ms/Ofhn4c [C:\Users\Usuario\AppData\Roaming\npm\node_modules\windows-foreground-love\build\foreground_love.vcxproj]
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.2.0
npm error gyp info using node@20.17.0 | win32 | x64
npm error gyp info find Python using Python version 3.12.7 found at "C:\Users\Usuario\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe"
npm error gyp info find VS using VS2019 (16.11.35229.62) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Users\Usuario\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\windows-foreground-love\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\Usuario\\AppData\\Local\\node-gyp\\Cache\\20.17.0\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\Usuario\\AppData\\Local\\node-gyp\\Cache\\20.17.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\Usuario\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.17.0\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\windows-foreground-love',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\windows-foreground-love\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\\binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Usuario\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:216:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.19045
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Usuario\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\Usuario\AppData\Roaming\npm\node_modules\windows-foreground-love
npm error gyp ERR! node -v v20.17.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\Usuario\AppData\Local\npm-cache\_logs\2024-10-07T13_43_01_587Z-debug-0.log
I'm trying to install it, because whenever I do a git pull into my working branch, when opening up the commit editor, it complains about your component
Hi,
When trying to install your component on Windows 10 I'm getting the following error
Attached is the full debug log
2024-10-07T13_43_01_587Z-debug-0.log
I'm trying to install it, because whenever I do a git pull into my working branch, when opening up the commit editor, it complains about your component
Thanks