Marcos created CB-14182:
---------------------------

             Summary: 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
    Affects Versions: [email protected], [email protected]
            Reporter: Marcos


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.4 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to