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

Getting (node:19016) Error Plugin after installing heroku pg-extras #214

Open
shiladityab24 opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@shiladityab24
Copy link

Getting error after installing heroku pg-extras plugin using heroku-cli

C:\Users\shiladitya>heroku plugins @heroku-cli/heroku-builds 1.0.6 addons-admin 2.4.0 api 2.3.0 heroku-pg-extras 1.2.5 heroku-repo 1.0.14 heroku-slugs 1.1.0 integration 0.0.9
C:\Users\shiladitya>heroku update heroku: Updating CLI... already on version 9.5.0-61bf905 heroku: Updating plugins... \ [1/4] Resolving packages... warning "@heroku-cli/plugin-integration > @oclif/core > [email protected]" has unmet peer dependency "@types/node@*". heroku: Updating plugins... / [4/4] Building fresh packages... warning Error running install script for optional dependency: "C:\\Users\\shiladitya\\AppData\\Local\\heroku\\node_modules\\cpu-features: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: C:\\Users\\shiladitya\\AppData\\Local\\heroku\\node_modules\\cpu-features
Output: gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | win32 | x64 gyp info find Python using Python version 3.12.2 found at \"C:\\Python312\\python.exe\"

gyp info find VS using VS2019 (16.11.33927.289) found at: gyp info find VS \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\" gyp info find VS run with --verbose for detailed information gyp info spawn C:\\Python312\\python.exe gyp info spawn args [ gyp info spawn args 'C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\Yarn\\\\Data\\\\global\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\heroku\\\\node_modules\\\\cpu-features\\\\build\\\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\Yarn\\\\Data\\\\global\\\\node_modules\\\\node-gyp\\\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.20.2\\\\include\\\\node\\\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.20.2', gyp info spawn args '-Dnode_gyp_dir=C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\Yarn\\\\Data\\\\global\\\\node_modules\\\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\shiladitya\\\\\\\\AppData\\\\\\\\Local\\\\\\\\node-gyp\\\\\\\\Cache\\\\\\\\16.20.2\\\\\\\\<(target_arch)\\\\\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\heroku\\\\node_modules\\\\cpu-features', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\heroku\\\\node_modules\\\\cpu-features\\\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Current\\Bin\\MSBuild.exe gyp info spawn args [ gyp info spawn args 'build\\\\binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] Building the projects in this solution one at a time. To enable parallel build, please add the \"-m\" switch.
Configuring dependencies The filename, directory name, or volume label syntax is incorrect. C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Microsoft\\VC\\v160\\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\\Users\\shiladitya\\AppData\\Local\\heroku\\node_modules\\cpu-features\\deps\\cpu_features\\CMakeLists.txt' exited with code 1. [C:\\Users\\shiladitya\\AppData\\Local\\heroku\\node_modules\\cpu-features\\build\\config_deps.vcxproj] gyp ERR! build error gyp ERR! stack Error:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.<anonymous> (C:\\Users\\shiladitya\\AppData\\Local\\Yarn\\Data\\global\\node_modules\\node-gyp\\lib\\build.js:216:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Windows_NT 10.0.22631 gyp ERR! command \"C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\heroku\\\\client\\\\9.5.0-61bf905\\\\bin\\\\node.exe\" \"C:\\\\Users\\\\shiladitya\\\\AppData\\\\Local\\\\Yarn\\\\Data\\\\global\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" gyp ERR! cwd C:\\Users\\shiladitya\\AppData\\Local\\heroku\\node_modules\\cpu-features gyp ERR! node -v v16.20.2 gyp ERR! node-gyp -v v10.2.0 heroku: Updating plugins... | yarn install v1.22.19 error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2" heroku: Updating plugins... ! » Error: yarn --prod --non-interactive --mutex=file:C:\Users\shiladitya\AppData\Local\heroku\node_modules\@heroku-cli\plugin-addons-admin\yarn.lock » --preferred-cache-folder=C:\Users\shiladitya\AppData\Local\heroku\yarn --check-files --registry=https://registry.npmjs.org exited with code 1

Attaching screenshots as reference

image

image

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