Running with gitlab-runner 14.5.2 (e91107dd)
on civ_base b953312c
section_start:1692873216:prepare_executor
Preparing the "shell" executor
Using Shell executor...
section_end:1692873216:prepare_executor
section_start:1692873216:prepare_script
Preparing environment
Running on CIV128...
section_end:1692873216:prepare_script
section_start:1692873216:get_sources
Getting source from Git repository
Fetching changes...
Reinitialized existing Git repository in G:/CI_RUNNER/builds/b953312c/0/ReactWeb5/CivWeb/.git/
Skipping Git checkout
Skipping Git submodules setup
section_end:1692873218:get_sources
section_start:1692873218: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 1d2d744 登录页
$ git pull origin master
From https://g.civnet.cn:8443/ReactWeb5/CivWeb
* branch master -> FETCH_HEAD
Updating 1d2d744..fcad09e
Fast-forward
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
$ npm run init
> civbase@0.0.16 init G:\CI_RUNNER\builds\b953312c\0\ReactWeb5\CivWeb
> 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.27s.
npm WARN config auth-type The SSO/SAML/OAuth methods are deprecated and will be removed in
npm WARN config a future version of npm in favor of web-based login.
npm WARN config cache-max This option has been deprecated in favor of `--prefer-online`
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm WARN config optional Use `--omit=optional` to exclude optional dependencies, or
npm WARN config `--include=optional` to include them.
npm WARN config
npm WARN config Default value does install optional deps unless otherwise omitted.
npm WARN config shrinkwrap Use the --package-lock setting instead.
npm WARN config sso-poll-frequency The --auth-type method of SSO/SAML/OAuth will be removed in a future
npm WARN config version of npm in favor of web-based login.
npm WARN config sso-type The --auth-type method of SSO/SAML/OAuth will be removed in a future
npm WARN config version of npm in favor of web-based login.
npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config [`cacache`](http://npm.im/cacache).
npx: installed 1 in 3.229s
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 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-list > @ant-design/pro-table@2.77.1" has unmet peer dependency "rc-field-form@^1.22.0".
warning " > @ant-design/pro-table@2.76.4" has unmet peer dependency "rc-field-form@^1.22.0".
warning "@ant-design/pro-table > @ant-design/pro-form@1.69.4" 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 "@umijs/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@1.4.0-184" 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-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".
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
warning Error running install script for optional dependency: "G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json
Output:
G:\\CI_RUNNER\\builds\\b953312c\\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:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if \"python\" can be used
gyp ERR! find Python - \"python\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python2\" can be used
gyp ERR! find Python - \"python2\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python3\" can be used
gyp ERR! find Python - \"python3\" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - \"py.exe\" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\\Python27\\python.exe
gyp ERR! find Python - \"C:\\Python27\\python.exe\" could not be run
gyp ERR! find Python checking if Python is C:\\Python37\\python.exe
gyp ERR! find Python - \"C:\\Python37\\python.exe\" could not be run
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python=\"C:\\Path\\To\\python.exe\"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python \"C:\\Path\\To\\python.exe\"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:136:21)
gyp ERR! stack at PythonFinder.<anonymous> (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:225:16)
gyp ERR! stack at PythonFinder.execFileCallback (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:271:16)
gyp ERR! stack at exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
gyp ERR! stack at onErrorNT (node:internal/child_process:478:16)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"
gyp ERR! cwd G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-json
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml
Output:
G:\\CI_RUNNER\\builds\\b953312c\\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:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if \"python\" can be used
gyp ERR! find Python - \"python\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python2\" can be used
gyp ERR! find Python - \"python2\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python3\" can be used
gyp ERR! find Python - \"python3\" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - \"py.exe\" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\\Python27\\python.exe
gyp ERR! find Python - \"C:\\Python27\\python.exe\" could not be run
gyp ERR! find Python checking if Python is C:\\Python37\\python.exe
gyp ERR! find Python - \"C:\\Python37\\python.exe\" could not be run
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python=\"C:\\Path\\To\\python.exe\"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python \"C:\\Path\\To\\python.exe\"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:136:21)
gyp ERR! stack at PythonFinder.<anonymous> (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:225:16)
gyp ERR! stack at PythonFinder.execFileCallback (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:271:16)
gyp ERR! stack at exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
gyp ERR! stack at onErrorNT (node:internal/child_process:478:16)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"
gyp ERR! cwd G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter-yaml
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter
Output:
prebuild-install warn install read ECONNRESET
G:\\CI_RUNNER\\builds\\b953312c\\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:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if \"python\" can be used
gyp ERR! find Python - \"python\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python2\" can be used
gyp ERR! find Python - \"python2\" is not in PATH or produced an error
gyp ERR! find Python checking if \"python3\" can be used
gyp ERR! find Python - \"python3\" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - \"py.exe\" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\\Python27\\python.exe
gyp ERR! find Python - \"C:\\Python27\\python.exe\" could not be run
gyp ERR! find Python checking if Python is C:\\Python37\\python.exe
gyp ERR! find Python - \"C:\\Python37\\python.exe\" could not be run
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python=\"C:\\Path\\To\\python.exe\"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python \"C:\\Path\\To\\python.exe\"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:136:21)
gyp ERR! stack at PythonFinder.<anonymous> (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:225:16)
gyp ERR! stack at PythonFinder.execFileCallback (C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\find-python.js:271:16)
gyp ERR! stack at exithandler (node:child_process:406:5)
gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
gyp ERR! stack at onErrorNT (node:internal/child_process:478:16)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"
gyp ERR! cwd G:\\CI_RUNNER\\builds\\b953312c\\0\\ReactWeb5\\CivWeb\\node_modules\\tree-sitter
gyp ERR! node -v v16.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
success Saved lockfile.
Done in 67.96s.
section_end:1692873290:step_script
section_start:1692873290:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692873291:cleanup_file_variables
Job succeeded