You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/18 11:22:45 UTC

[jira] [Commented] (CB-9462) iOS 3.9.0 breaks npm link modules

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

ASF GitHub Bot commented on CB-9462:
------------------------------------

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-ios/pull/153

    CB-9462 iOS 3.9.0 breaks npm link modules

    Using `shell.exec` as `shelljs` does not support symlinks dereferencing [yet](https://github.com/arturadib/shelljs/pull/164).
    
    [Jira issue](https://issues.apache.org/jira/browse/CB-9462)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-ios CB-9462

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-ios/pull/153.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #153
    
----
commit 55cdfd0d0fb2bb0189b112da43d0c840e9690845
Author: daserge <da...@yandex.ru>
Date:   2015-08-18T09:15:49Z

    CB-9462 iOS 3.9.0 breaks npm link modules

----


> iOS 3.9.0 breaks npm link modules
> ---------------------------------
>
>                 Key: CB-9462
>                 URL: https://issues.apache.org/jira/browse/CB-9462
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 5.1.1
>            Reporter: Ray Shan
>            Assignee: Sergey Shakhnazarov
>
> Hi,
> Yosemite, iOS 8.4, XCode 6.4, iPhone 6
> Git cloned bluebird, npm install, npm link, create browser build using command:
> node tools/build --debug --main --zalgo --browser --minify
> Freshly created cordova app in another directory, added iOS@3.9.0, cd www, npm init, npm link bluebird
> Add <script src="node_modules/bluebird/js/browser/bluebird.min.js" charset="utf-8"></script> in index.html,         console.log(Promise.promisifyAll); in index.js app.initialize
> cordova emulate runs successfully with no errors
> cordova run ios --device is broken. It results in a binary that loads on device but has broken file:// links: 
> Failed to load resource: The requested URL was not found on this server.
> file:///private/var/mobile/Containers/Bundle/Application/6BED8B84-DC94-4EC3-A843-B4A83C8814F6/HelloCordova.app/www/node_modules/bluebird/js/browser/bluebird.min.js
> index.js:23
> Debugged using the Safari inspector.
> Downgrading to iOS platform 3.8.0 fixes the bug - no errors and console log is successful
> Thanks!



--
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