cordova-launch-review icon indicating copy to clipboard operation
cordova-launch-review copied to clipboard

package.json missing dependency

Open sedonaguy opened this issue 2 years ago • 1 comments

Bug report

CHECKLIST

  • [ x] I have read the issue reporting guidelines

  • [ x] I confirm this is a suspected bug or issue that will affect other users

  • [x ] I have reproduced the issue using the example projector provided the necessary information to reproduce the issue.
  • [x ] I have read the documentation thoroughly and it does not help solve my issue.
  • [ x] I have checked that no similar issues (open or closed) already exist.

Current behavior:

I do an npm i @awesome-cordova-plugins/launch-review I do a build and get a missing dependency error:

⠏ update ios [warn] Plugins are missing dependencies. Cordova plugin dependencies must be installed in your project (e.g. w/ npm install).

   cordova-launch-review is missing dependencies:
   - cordova-plugin-device (^2.0.3)

Your package.json dependencies are empty

Expected behavior:

Steps to reproduce:

I do an npm i @awesome-cordova-plugins/launch-review I do a build and get a missing dependency error:

⠏ update ios [warn] Plugins are missing dependencies. Cordova plugin dependencies must be installed in your project (e.g. w/ npm install).

   cordova-launch-review is missing dependencies:
   - cordova-plugin-device (^2.0.3)

Your package.json dependencies are empty

Screenshots

Environment information

  • Cordova CLI version
    • cordova -v
  • Cordova platform version
    • cordova platform ls
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls
  • Dev machine OS and version, e.g.
    • OSX
      • sw_vers
    • Windows 10
      • winver

Runtime issue

  • Device details
    • e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator
  • OS details
    • e.g. iOS 12.2, Android 9.0

Android build issue:

  • Node JS version
    • node -v
  • Gradle version
    • ls platforms/android/.gradle
  • Target Android SDK version
    • android:targetSdkVersion in AndroidManifest.xml
  • Android SDK details
    • sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

  • Node JS version
    • node -v
  • XCode version

Related code:

insert any relevant code here such as plugin API calls / input parameters

Console output

console output

// Paste any relevant JS/native console output here



Other information:

sedonaguy avatar Aug 18 '22 17:08 sedonaguy

do you found any solution ?

sksk008 avatar Jan 19 '23 04:01 sksk008