npm err!运行NPX CAP SYNC时无法确定可执行的可执行文件
当我运行NPX CAP SYNC
时,我会得到:
npm ERR! could not determine executable to run
有关此错误的几个问题,但没有一个与电容器有关。安装3个电容器插件后,我今天开始遇到错误。
在我在网上研究的解决方案中,似乎没有任何作用。我已经完成了npm install
,我已将NPM和节点更新为最新版本,一些工作解决方案甚至建议降级节点,我认为这不是理想的。我一直在研究这个。
When I run npx cap sync
, I get:
npm ERR! could not determine executable to run
Several questions have been asked about this error, but none is related to capacitor. I started getting the error today after installing 3 capacitor plugins.
Among the solutions I've researched online, none seems to work. I've done npm install
, I've updated npm and node to their latest versions, some working solutions even suggest downgrading node, which I don't think is ideal. I've been stuck researching this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该解决方案仅为升级电容器到其最新版本
The solution was simply to upgrade capacitor to its latest version