vue初始化项目出现unable to access ‘httpsgithub.comnhnraphael.git’解决有效 2021-12-30

  • Post author:
  • Post category:vue


vue初始化项目出现


npm

ERR! fatal: unable to access ‘https://github.com/nhn/raphael.git/’: OpenSSL SSL_read:错误

unable to access ‘https://github.com/nhn/raphael.git/’

查看版本

node -v
v14.15.0
npm -v 
6.14.8
yarn -v
1.22.17

解决方法:2021-12-30 解决了。这个错的原因是 tui-editor引起的,

1、先删除package.json的 tui-editor配置项

运行npm i 或者 yarn install会正常编译。

2、在手动安装 tui-editor

 npm install --save tui-editor

会如下提示,即安装到了最新的tui-editor了

npm WARN vue-element-admin@4.3.1 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_moduleswebpack-dev-server
ode_modulessevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_moduleswatchpack-chokidar2
ode_modulessevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modulesjest-haste-map
ode_modulessevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_moduleschokidar
ode_modulessevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modulessevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ tui-editor@1.4.10
added 463 packages from 1203 contributors, removed 197 packages and updated 1748 packages in 350.108s

105 packages are looking for funding
  run `npm fund` for details



版权声明:本文为m0_67401545原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。