PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
87.91k stars 30.46k forks source link

首次下载下来,运行npm install的时候就报错 #3235

Open angerze8901 opened 4 years ago

angerze8901 commented 4 years ago

"D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" install --scripts-prepend-node-path=auto 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 runjs@4.4.2: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead. npm WARN deprecated core-js@2.6.11: 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 WARN deprecated microcli@1.3.3: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. 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 microargs@1.1.2: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/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. Visit 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 128 npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE clone --depth=1 -q -b fix/ie-cannot-input-korean git://github.com/sohee-lee7/Squire.git C:\Users\FC-zeshao\AppData\Roaming\npm-cache_cacache\tmp\git-clone-afecc747 --config core.longpaths=true npm ERR! warning: templates not found in C:\Users\FC-ZES~1\AppData\Local\Temp\pacote-git-template-tmp\git-clone-776b2fc5 npm ERR! fatal: read error: Invalid argument npm ERR!

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\FC-zeshao\AppData\Roaming\npm-cache_logs\2020-06-05T03_05_06_752Z-debug.log

Process finished with exit code 1

mayunhai commented 4 years ago

npm install core-js@2.6.11 -D

mayunhai commented 4 years ago

core-js 3.xx 版本有兼容问题

coderjs54 commented 4 years ago

兄弟,问题解决了吗?我也遇到同样的问题了

linhandadada commented 4 years ago

同样的问题 cnpm install后npm install再cnpm install解决了