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

npm install 报错 #2893

Open
BOSSLMH opened this issue Dec 31, 2019 · 9 comments
Open

npm install 报错 #2893

BOSSLMH opened this issue Dec 31, 2019 · 9 comments

Comments

@BOSSLMH
Copy link

BOSSLMH commented Dec 31, 2019

npm WARN deprecated [email protected]: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' ins
tead.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number o
f issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli
instead
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazk
a/cli-args instead
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Vis
it https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DELL\AppData\Roaming\npm-cache_logs\2019-12-31T00_52_25_540Z-debug.log

@BOSSLMH
Copy link
Author

BOSSLMH commented Dec 31, 2019

虽然不知道什么原因,但先npm install 在 cnpm install就可以解决了

@ZRoger95
Copy link

ZRoger95 commented Jan 3, 2020

虽然不知道什么原因,但先npm install 在 cnpm install就可以解决了

遇到了差不多的问题,win10系统,没有安装Python2.X,但是没有遇到所说的node-sass下载失败问题

npm ERR! code 1
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! fatal: E:/Git/mingw64/libexec/git-core\git-submodule cannot be used without a working tree.

一开始是这样尝试的:

npm install  # 失败

npm install --registry=https://registry.npm.taobao.org # 第二次尝试失败

最后无奈试试看cnpm

cnpm install # 这次居然可以了

后续可以试试yarn

@lanfeiyung
Copy link

遇到了差不多的问题,win10系统
image
npm install # 失败

npm install --registry=https://registry.npm.taobao.org # 第二次尝试失败

最后无奈试试看cnpm:

cnpm install # 这次居然可以了

@TedBaker1117
Copy link

TedBaker1117 commented Feb 9, 2020

qqq
与楼上一样,npm install与npm install --registry=https://registry.npm.taobao.org均尝试失败
最后根据楼上建议 cnpm install成功安装,但是原因未知

@BENZEMA216
Copy link

使用cnpm以及yarn之后仍然安装失败,更换淘宝源也不行…

deprecate [email protected] › nomnom@^1.5.x Package no longer supported. Contact [email protected] for more info.
deprecate @vue/[email protected][email protected][email protected][email protected] › kleur@^2.0.1 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).
deprecate @vue/[email protected][email protected][email protected] › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected][email protected][email protected][email protected] › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor.
deprecate [email protected] Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › left-pad@^1.3.0 use String.prototype.padStart()
deprecate @babel/[email protected] › core-js@^2.5.7 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.
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › fsevents@^1.2.3 fsevents 1 will break on node v14+. Upgrade to fsevents 2 with massive improvements.
deprecate runjs@^4.3.2 This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
deprecate [email protected][email protected] This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead
deprecate [email protected][email protected][email protected] This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead

@hst-Sunday
Copy link

遇到同样的问题

@itrice
Copy link

itrice commented Jul 14, 2020

zaach/jsonlint#103

@Huberyfight
Copy link

那这个问题咋解决呢?作者建议不要用cnpm install,而且我git应该是好使的

@us12548
Copy link

us12548 commented Aug 3, 2021

那这个问题咋解决呢?作者建议不要用cnpm install,而且我git应该是好使的

sb作者

EdwinBetanc0urt pushed a commit to EdwinBetanc0urt/adempiere-vue that referenced this issue Nov 5, 2024
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

9 participants