cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9842) cordova-common missing when adding Android on OS X
Date Thu, 22 Oct 2015 20:08:27 GMT

    [ https://issues.apache.org/jira/browse/CB-9842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969806#comment-14969806
] 

Vladimir Kotikov commented on CB-9842:
--------------------------------------

I can’t reproduce this neither using ‘createmobilespec’ script nor using the steps from
JIRA. Tried this on two Mac machines.

>From what I see from stdio output, the following chain fails:
      Create.js:129  require(path.join(projectPath, 'cordova/lib/build'))
      Build.js:27  require('./Adb');
      Adb.js:4  require('cordova-common').events

I suspect that something is going wrong when `node_modules` is copied into platform’s ‘cordova’
directory, and in particular linked cordova-common doesn’t copied properly, but I can’t
confirm this without access to osx slave.


> cordova-common missing when adding Android on OS X
> --------------------------------------------------
>
>                 Key: CB-9842
>                 URL: https://issues.apache.org/jira/browse/CB-9842
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>         Environment: OS X
>            Reporter: Dmitry Blotsky
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: android, cordova-common, found-by-ci
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This build failed: https://ci.apache.org/builders/cordova-android-osx/builds/713/. Steps
to reproduce the bug (assuming local install of everything from master after running {{npm
link}}):
> {noformat}
> ./bin/cordova create foobar
> cd foobar
> ../bin/cordova platform add ../cordova-android
> {noformat}
> Error:
> {noformat}
> Error: Cannot find module 'cordova-common'
>     at Function.Module._resolveFilename (module.js:336:15)
>     at Function.Module._load (module.js:278:25)
>     at Module.require (module.js:365:17)
>     at require (module.js:384:17)
>     at Object.<anonymous> (/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/cordova/lib/Adb.js:4:14)
>     at Module._compile (module.js:460:26)
>     at Object.Module._extensions..js (module.js:478:10)
>     at Module.load (module.js:355:32)
>     at Function.Module._load (module.js:310:12)
>     at Module.require (module.js:365:17)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message