Closed 0x0129 closed 1 year ago
可以直接使用发布版吗? https://github.com/xfgryujk/blivechat/releases
npm 一般安装应该不会有问题吧,是不是国区网络的锅。我今天刚用 pnpm 装过,没问题。可以尝试用 pnpm: https://github.com/cdfmlr/blivechat/commit/135fdb10b68849b974f52d89bb98a825facc65b6
可以直接使用发布版吗? https://github.com/xfgryujk/blivechat/releases
可以用,没有修改。直接用原作者的 docker 应该都行,但我没试过。
看你的日志好像没 error 啊,似乎是成功了?warn会有的,他有些依赖包比较老就是这样,不影响哈。
Message ID: @.***>
但是我运行npm run build就会报错
PS D:\AI Vtuber\blivechat\frontend> npm run build
blivechat@1.6.2-beta build vue-cli-service build
| Building for production...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:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:503:5
at D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:358:12
at D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array.isModuleDeclaration
has been deprecated, please migrate to isImportOrExportDeclaration
at isModuleDeclaration (D:\AI Vtuber\blivechat\frontend\node_modules\@babel\types\lib\validators\generated\index.js:3940:35)
at NodePath.
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:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:471:10) at D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:503:5 at D:\AI Vtuber\blivechat\frontend\node_modules\webpack\lib\NormalModule.js:358:12 at D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:221:10) at D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:236:3 at context.callback (D:\AI Vtuber\blivechat\frontend\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at D:\AI Vtuber\blivechat\frontend\node_modules\cache-loader\dist\index.js:147:7 at D:\AI Vtuber\blivechat\frontend\node_modules\graceful-fs\graceful-fs.js:61:14 at FSReqCallback.oncomplete (node:fs:197:23) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
Node.js v18.14.1 PS D:\AI Vtuber\blivechat\frontend>
日志: ` D:\AI Vtuber\blivechat\frontend>npm install 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.14.1', npm: '9.3.1' } npm WARN EBADENGINE } npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address' npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi' npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
added 1387 packages in 1m
D:\AI Vtuber\blivechat\frontend> `