120
Views
3
Comments
Solved
[Console Log Plugin] Error fetching Cordova plugin: outsystems-debuglogs
Question
console-log-plugin
Mobile icon
Forge asset by Ricardo Vaz Alves

Getting an error generating our mobile app:


Calling plugman.fetch on plugin "https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3"
saving
Running command: npm install https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3 --production --save
Command finished with error code 1: npm install,https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3,--production,--save
Error: Failed to fetch plugin https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3.
npm ERR! package.json npm can't find a package.json file in your current directory.

Looks like the repository URL is incorrect (highlighted in yellow). I proposed a change for the package.json in github.


2018-11-06 21-35-51
Luís Silva
Staff
Solution

Hello Paul,

Please ignore my last reply. I already updated the plugin. Please update your component to the latest version available on forge (2.0.1)

2018-11-06 21-35-51
Luís Silva
Staff

Hello Paul,

Are you using the latest version available on Forge?


Paul van Rooijen wrote:

Getting an error generating our mobile app:


Calling plugman.fetch on plugin "https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3"
saving
Running command: npm install https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3 --production --save
Command finished with error code 1: npm install,https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3,--production,--save
Error: Failed to fetch plugin https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/luissilvaos/cordova-outsystems-debuglogs.git#0.0.3.
npm ERR! package.json npm can't find a package.json file in your current directory.

Looks like the repository URL is incorrect (highlighted in yellow). I proposed a change for the package.json in github.




2018-11-06 21-35-51
Luís Silva
Staff
Solution

Hello Paul,

Please ignore my last reply. I already updated the plugin. Please update your component to the latest version available on forge (2.0.1)

2019-01-16 14-17-46
Paul van Rooijen

Hello Luís,


I downloaded and updated the plugin and the error has been resolved.


Thank you!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.