我正在尝试安装ionic-platform-web-client,但不断收到此错误..
Users-iMac:Beluga ryan$ ionic add ionic-platform-web-client
Failed to find the bower component "ionic-platform-web-client".
Are you sure it exists? (CLI v1.7.10)
Your system information:
Cordova CLI: 5.4.0
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.2
ios-sim version: 5.0.3
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.1.1 Build version 7B1005
答案 0 :(得分:3)
这对我有用:$('.switch_checkbox').bootstrapSwitch()
$(document).on 'ready', ->
$.uniform.restore('.switch_checkbox')
github上已解决的问题是here。
答案 1 :(得分:0)
尝试使用此命令行安装bower
npm install -g bower
答案 2 :(得分:0)
尝试安装git for windows,确保在安装过程中启用将git写入PATH: https://git-scm.com/download/win