Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目在yarn 安装后,报错/node_modules/deasync: Command failed. #4287

Open
happyworld2000 opened this issue Dec 21, 2024 · 1 comment

Comments

@happyworld2000
Copy link

warning " > [email protected]" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0".
[4/4] 🔨 Building fresh packages...
[-/9] ⠈ waiting...
[7/9] ⠈ deasync
[-/9] ⠈ waiting...
[-/9] ⠈ waiting...
error /Users/lyriceed/Desktop/vue_project/vue-element-admin-master/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: /Users/lyriceed/Desktop/vue_project/vue-element-admin-master/node_modules/deasync
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
gyp http GET https://npm.taobao.org/dist/v16.20.2/node-v16.20.2-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack FetchError: request to https://npm.taobao.org/dist/v16.20.2/node-v16.20.2-headers.tar.gz failed, reason: Hostname/IP does not match certificate's altnames: Host: npm.taobao.org. is not in the cert's altnames: DNS:.tbcdn.cn, DNS:.taobao.com, 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:.django.t.taobao.com, DNS:alicdn.com, DNS:.tbcache.com, DNS:.tmall.com, DNS:.1688.com, DNS:.3c.tmall.com, DNS:.alibaba.com, DNS:.aliexpress.com, DNS:.aliqin.tmall.com, DNS:.alitrip.com, DNS:.aliyun.com, DNS:.cainiao.com, DNS:.cainiao.com.cn, DNS:.chi.taobao.com, DNS:.chi.tmall.com, DNS:.china.taobao.com, DNS:.dingtalk.com, DNS:.etao.com, DNS:.feizhu.cn, DNS:.feizhu.com, DNS:.fliggy.com, DNS:.fliggy.hk, DNS:.food.tmall.com, DNS:.jia.taobao.com, DNS:.jia.tmall.com, DNS:.ju.taobao.com, DNS:.juhuasuan.com, DNS:.lw.aliimg.com, DNS:.m.1688.com, DNS:.m.alibaba.com, DNS:.m.alitrip.com, DNS:.m.cainiao.com, DNS:.m.etao.com, DNS:.m.taobao.com, DNS:.m.taopiaopiao.com, DNS:.m.tmall.com, DNS:.m.tmall.hk, DNS:.mei.com, DNS:.taopiaopiao.com, DNS:.tmall.hk, DNS:.trip.taobao.com, DNS:.xiami.com, DNS:1688.com, DNS:alibaba.com, DNS:aliexpress.com, DNS:alitrip.com, DNS:aliyun.com, DNS:cainiao.com, DNS:cainiao.com.cn, DNS:dingtalk.com, DNS:etao.com, DNS:feizhu.cn, DNS:feizhu.com, DNS:fliggy.com, DNS:fliggy.hk, DNS:juhuasuan.com, DNS:mei.com, DNS:taobao.com, DNS:taopiaopiao.com, DNS:tmall.hk, DNS:xiami.com, DNS:tmall.com, DNS:.cloudvideocdn.taobao.com, DNS:cloudvideocdn.taobao.com, DNS:tbcdn.cn
gyp ERR! stack at ClientRequest. (/Users/lyriceed/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
gyp ERR! stack at ClientRequest.emit (node:events:513:28)
gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:494:9)
gyp ERR! stack at TLSSocket.emit (node:events:525:35)
gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:157:8)
gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:122:3)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Darwin 23.6.0
gyp ERR! command "/Users/lyriceed/.nvm/versions/node/v16.20.2/bin/node" "/Users/lyriceed/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/lyriceed/Desktop/vue_project/vue-element-admin-master/node_modules/deasync

@Chinvoxel
Copy link

请问解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants