在严格执行 npx cap add android 后如何修复此错误?

问题描述 投票:0回答:1

运行“npm install @capacitor/android”后,我执行了“npx cap add android”,但它给了我以下错误:

npm ERR! could not determine executable to run

Node 版本:v20.10.0 和我的 npm 版本:10.2.3

node.js npm ionic-framework
1个回答
0
投票

通常,当未安装依赖项(在本例中为电容器)时会发生该错误。你跑了吗

npm install

© www.soinside.com 2019 - 2024. All rights reserved.