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/09/03 08:43:37 UTC

[GitHub] [cordova-android] rchovan opened a new issue #825: add local plugin show erro with package name

rchovan opened a new issue #825: add local plugin show erro with package name
URL: https://github.com/apache/cordova-android/issues/825
 
 
   # Bug Report
   When I try to add local plugins, cordova show errors like this: 
   
   ## Problem
   cordova -d plugin add plugins_dep/cordova-sqlite-legacy-build-support-1.3.7 --save --noregistry --link
   
   ### What is expected to happen?
   When npm finished with error 0 cordova shouldn't show errors.
   
   
   ### What does actually happen?
   ```
   Warning: using prerelease version 9.0.1-nightly.2019.8.27.1c8ca07f (cordova-lib@9.0.2-nightly.2019.8.27.375f8f5a)
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin "plugins_dep/cordova-sqlite-legacy-build-support-1.3.7"
   fetch: Installing C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master\plugins_dep\cordova-sqlite-legacy-build-support-1.3.7 to C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master
   Running command: npm install C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master\plugins_dep\cordova-sqlite-legacy-build-support-1.3.7 --production --save-exact
   Command finished with error code 0: npm install,C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master\plugins_dep\cordova-sqlite-legacy-build-support-1.3.7,--production,--save-exact
   CordovaError: Could not determine package name from output:
   audited 2262 packages in 2.284s
   found 1 moderate severity vulnerability
     run `npm audit fix` to fix them, or `npm audit` for details
       at getTargetPackageSpecFromNpmInstallOutput (C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master\node_modules\cordova-fetch\index.js:104:11)
       at processTicksAndRejections (internal/process/task_queues.js:85:5) {
     name: 'CordovaError',
     message: 'Could not determine package name from output:\n' +
       'audited 2262 packages in 2.284s\n' +
       'found 1 moderate severity vulnerability\n' +
       '  run `npm audit fix` to fix them, or `npm audit` for details',
     code: 0,
     context: undefined
   }
   CordovaError: Could not determine package name from output:
   audited 2262 packages in 2.284s
   found 1 moderate severity vulnerability
     run `npm audit fix` to fix them, or `npm audit` for details
       at C:\Users\radoslav.chovan\Projects\orw_fain\FAIN_master\node_modules\cordova-lib\src\plugman\fetch.js:98:47
       at processTicksAndRejections (internal/process/task_queues.js:85:5)
   
   ```
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   add local plugin to cordova project
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Windows 10 64bit
   Platform Android
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   node v12.9.1
   npm 6.10.2
   cordova 9.0.0 (cordova-lib@9.0.1)
   cordova platforms   android 7.1.4
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [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