Ionic Capacitor 404 eror - inappbrowser不在npm注册表中。

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

在运行inappbrowser插件时,我得到了一个404的错误信息。

npm install @ionic-enterprise/inappbrowser

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@ionic-enterprise%2finappbrowser - Not found
npm ERR! 404
npm ERR! 404  '@ionic-enterprise/inappbrowser@latest' is not in the npm registry.

我也运行了npm配置设置注册表。https:/registry.npmjs.org。 但仍然得到同样的错误

cordova ionic-framework ionic4 capacitor
1个回答
0
投票

@ionic-enterprise/inappbrowser 是一个私人插件,你只能安装它,如果你是一个付费客户或在试用期。如果你是这些情况之一,请联系支持人员,他们可以帮助你配置你的机器从私有注册表安装包。


0
投票

如果你使用cordova,这将做到这一点。ionic cordova plugin add cordova-plugin-inappbrowser --save

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