登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025 年度开源项目评选中
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
4
Star
82
Fork
45
编程小龙
/
electron-vue3-template
代码
Issues
6
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
代码无法运行问题
待办的
#I8U4RZ
EzraYih
创建于
2024-01-06 19:40
执行操作如下: 1. Git clone https://gitee.com/longzipeng/electron-vue3-template.git 2. 进入项目目录,执行 npm i,直接结果如下提示: ``` PS C:\Users\xqyi\electron-vue3-template> npm i npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated asar@3.2.0: Please use @electron/asar moving forward. There is no API change, just a package name change npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated electron-osx-sign@0.6.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\\Users\\xqyi\\electron-vue3-template\\node_modules', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\xqyi\electron-vue3-template\node_modules\svgo\plugins'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\\Users\\xqyi\\electron-vue3-template\\node_modules\\svgo\\plugins' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\Users\xqyi\electron-vue3-template\node_modules\phantomjs-prebuilt npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js npm ERR! Considering PhantomJS found at C:\Program Files\nodejs\phantomjs.CMD npm ERR! Found PhantomJS at C:\Program Files\nodejs\phantomjs.CMD ...verifying npm ERR! Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip npm ERR! Saving to C:\Users\xqyi\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip npm ERR! Receiving... npm ERR! Error verifying phantomjs, continuing Error: Command failed: C:\Program Files\nodejs\phantomjs.CMD --version npm ERR! node:internal/modules/cjs/loader:1147 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'C:\Program Files\nodejs\node_modules\phantomjs\bin\phantomjs' npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) npm ERR! at Module._load (node:internal/modules/cjs/loader:985:27) npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) npm ERR! at node:internal/main/run_main_module:28:49 { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [] npm ERR! } npm ERR! npm ERR! Node.js v20.10.0 npm ERR! npm ERR! at ChildProcess.exithandler (node:child_process:422:12) npm ERR! at ChildProcess.emit (node:events:514:28) npm ERR! at maybeClose (node:internal/child_process:1105:16) npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:305:5) { npm ERR! code: 1, npm ERR! killed: false, npm ERR! signal: null, npm ERR! cmd: 'C:\\Program Files\\nodejs\\phantomjs.CMD --version' npm ERR! } npm ERR! Error making request. npm ERR! Error: read ECONNRESET npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) npm ERR! npm ERR! Please report this full log at https://github.com/Medium/phantomjs npm ERR! A complete log of this run can be found in: C:\Users\xqyi\AppData\Local\npm-cache\_logs\2024-01-06T11_29_08_404Z-debug-0.log ``` 本地 Node.js 版本 20.10.0 ,根据提示,将 phantomjs 2.1.1 手动安装在 C:\Program Files\nodejs\node_modules\phantomjs 中,再次 npm i,错误提示依旧不变,是哪个环节有问题呢?
执行操作如下: 1. Git clone https://gitee.com/longzipeng/electron-vue3-template.git 2. 进入项目目录,执行 npm i,直接结果如下提示: ``` PS C:\Users\xqyi\electron-vue3-template> npm i npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated asar@3.2.0: Please use @electron/asar moving forward. There is no API change, just a package name change npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated electron-osx-sign@0.6.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\\Users\\xqyi\\electron-vue3-template\\node_modules', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\xqyi\electron-vue3-template\node_modules\svgo\plugins'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\\Users\\xqyi\\electron-vue3-template\\node_modules\\svgo\\plugins' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\Users\xqyi\electron-vue3-template\node_modules\phantomjs-prebuilt npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js npm ERR! Considering PhantomJS found at C:\Program Files\nodejs\phantomjs.CMD npm ERR! Found PhantomJS at C:\Program Files\nodejs\phantomjs.CMD ...verifying npm ERR! Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip npm ERR! Saving to C:\Users\xqyi\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip npm ERR! Receiving... npm ERR! Error verifying phantomjs, continuing Error: Command failed: C:\Program Files\nodejs\phantomjs.CMD --version npm ERR! node:internal/modules/cjs/loader:1147 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'C:\Program Files\nodejs\node_modules\phantomjs\bin\phantomjs' npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) npm ERR! at Module._load (node:internal/modules/cjs/loader:985:27) npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) npm ERR! at node:internal/main/run_main_module:28:49 { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [] npm ERR! } npm ERR! npm ERR! Node.js v20.10.0 npm ERR! npm ERR! at ChildProcess.exithandler (node:child_process:422:12) npm ERR! at ChildProcess.emit (node:events:514:28) npm ERR! at maybeClose (node:internal/child_process:1105:16) npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:305:5) { npm ERR! code: 1, npm ERR! killed: false, npm ERR! signal: null, npm ERR! cmd: 'C:\\Program Files\\nodejs\\phantomjs.CMD --version' npm ERR! } npm ERR! Error making request. npm ERR! Error: read ECONNRESET npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) npm ERR! npm ERR! Please report this full log at https://github.com/Medium/phantomjs npm ERR! A complete log of this run can be found in: C:\Users\xqyi\AppData\Local\npm-cache\_logs\2024-01-06T11_29_08_404Z-debug-0.log ``` 本地 Node.js 版本 20.10.0 ,根据提示,将 phantomjs 2.1.1 手动安装在 C:\Program Files\nodejs\node_modules\phantomjs 中,再次 npm i,错误提示依旧不变,是哪个环节有问题呢?
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
windowUtils
old_master
konvajs
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
1
https://gitee.com/longzipeng/electron-vue3-template.git
git@gitee.com:longzipeng/electron-vue3-template.git
longzipeng
electron-vue3-template
electron-vue3-template
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册