You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2016/05/04 14:33:12 UTC
[jira] [Created] (CB-11200) Cordova-lib test failure on Node 6.0.0
Alexander Sorokin created CB-11200:
--------------------------------------
Summary: 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
When running "npm test" in cordova-lib folder, the following test fails on Node 6.0.0:
{noformat}
1) ios project handler uninstallation of <framework> 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 .<anonymous> (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.
--
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