Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7E862009C5 for ; Mon, 16 May 2016 18:53:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C6AF6160A20; Mon, 16 May 2016 16:53:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 22879160A16 for ; Mon, 16 May 2016 18:53:14 +0200 (CEST) Received: (qmail 8441 invoked by uid 500); 16 May 2016 16:53:13 -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 7805 invoked by uid 99); 16 May 2016 16:53:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2016 16:53:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4E7812C1F81 for ; Mon, 16 May 2016 16:53:13 +0000 (UTC) Date: Mon, 16 May 2016 16:53:13 +0000 (UTC) From: "Nikhil Khandelwal (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-11200) Cordova-lib test failure on Node 6.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 May 2016 16:53:16 -0000 [ https://issues.apache.org/jira/browse/CB-11200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal updated CB-11200: ----------------------------------- Description: When running "npm test" in cordova-lib folder, the following test fails on Node 6.0.0: {noformat} 1) ios project handler uninstallation of elements with custom="true" attribute should rm the file from the right target location Message: TypeError: Path must be a string. Received undefined Stacktrace: TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.dirname (path.js:697:5) at searchPathForFile (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:985:24) at pbxProject.removeFromFrameworkSearchPaths (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:711:20) at pbxProject.removeFramework (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:222:12) at Object.module.exports.framework.uninstall (C:\Cordova\cordova-lib\cordova-lib\src\plugman\platforms\ios.js:230:41) at . (C:\Cordova\cordova-lib\cordova-lib\spec-plugman\platforms\ios.spec.js:441:38) {noformat} Initial investigation points out that the bug in node-xcode can be the cause of this. The bug breaks uninstallation of plugins with custom frameworks for iOS platform, such as Facebook plugin. was: When running "npm test" in cordova-lib folder, the following test fails on Node 6.0.0: {noformat} 1) ios project handler uninstallation of elements with custom="true" attribute should rm the file from the right target location Message: TypeError: Path must be a string. Received undefined Stacktrace: TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.dirname (path.js:697:5) at searchPathForFile (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:985:24) at pbxProject.removeFromFrameworkSearchPaths (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:711:20) at pbxProject.removeFramework (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:222:12) at Object.module.exports.framework.uninstall (C:\Cordova\cordova-lib\cordova-lib\src\plugman\platforms\ios.js:230:41) at . (C:\Cordova\cordova-lib\cordova-lib\spec-plugman\platforms\ios.spec.js:441:38) {noformat} Initial investigation points out that the bug in node-xcode can be the cause of this. > Cordova-lib test failure on Node 6.0.0 > -------------------------------------- > > Key: CB-11200 > URL: https://issues.apache.org/jira/browse/CB-11200 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Affects Versions: Master > Environment: Windows, OSX > Reporter: Alexander Sorokin > Assignee: Vladimir Kotikov > Priority: Critical > Labels: triaged > > When running "npm test" in cordova-lib folder, the following test fails on Node 6.0.0: > {noformat} > 1) ios project handler uninstallation of elements with custom="true" attribute should rm the file from the right target location > Message: > TypeError: Path must be a string. Received undefined > Stacktrace: > TypeError: Path must be a string. Received undefined > at assertPath (path.js:7:11) > at Object.dirname (path.js:697:5) > at searchPathForFile (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:985:24) > at pbxProject.removeFromFrameworkSearchPaths (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:711:20) > at pbxProject.removeFramework (C:\Cordova\cordova-lib\cordova-lib\node_modules\xcode\lib\pbxProject.js:222:12) > at Object.module.exports.framework.uninstall (C:\Cordova\cordova-lib\cordova-lib\src\plugman\platforms\ios.js:230:41) > at . (C:\Cordova\cordova-lib\cordova-lib\spec-plugman\platforms\ios.spec.js:441:38) > {noformat} > Initial investigation points out that the bug in node-xcode can be the cause of this. > The bug breaks uninstallation of plugins with custom frameworks for iOS platform, such as Facebook plugin. -- 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