You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2019/12/20 19:12:00 UTC

[jira] [Closed] (CB-14182) Cordova 7 and 8 cannot add plugin from our bitbucket

     [ https://issues.apache.org/jira/browse/CB-14182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-14182.
-----------------------------
    Resolution: Incomplete

closing as there was no response, if you still face the issue, please, report it on github https://github.com/apache/cordova-cli/issues

> Cordova 7 and 8 cannot add plugin from our bitbucket
> ----------------------------------------------------
>
>                 Key: CB-14182
>                 URL: https://issues.apache.org/jira/browse/CB-14182
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli
>    Affects Versions: cordova@7.0.0, cordova@8.0.0
>            Reporter: Marcos
>            Priority: Blocker
>
> Hi, im trying to install a custom cordova plugin we made, that is located in our corporative Bitbucket server: [https://cis.ieci-servicios.com/bitbucket/scm/omnia/nativepluginomnia.git] and it worked and installed fine with cordova 6.5 and bellow, but since cordova 7, it just refuses to install with the following error:
> Command: $ cordova plugin add [https://cis.ieci-servicios.com/bitbucket/scm/omnia/nativepluginomnia.git]
> {code:java}
> (node:27674) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://cis.ieci-servicios.com/bitbucket/scm/omnia/nativepluginomnia.git 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 E501 npm ERR! 501 Not Implemented: https://cis.ieci-servicios.com/bitbucket/scm/omnia/nativepluginomnia.git npm ERR! A complete log of this run can be found in: npm ERR! /Users/a67303198/.npm/_logs/2018-06-29T10_34_27_047Z-debug.log at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:173:37 at _rejected (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:864:24) at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:890:30 at Promise.when (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:1142:31) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:808:41) at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:624:44 at runSingle (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:137:13) at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:125:13) at process._tickCallback (internal/process/next_tick.js:61:11) (node:27674) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:27674) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
> {code}
> The plugin is up to date, it has a package.json, it has everything i can think of that can cause a problem...
> Can someone help me?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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