问题记录--studio run 报错:INSTALL_FAILED_INTERNAL_ERROR

本文解决了一个常见问题:在使用Android Studio进行应用安装时遇到的失败情况。解决方案为关闭Instant-Run功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

\ [21/25] Installing simple-get@^3.0.3 [npminstall:runscript:error] vue-qr@3.2.4 › canvas@2.9 run install node-pre-gyp install --fallback-to-build --update-binary error: Error: Command failed with exit code 7: node-pre-gyp install --fallback-to-build --update-binary at makeError (E:\idea\node\node_global\node_modules\cnpm\node_modules\execa\lib\error.js:60:11) at handlePromise (E:\idea\node\node_global\node_modules\cnpm\node_modules\execa\index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async exports.runScript (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\utils.js:261:12) at async runLifecycleScripts (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\lifecycle_scripts.js:66:7) at async _install (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:321:5) at async install (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:23:12) at async mapper (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:270:9) { shortMessage: 'Command failed with exit code 7: node-pre-gyp install --fallback-to-build --update-binary', command: 'node-pre-gyp install --fallback-to-build --update-binary', escapedCommand: 'node-pre-gyp install --fallback-to-build --update-binary', exitCode: 7, signal: undefined, signalDescription: undefined, stdout: undefined, stderr: undefined, failed: true, timedOut: false, isCanceled: false, killed: false × Install fail! Error: run install error, please remove node_modules before retry! Command failed with exit code 7: node-pre-gyp install --fallback-to-build --update-binary Error: Command failed with exit code 7: node-pre-gyp install --fallback-to-build --update-binary at makeError (E:\idea\node\node_global\node_modules\cnpm\node_modules\execa\lib\error.js:60:11) at handlePromise (E:\idea\node\node_global\node_modules\cnpm\node_modules\execa\index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async exports.runScript (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\utils.js:261:12) at async runLifecycleScripts (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\lifecycle_scripts.js:66:7) at async _install (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:321:5) at async install (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:23:12) at async mapper (E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\lib\install_package.js:270:9) npminstall version: 7.12.0 npminstall argv: E:\idea\node\node.exe E:\idea\node\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\刘雨晨\.cnpmrc --disturl=https://cdn.npmmirror.com/binaries/node --registry=https://registry.npmmirror.com
最新发布
04-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值