Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C580A187E3 for ; Thu, 6 Aug 2015 00:48:04 +0000 (UTC) Received: (qmail 38586 invoked by uid 500); 6 Aug 2015 00:48:04 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 38563 invoked by uid 500); 6 Aug 2015 00:48:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 38551 invoked by uid 99); 6 Aug 2015 00:48:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 00:48:04 +0000 Date: Thu, 6 Aug 2015 00:48:04 +0000 (UTC) From: "Ray Shan (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9462) iOS 3.9.0 breaks npm link modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ray Shan updated CB-9462: ------------------------- Summary: iOS 3.9.0 breaks npm link modules (was: iOS 3.9.0 breaks file:// links to symlinked directories) > 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 > > 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 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