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 2019/04/04 17:33:58 UTC

[GitHub] [cordova-plugin-file] caiotarifa opened a new issue #307: requireCordovaModule problem

caiotarifa opened a new issue #307: requireCordovaModule problem
URL: https://github.com/apache/cordova-plugin-file/issues/307
 
 
   # Bug Report
   
   ## Problem
   
   Trying to use this module with Cordova 9 and I get this message when I performed `cordova plugin add cordova-plugin-file`.
   
   ```
   Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
   ```
   
   ### What is expected to happen?
   
   The plugin needs to be added.
   
   ### What does actually happen?
   
   Nothing, there's no plugin on `package.json` ou `config.xml`.
   
   ### Command or Code
   
   ```
   $ cordova plugin add cordova-plugin-file
   ```
   
   ### Version information
   
   - Cordova 9.0.0
   - macOS 10.14.3
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] 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


With regards,
Apache Git Services

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