cordova-httpd
cordova-httpd copied to clipboard
Error trying to install the Plugin
Hello trying to install the Plugin I get the following Error.. Any Idead ?
cordova plugin add https://github.com/floatinghotpot/cordova-httpd.git
Error: Failed to fetch plugin https://github.com/floatinghotpot/cordova-httpd.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 235 Error output:
npm ERR! addLocal Could not install /var/folders/p_/ffn44cb97ssfrcvsd77yfvdm0000gn/T/npm-38291-f5e7761b/git-cache-54b067fbaa3d1878e91f8c8619307de6/78b9818516842650a9bd59881cbb543db2848d29
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/floatinghotpot/cordova-httpd.git" "--save"
npm ERR! node v5.1.1
npm ERR! npm v3.3.12
npm ERR! code EISDIR
npm ERR! errno -21
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! /Users/volkergraf/DEV/NODE/Carfinder/CordovaVectorICL/node_modules/npm-debug.log
Volkers-MBP-9:CordovaVectorICL volkergraf$ cordova plugin add https://github.com/floatinghotpot/cordova-httpd.git
Error: Failed to fetch plugin https://github.com/floatinghotpot/cordova-httpd.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 235 Error output:
npm ERR! addLocal Could not install /var/folders/p_/ffn44cb97ssfrcvsd77yfvdm0000gn/T/npm-38303-1d8813f4/git-cache-fe474ec1ebeb758300f6b78ad25f59ca/78b9818516842650a9bd59881cbb543db2848d29
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/floatinghotpot/cordova-httpd.git" "--save"
npm ERR! node v5.1.1
npm ERR! npm v3.3.12
npm ERR! code EISDIR
npm ERR! errno -21
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! /Users/volkergraf/DEV/NODE/Carfinder/CordovaVectorICL/node_modules/npm-debug.log
it seems a network connection problem. try installing it from npm instead:
plugin install cordova-plugin-httpd
have been trying a few times. and another github repo works fine. (https://github.com/mapsplugin/cordova-plugin-googlemaps.git ). the npm version works fine, too.
could it be an issue with the latest cordova or cordova-android?
i see the master branch has no package.json. could that be an issue?
same issue
Use --nofetch
flag
--nofetch did the magic