Open BOSSLMH opened 4 years ago
虽然不知道什么原因,但先npm install 在 cnpm install就可以解决了
虽然不知道什么原因,但先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
遇到了差不多的问题,win10系统 npm install # 失败
npm install --registry=https://registry.npm.taobao.org # 第二次尝试失败
最后无奈试试看cnpm:
cnpm install # 这次居然可以了
与楼上一样,npm install与npm install --registry=https://registry.npm.taobao.org均尝试失败 最后根据楼上建议 cnpm install成功安装,但是原因未知
使用cnpm以及yarn之后仍然安装失败,更换淘宝源也不行…
deprecate jsonlint@1.6.3 › nomnom@^1.5.x Package no longer supported. Contact support@npmjs.com for more info. deprecate @vue/cli-plugin-unit-jest@3.5.3 › jest@23.6.0 › jest-cli@23.6.0 › prompts@0.1.14 › 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/cli-plugin-babel@3.5.3 › webpack@4.28.4 › watchpack@1.6.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. deprecate @vue/cli-plugin-eslint@3.12.1 › eslint@4.19.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor. deprecate chokidar@2.1.5 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. deprecate @vue/cli-plugin-unit-jest@3.5.3 › jest@23.6.0 › jest-cli@23.6.0 › jest-environment-jsdom@23.4.0 › jsdom@11.12.0 › left-pad@^1.3.0 use String.prototype.padStart() deprecate @babel/register@7.0.0 › 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/cli-plugin-unit-jest@3.5.3 › jest@23.6.0 › jest-cli@23.6.0 › jest-haste-map@23.6.0 › sane@2.5.2 › 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 runjs@4.4.2 › microcli@1.3.3 This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead deprecate runjs@4.4.2 › microcli@1.3.3 › microargs@1.1.2 This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead
遇到同样的问题
那这个问题咋解决呢?作者建议不要用cnpm install,而且我git应该是好使的
那这个问题咋解决呢?作者建议不要用cnpm install,而且我git应该是好使的
sb作者
npm WARN deprecated runjs@4.4.2: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' ins tead. npm WARN deprecated core-js@2.6.11: 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 microcli@1.3.3: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. npm WARN deprecated microargs@1.1.2: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazk a/cli-args instead npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated kleur@2.0.2: 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 left-pad@1.3.0: 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://git@github.com/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