EdenwareApps / Megacubo

:tv: A intuitive, multi-language and cross-platform IPTV player. Available for Windows, Android, Linux & macOS.
https://megacubo.tv
GNU General Public License v3.0
288 stars 54 forks source link

Error: Command failed with exit code 1: npm view nl.madebymark.share --json #11

Closed Jeferson505 closed 2 years ago

Jeferson505 commented 2 years ago

Hello,

When I try start the project with command cordova run or cordova run <specific_platform> I get the following error:

Failed to restore plugin "nl.madebymark.share". You might need to try adding it again. Error: Error: Command failed with exit code 1: npm view nl.madebymark.share --json
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/nl.madebymark.share - Not found
npm ERR! 404 
npm ERR! 404  'nl.madebymark.share@latest' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
{
  "error": {
    "code": "E404",
    "summary": "Not Found - GET https://registry.npmjs.org/nl.madebymark.share - Not found",
    "detail": "\n 'nl.madebymark.share@latest' is not in this registry.\nYou should bug the author to publish it (or use the name yourself!)\n\nNote that you can also install from a\ntarball, folder, http url, or git url."
  }
}

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2021-11-25T04_47_48_894Z-debug.log

Can someone help me?

EdenwareApps commented 2 years ago

Hi @Jeferson505, you can install this Cordova plugin with:

cordova plugin add cordova-plugin-share

...or just remove the nl.madebymark.share entry from package.json

I'm investigating it.

Jeferson505 commented 2 years ago

Hello @efoxbr,

Thanks for the reply. The add plugin command solved this problem.