Running with gitlab-runner 14.5.2 (e91107dd)
on civweb1211 bdc524e4
section_start:1736149364:prepare_executor
Preparing the "shell" executor
Using Shell executor...
section_end:1736149364:prepare_executor
section_start:1736149364:prepare_script
Preparing environment
Running on CIV1211...
section_end:1736149364:prepare_script
section_start:1736149364:get_sources
Getting source from Git repository
Fetching changes...
Reinitialized existing Git repository in F:/CIV_CI/builds/bdc524e4/0/ReactWeb5/CivWeb/.git/
Skipping Git checkout
Skipping Git submodules setup
section_end:1736149367:get_sources
section_start:1736149367:step_script
Executing "step_script" stage of the job script
$ chcp 65001
Active code page: 65001
$ git config core.autocrlf false
$ git reset --hard
HEAD is now at 3d181d5d fix: 默认登录页二维码样式修改
$ git pull origin master
From https://g.civnet.cn:8443/ReactWeb5/CivWeb
* branch master -> FETCH_HEAD
Updating 3d181d5d..dcc6b187
Fast-forward
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
$ npm run init
> civbase@0.0.16 init
> yarn install --registry=https://g.civnet.cn:4873
yarn install v1.22.19
$ yarn run npmcheckversion && npx force-resolutions
yarn run v1.22.19
$ node ./internals/scripts/npmcheckversion.js
Done in 2.84s.
package-lock.json not found - can not force resolutions (try to execute `npm install` command before).
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "antd@4.21.2" is incompatible with requested version "antd@~4.17.4"
[3/5] Fetching packages...
warning @zip.js/zip.js@2.7.48: The engine "deno" appears to be invalid.
warning @zip.js/zip.js@2.7.48: The engine "bun" appears to be invalid.
warning np@7.7.0: The engine "git" appears to be invalid.
[4/5] Linking dependencies...
warning " > @ant-design/pro-form@1.70.1" has unmet peer dependency "rc-field-form@^1.22.0".
warning " > @ant-design/pro-table@2.77.1" has unmet peer dependency "rc-field-form@^1.22.0".
warning " > @wisdom-cesium/krpano@1.0.29-60" has incorrect peer dependency "antd@~4.17.4".
warning "@wisdom-cesium/krpano > @wisdom-utils/runtime@0.0.30" has incorrect peer dependency "react@16.x".
warning "@wisdom-cesium/krpano > redux-immutablejs@0.0.8" has incorrect peer dependency "redux@^2.0.0 || ^3.0.0".
warning "@wisdom-cesium/krpano > redux-immutablejs@0.0.8" has incorrect peer dependency "immutable@^3.7.5".
warning "@wisdom-utils/runtime > use-subscription@1.4.1" has incorrect peer dependency "react@^16.8.0".
warning "@wisdom-cesium/krpano > react-activation > create-react-context@0.3.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > @wisdom-map/arcgismap@2.0.98" has unmet peer dependency "@esri/arcgis-html-sanitizer@2.10.0".
warning " > @wisdom-map/pd-map@1.0.98" has unmet peer dependency "@wisdom-map/pd-map-api@*".
warning " > @wisdom-map/pd-map@1.0.98" has unmet peer dependency "@wisdom-map/pd-map-control@*".
warning "@wisdom-map/pd-map > @wisdom-map/pd-map-api@1.0.81" has unmet peer dependency "@esri/arcgis-html-sanitizer@2.10.0".
warning " > connected-react-router@6.4.0" has incorrect peer dependency "react@^16.4.0".
warning " > connected-react-router@6.4.0" has incorrect peer dependency "react-redux@^6.0.0".
warning " > connected-react-router@6.4.0" has unmet peer dependency "react-router@^4.3.1 || ^5.0.0".
warning " > react-file-viewer@1.2.1" has incorrect peer dependency "react@^16.6.3".
warning " > react-file-viewer@1.2.1" has incorrect peer dependency "react-dom@^16.6.3".
warning "react-file-viewer > react-data-grid@5.0.5" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
warning "react-file-viewer > react-data-grid@5.0.5" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
warning "react-file-viewer > pdfjs-dist > worker-loader@0.8.1" has incorrect peer dependency "webpack@>=0.9 <2 || ^2.1.0-beta || ^2.2.0".
warning "react-helmet > react-side-effect@1.2.0" has incorrect peer dependency "react@^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > react-intl@3.12.1" has incorrect peer dependency "react@^16.3.0".
warning " > react-redux@7.0.2" has incorrect peer dependency "react@^16.8.4".
warning " > react-reveal@1.2.2" has incorrect peer dependency "react@^15.3.0 || ^16.0.0".
warning " > react-router-config@5.1.1" has unmet peer dependency "react-router@>=5".
warning "@umijs/bundler-utils > @umijs/babel-preset-umi > @umijs/babel-plugin-auto-css-modules@3.3.7" has incorrect peer dependency "@babel/core@^7.12.3".
warning "@umijs/bundler-utils > @umijs/babel-preset-umi > @umijs/babel-plugin-import-to-await-require@3.3.7" has incorrect peer dependency "@babel/core@^7.12.3".
warning " > compression-webpack-plugin@2.0.0" has incorrect peer dependency "webpack@^4.3.0".
warning " > file-loader@3.0.1" has incorrect peer dependency "webpack@^4.0.0".
warning " > friendly-errors-webpack-plugin@1.7.0" has incorrect peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
warning " > jest-styled-components@6.3.1" has incorrect peer dependency "styled-components@^2.0.0 || ^3.0.2".
warning " > less-loader@5.0.0" has incorrect peer dependency "less@^2.3.1 || ^3.0.0".
warning " > less-loader@5.0.0" has incorrect peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
warning " > optimize-css-assets-webpack-plugin@5.0.4" has incorrect peer dependency "webpack@^4.0.0".
warning " > react-test-renderer@16.8.6" has incorrect peer dependency "react@^16.0.0".
warning " > speed-measure-webpack-plugin@1.3.3" has incorrect peer dependency "webpack@^1 || ^2 || ^3 || ^4".
warning "svg-url-loader > file-loader@4.0.0" has incorrect peer dependency "webpack@^4.0.0".
warning " > swc-loader@0.1.16" has unmet peer dependency "@swc/core@^1.2.147".
warning " > url-loader@1.1.2" has incorrect peer dependency "webpack@^3.0.0 || ^4.0.0".
warning " > webpack-manifest-plugin@3.2.0" has incorrect peer dependency "webpack@^4.44.2".
[5/5] Building fresh packages...
warning Error running install script for optional dependency: "F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json
Output:
F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.15.1 | win32 | x64
gyp info find Python using Python version 3.7.0 found at \"C:\\Program Files\\Python37\\python.exe\"
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS checking VS2019 (16.11.31624.102) found at:
gyp ERR! find VS \"D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS checking VS2019 (16.4.29806.167) found at:
gyp ERR! find VS \"F:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the \"Desktop development with C++\" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:122:47)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:75:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:363:14)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:71:14
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:384:16
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:54:7
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
gyp ERR! System Windows_NT 10.0.14393
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\"
gyp ERR! cwd F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml
Output:
F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.15.1 | win32 | x64
gyp info find Python using Python version 3.7.0 found at \"C:\\Program Files\\Python37\\python.exe\"
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS checking VS2019 (16.11.31624.102) found at:
gyp ERR! find VS \"D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS checking VS2019 (16.4.29806.167) found at:
gyp ERR! find VS \"F:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the \"Desktop development with C++\" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:122:47)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:75:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:363:14)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:71:14
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:384:16
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:54:7
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
gyp ERR! System Windows_NT 10.0.14393
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\"
gyp ERR! cwd F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter
Output:
prebuild-install WARN install No prebuilt binaries found (target=16.15.1 runtime=node arch=x64 libc= platform=win32)
F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.15.1 | win32 | x64
gyp info find Python using Python version 3.7.0 found at \"C:\\Program Files\\Python37\\python.exe\"
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS checking VS2019 (16.11.31624.102) found at:
gyp ERR! find VS \"D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS checking VS2019 (16.4.29806.167) found at:
gyp ERR! find VS \"F:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the \"Desktop development with C++\" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:122:47)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:75:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:363:14)
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:71:14
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-visualstudio.js:384:16
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:54:7
gyp ERR! stack at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
gyp ERR! System Windows_NT 10.0.14393
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\"
gyp ERR! cwd F:\\CIV_CI\\builds\\bdc524e4\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
success Saved lockfile.
Done in 125.03s.
section_end:1736149498:step_script
section_start:1736149498:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1736149499:cleanup_file_variables
Job succeeded