我正在使用离子 CLI 版本3.0.0-beta.5
当我尝试安装本机插件时,我收到了这些错误。例如,安装social-sharing
插件
ionic plugin add cordova-plugin-x-socialsharing
错误是
[错误] 未知插件:@ionic/cli-plugin-。
添加平台时也出现同样的错误..
C:\Users\varun\Desktop\apps\app>ionic platform add android
The platform command is no longer available. To find out more about the equivalent please run:
ionic cordova:platform --help
C:\Users\varun\Desktop\apps\app>ionic cordova:platform --help
[ERROR] Unable to find command: cordova:platform. It is possible that you are trying to get help on a project based command and you are not in a project directory.
有没有人遇到过这个问题?我在官方博客上没有得到足够的信息。