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 install报错,求大神指导下 #2358

Open
aihu2020 opened this issue Jan 11, 2025 · 1 comment
Open

yarn install报错,求大神指导下 #2358

aihu2020 opened this issue Jan 11, 2025 · 1 comment

Comments

@aihu2020
Copy link

报错信息:
aihu@aihudeMBP YesPlayMusic-master % yarn install
yarn install v1.22.22
warning ../../../package.json: No license field
info No lockfile found.
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
warning icon-gen > del > [email protected]: Rimraf versions prior to v4 are no longer supported
warning icon-gen > del > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning icon-gen > del > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning electron-builder > app-builder-lib > [email protected]: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
warning electron-builder > app-builder-lib > @electron/universal > [email protected]: Please use @electron/asar moving forward. There is no API change, just a package name change
warning electron-builder > app-builder-lib > @electron/universal > asar > [email protected]: Glob versions prior to v9 are no longer supported
warning Resolution field "[email protected]" is incompatible with requested version "degenerator@^5.0.0"
error Error: connect ECONNREFUSED 0.0.0.0:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

@fangkangmi
Copy link

  1. 试试sudo
  2. connect ECONNREFUSED 0.0.0.0:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
    这里显示你的yarn没法connect到package registry, 国内的话可能要换一个源或者你直接挂一个梯子再试试

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