Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin add issue #125

Closed
prosenjit-manna opened this issue Jul 15, 2015 · 5 comments
Closed

Plugin add issue #125

prosenjit-manna opened this issue Jul 15, 2015 · 5 comments

Comments

@prosenjit-manna
Copy link

Plugin not added
error log
cordova plugin add https://github.com/danwilson/google-analytics-plugin.git Fetching plugin "https://github.com/danwilson/google-analytics-plugin.git" via git clone Repository "https://github.com/danwilson/google-analytics-plugin.git" checked out to git ref "master". shell.js: internal error Error: EXDEV, cross-device link not permitted '/var/folders/l1/wpyp22b95f3dz4p7szrb9mz80000gn/T/git/1436939939096/LICENSE' at Error (native) at Object.fs.renameSync (fs.js:636:18) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:77:8 at Array.forEach (native) at Object._mv (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:53:11) at Object.mv (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/plugins.js:53:19 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)

what is the problem?

@MS-elug
Copy link

MS-elug commented Jul 16, 2015

It's an issue with the latest version of cordova build.

You can manually retrofit the changes in your npm cache:
apache/cordova-lib@6600712

@canadaka
Copy link

I have been using this plugin for months and mine won't install now as well.

Failed to install 'cordova-plugin-google-analytics':TypeError: Uh oh!
Arguments to path.resolve must be strings
    at Object.win32.resolve (path.js:146:13)

Running:
ionic@1.0.1
cordova@4.3.1
android@3.7.2

If I remove my android platofmr and plugins, then only install plugins, then try adding the platform after I get this:

Failed to install 'cordova-plugin-google-analytics':Error: Uh oh!
ENOENT, no such file or directory '\platforms\android\local.properties'

@jroji
Copy link

jroji commented Jul 20, 2015

Hi all,

i have the same issue than @canadaka since the latest commits. I saw that you update from google-play-services dependency to framework on the plugin xml, and now is not working after using it for months. Could we use the working version before the commits, or should we modify something on the cordova construction?

Running:
cordova@3.6.3-0.2.13

@prosenjit-manna
Copy link
Author

This was an issue with Cordova CLi vs 5.1.1. When I rolled back issues solved.

@canadaka
Copy link

I think my issue might have been that the new framework tag only works with Android platform 4 which requires Cordova 5. I can't update to Cordova 5 yet, so I instead just made a fork of this project reverting to the old dependancy tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants