HELLO, I need help building my Prebid.js 5.20.4, I know it is obsolete, but I need to change the version I currently have, so I need to build a new one. I downloaded the file from here: 5.20.4, but I need to know which node.js version to use. Today I'm using v18.17.0.
I follow the steps for installation, but I get an error when I use npm ci or npm install. I open the Windows terminal, as administrator, in C:\Windows\System32> use npm install -g gulp.
I receive the message:
changed 141 packages in 6s
14 packages are looking for funding
run `npm fund` for details.
now in C:\Users\Marcos Vinicius\Desktop\Prebid.js
, I use npm ci, erro:
> npm ERR! code 1
> npm ERR! path C:\Users\Marcos Vinicius\Desktop\Prebid.js\node_modules\fibers
> npm ERR! command failed
> npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node build.js || nodejs build.js
> npm ERR! gyp info it worked if it ends with ok
> npm ERR! gyp info using node-gyp@10.1.0
> npm ERR! gyp info using node@18.17.0 | win32 | x64
> npm ERR! gyp info find Python using Python version 3.8.0 found at "C:\Users\Marcos Vinicius\AppData\Local\Programs\Python\Python38-32\python.exe"
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
> npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
> npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS Failure details: undefined
> npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS Failure details: undefined
> npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS Failure details: undefined
> npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS Failure details: undefined
> npm ERR! gyp ERR! find VS looking for Visual Studio 2015
> npm ERR! gyp ERR! find VS - not found
> npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! find VS **************************************************************
> npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
> npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
> npm ERR! gyp ERR! find VS For more information consult the documentation at:
> npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
> npm ERR! gyp ERR! find VS **************************************************************
> npm ERR! gyp ERR! find VS
> npm ERR! gyp ERR! configure error
> npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
> npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\Marcos Vinicius\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:116:11)
> npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\Marcos Vinicius\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:72:17)
> npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> npm ERR! gyp ERR! stack at async createBuildDir (C:\Users\Marcos Vinicius\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:95:26)
> npm ERR! gyp ERR! stack at async run (C:\Users\Marcos Vinicius\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
> npm ERR! gyp ERR! System Windows_NT 10.0.22631
> npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Marcos Vinicius\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--release"
> npm ERR! gyp ERR! cwd C:\Users\Marcos Vinicius\Desktop\Prebid.js\node_modules\fibers
> npm ERR! gyp ERR! node -v v18.17.0
> npm ERR! gyp ERR! node-gyp -v v10.1.0
> npm ERR! gyp ERR! not ok
> npm ERR! node-gyp exited with code: 1
> npm ERR! Please make sure you are using a supported platform and node version. If you
> npm ERR! would like to compile fibers on this machine please make sure you have setup your
> npm ERR! build environment--
> npm ERR! Windows + OS X instructions here: https://github.com/nodejs/node-gyp
> npm ERR! Ubuntu users please run: `sudo apt-get install g++ build-essential`
> npm ERR! RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
> npm ERR! Alpine users please run: `sudo apk add python make g++`
> npm ERR! 'nodejs' n�o � reconhecido como um comando interno
> npm ERR! ou externo, um programa oper�vel ou um arquivo em lotes.
The package.json for this version looks like this:
`>{
Type of issue
HELLO, I need help building my Prebid.js 5.20.4, I know it is obsolete, but I need to change the version I currently have, so I need to build a new one. I downloaded the file from here: 5.20.4, but I need to know which node.js version to use. Today I'm using v18.17.0.
I follow the steps for installation, but I get an error when I use
npm ci
ornpm install
. I open the Windows terminal, as administrator, in C:\Windows\System32> usenpm install -g gulp
.now in C:\Users\Marcos Vinicius\Desktop\Prebid.js , I use
npm ci
, erro:The package.json for this version looks like this: `>{
Description
Steps to reproduce
Test page
Expected results
Actual results
Platform details
Other information