[Console Log Plugin] Error fetching Cordova plugin: outsystems-debuglogs

[Console Log Plugin] Error fetching Cordova plugin: outsystems-debuglogs

  
Forge Component
(17)
Published on 1 Aug (14 days ago) by Luís Silva
17 votes
Published on 1 Aug (14 days ago) by Luís Silva

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.


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.




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)

Solution

Hello Luís,


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


Thank you!