AlexDisler / cordova-plugin-inapppurchase

A lightweight cordova plugin for in app purchases on iOS/Android
316 stars 192 forks source link

Trouble installing plugin on Cordova 9.0.0 #288

Open jondspa opened 4 years ago

jondspa commented 4 years ago

Hi -

Love this plugin. I'm using it with iOS, running an earlier version of Cordova, and it's working great!

Now I'm trying to install it on a separate machine using current Cordova versions and I can't get it installed.

I tried the nofetch option and it didn't help. I believe nofetch has been removed anyway from the latest Cordova.

Any thoughts would be most appreciated!

Terminal output when I try to instal:

Failed to fetch plugin file:plugins/cordova-plugin-inapppurchase 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 1 Error output: npm ERR! code ENOLOCAL npm ERR! Could not install from "plugins/cordova-plugin-inapppurchase" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/Aaron/.npm/_logs/2020-03-02T23_49_34_703Z-debug.log

Type of product you are working with consumable/non-consumable/subscription

Version of cordova

9.0.0

Version of iOS/Android

Android 8.1.0