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

package.json missing dependency #33

Open
sedonaguy opened this issue Aug 18, 2022 · 1 comment
Open

package.json missing dependency #33

sedonaguy opened this issue Aug 18, 2022 · 1 comment

Comments

@sedonaguy
Copy link

Bug report

CHECKLIST

  • [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:

@sksk008
Copy link

sksk008 commented Jan 19, 2023

do you found any solution ?

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