You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:19:55 UTC

[GitHub] [cordova-plugin-device-motion] Mani-VD opened a new issue #77: Dependencies not specified

Mani-VD opened a new issue #77:
URL: https://github.com/apache/cordova-plugin-device-motion/issues/77


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   Seamless install
   
   
   ### What does actually happen?
   Stop with error saying module missing
   
   
   ## Information
    This error occurs
   Installing "cordova-plugin-device-motion" for android
   Failed to install 'cordova-plugin-device-motion': Error: Unable to load Platform API from /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/Api.js:
   Cannot find module 'strip-final-newline'
   Require stack:
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/node_modules/execa/index.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/lib/check_reqs.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/lib/prepare.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/Api.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/util.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/platforms/index.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/platforms/platforms.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/plugman.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/cordova-lib.js
   - /usr/local/lib/node_modules/cordova/src/help.js
   - /usr/local/lib/node_modules/cordova/src/cli.js
   - /usr/local/lib/node_modules/cordova/bin/cordova
       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
       at Function.Module._load (internal/modules/cjs/loader.js:686:27)
       at Module.require (internal/modules/cjs/loader.js:848:19)
       at require (internal/modules/cjs/helpers.js:74:18)
       at Object.<anonymous> (/media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/node_modules/execa/index.js:5:27)
       at Module._compile (internal/modules/cjs/loader.js:955:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
       at Module.load (internal/modules/cjs/loader.js:811:32)
       at Function.Module._load (internal/modules/cjs/loader.js:723:14)
       at Module.require (internal/modules/cjs/loader.js:848:19)
   Unable to load Platform API from /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/Api.js:
   Cannot find module 'strip-final-newline'
   Require stack:
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/node_modules/execa/index.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/lib/check_reqs.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/lib/prepare.js
   - /media/mani-pc/your disk1/developer folder/android project/ionic_testing/platforms/android/cordova/Api.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/util.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/platforms/index.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/platforms/platforms.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/plugman.js
   - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/cordova-lib.js
   - /usr/local/lib/node_modules/cordova/src/help.js
   - /usr/local/lib/node_modules/cordova/src/cli.js
   - /usr/local/lib/node_modules/cordova/bin/cordova
   
   
   
   ### Command or Code
   ionic cordova plugin add cordova-plugin-device-motion
   
   
   
   ### Environment, Platform, Device
   android
   
   
   
   ### Version information
   Ionic 6.14
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org