Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 安装中的离子推送插件错误_Ionic Framework_Ionic - Fatal编程技术网

Ionic framework 安装中的离子推送插件错误

Ionic framework 安装中的离子推送插件错误,ionic-framework,ionic,Ionic Framework,Ionic,当我尝试使用 爱奥尼亚插件添加 我在命令promp中遇到以下错误 Updated the hooks directory to have execute permissions Fetching plugin "https://github.com/phonegap-build/PushPlugin.git" via git clone Repository "https://github.com/phonegap-build/PushPlugin.git" checked out to git

当我尝试使用 爱奥尼亚插件添加 我在命令promp中遇到以下错误

Updated the hooks directory to have execute permissions Fetching plugin "https://github.com/phonegap-build/PushPlugin.git" via git clone Repository "https://github.com/phonegap-build/PushPlugin.git" checked out to git  ref "master". shell.js: internal error Error: EXDEV, cross-device link not permitted 'C:\Users\A-25\AppData\Local\Temp\git\1438839071751\Example'
at Error (native)
at Object.fs.renameSync (fs.js:636:18)
at C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\mv.js:77:8 at Array.forEach (native)
at Object._mv (C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\mv.js:53:11)at Object.mv (C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23)
at C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\plugins.js:53:19
at _fulfilled (C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\A-25\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)

有人能告诉我问题出在哪里吗?

我刚把我的cordova版本降级到5.0.0,它就工作了

我刚把我的cordova版本降级到5.0.0,它就工作了

没有降级你的cordova版本你可以试试这个

爱奥尼亚插件添加cordova插件推送通知

在不降级cordova版本的情况下,您可以尝试此功能
爱奥尼亚插件添加cordova插件推送通知

我有一个:

从一开始,Cordova将其插件转移到npm

我对Mudasser提到的
ionic plugin add…
命令也有同样的问题。因此,我现在使用npm轻松安装了它:

npm install phonegap-plugin-push
我有一个:

从一开始,Cordova将其插件转移到npm

我对Mudasser提到的
ionic plugin add…
命令也有同样的问题。因此,我现在使用npm轻松安装了它:

npm install phonegap-plugin-push