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

Ionic 2 failed to install #2

Open
brianducca opened this issue Aug 8, 2017 · 1 comment
Open

Ionic 2 failed to install #2

brianducca opened this issue Aug 8, 2017 · 1 comment

Comments

@brianducca
Copy link

Hello, i'm trying to add this to my ionic 2 project. I'm doing this:
cordova plugin add https://github.com/tomloprod/cordova-plugin-fakelocation.git
And the output is:

Error: Failed to fetch plugin https://github.com/tomloprod/cordova-plugin-fakelocation.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 4294963228 Error output:
npm ERR! addLocal Could not install C:\Users\bducca\AppData\Local\Temp\npm-16728-5f73e264\git-cache-22fa05ef\0152d05c10e12aa988948e0bcee1ba3b87f61684
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "https://github.com/tomloprod/cordova-plugin-fakelocation.git" "--save"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\bducca\Documents\Mobile\node_modules\npm-debug.log

NPM-debug:

44 error node v6.11.0
45 error npm  v3.10.10
46 error code EISDIR
47 error errno -4068
48 error syscall read
49 error eisdir EISDIR: illegal operation on a directory, read
50 error eisdir This is most likely not a problem with npm itself
50 error eisdir and is related to npm not being able to find a package.json in
50 error eisdir a package you are trying to install.
51 verbose exit [ -4068, true ]

@Syirrus
Copy link

Syirrus commented Jan 29, 2019

Yeah, I have the same problem

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

2 participants