开源的datax-web-ui> npm install 编译失败了,有人知道这个咋整吗?

发布于 2022-03-10 22:12:25 字数 779 浏览 722 评论 2


PS E:codedatax-web-ui> npm install --registry=https://registry.npm.taobao.org.
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.npm.taobao.org./@babel%2fcore failed, reason: Hostname/IP does not match certificate's altnames: Host: registry.npm.taobao.org. is not in the cert's altnames: DNS:*.alicdn.com, DNS:*.cmos.greencompute.org, DNS:cmos.greencompute.org, DNS:m.intl.taobao.com, DNS:*.mobgslb.tbcache.com, DNS:alikunlun.com, DNS:*.alikunlun.com, DNS:s.tbcdn.cn, DNS:*.django.t.taobao.com, DNS:alicdn.com

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersAdministratorAppDataLocalnpm-cache_logs2021-01-31T03_42_37_286Z-debug.log

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

彩扇题诗 2022-03-11 07:18:42

这个也是错误的日志  E:codedatax-web-ui> npm install --registry=https://registry.npm.taobao.org   --legacy-peer-deps
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 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 chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated microargs@1.1.2: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead
npm WARN deprecated microcli@1.3.3: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead
npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0> for migration path(s).
npm WARN deprecated runjs@4.4.2: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated chokidar@2.1.5: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade
your dependencies to the actual version of core-js@3.
npm ERR! code 1
npm ERR! path E:codedatax-web-uinode_modulesdeasync
npm ERR! command failed
npm ERR! command C:Windowssystem32cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@14.15.4 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (E:codedatax-web-uinode_modulesnode-gyplibconfigure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (E:codedatax-web-uinode_modulesnode-gyplibconfigure.js:509:16)
npm ERR! gyp ERR! stack     at callback (E:codedatax-web-uinode_modulesgraceful-fspolyfills.js:295:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:183:21)
npm ERR! gyp ERR! System Windows_NT 10.0.14393
npm ERR! gyp ERR! command "E:\Program Files\nodejs\node.exe" "E:\code\datax-web-ui\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd E:codedatax-web-uinode_modulesdeasync
npm ERR! gyp ERR! node -v v14.15.4
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersAdministratorAppDataLocalnpm-cache_logs2021-01-31T03_51_29_004Z-debug.log

旧伤慢歌 2022-03-11 07:00:21

verbose stack FetchError: request to https://registry.npm.taobao.org./@babel%2fcore failed, reason: Hostname/IP does not match certificate's altnames: Host: registry.npm.taobao.org. is not in the cert's altnames: DNS:*.alicdn.com, DNS:*.cmos.greencompute.org, DNS:cmos.greencompute.org, DNS:m.intl.taobao.com, DNS:*.mobgslb.tbcache.com, DNS:alikunlun.com, DNS:*.alikunlun.com, DNS:s.tbcdn.cn, DNS:*.django.t.taobao.com, DNS:alicdn.com
203 verbose stack     at ClientRequest.<anonymous> (C:UsersAdministratorAppDataRoamingnpmnode_modulesnpmnode_modulesminipass-fetchlibindex.js:97:14)
203 verbose stack     at ClientRequest.emit (events.js:315:20)
203 verbose stack     at TLSSocket.socketErrorListener (_http_client.js:469:9)
203 verbose stack     at TLSSocket.emit (events.js:327:22)
203 verbose stack     at emitErrorNT (internal/streams/destroy.js:106:8)
203 verbose stack     at emitErrorCloseNT (internal/streams/destroy.js:74:3)
203 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
204 verbose cwd E:codedatax-web-ui
205 verbose Windows_NT 10.0.14393
206 verbose argv "E:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--registry=https://registry.npm.taobao.org."
207 verbose node v14.15.4
208 verbose npm  v7.3.0
209 error code ERR_TLS_CERT_ALTNAME_INVALID
210 error errno ERR_TLS_CERT_ALTNAME_INVALID
211 error request to https://registry.npm.taobao.org./@babel%2fcore failed, reason: Hostname/IP does not match certificate's altnames: Host: registry.npm.taobao.org. is not in the cert's altnames: DNS:*.alicdn.com, DNS:*.cmos.greencompute.org, DNS:cmos.greencompute.org, DNS:m.intl.taobao.com, DNS:*.mobgslb.tbcache.com, DNS:alikunlun.com, DNS:*.alikunlun.com, DNS:s.tbcdn.cn, DNS:*.django.t.taobao.com, DNS:alicdn.com
212 verbose exit 1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文