|
发表于 2023-6-13 16:31:31
|
显示全部楼层
补充
我重新看了一下编译log
相关的地方如下:
Node.js v18.16.0
exec npm install && npm run o2-build { cwd: 'D:\\o2oa-master\\o2web\\source\\x_component_systemconfig' }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@achrinza/node-ipc@9.2.2',
npm WARN EBADENGINE required: { node: '8 || 10 || 12 || 14 || 16 || 17' },
npm WARN EBADENGINE current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
up to date, audited 1168 packages in 2s
110 packages are looking for funding
run `npm fund` for details
27 vulnerabilities (1 low, 3 moderate, 18 high, 5 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> x_component_systemconfig@0.1.0 o2-build
> vue-cli-service build --dest ../../../target/o2server/servers/webServer/x_component_systemconfig
- Building for production...
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\webpack\lib\NormalModule.js:503:5
at D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\webpack\lib\NormalModule.js:358:12
at D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\o2oa-master\o2web\source\x_component_systemconfig\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
具体情况还不清楚,
推测应该是nodejs版本有冲突
望技术人员关注一下 |
|