You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/08/12 11:18:20 UTC
[jira] [Closed] (CB-11662) plugman fails when installing plugins
with windows framework references
[ https://issues.apache.org/jira/browse/CB-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov closed CB-11662.
---------------------------------
Resolution: Fixed
This has been fixed as a part of CB-11558. See Github [#185|https://github.com/apache/cordova-windows/pull/185]
> plugman fails when installing plugins with windows framework references
> -----------------------------------------------------------------------
>
> Key: CB-11662
> URL: https://issues.apache.org/jira/browse/CB-11662
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows
> Affects Versions: 4.4.2
> Environment: Node 4.4.7, cordova 6.3.0, reproduce on Cygwin/Windows and Bash/OSX.
> Reporter: Ryan Willoughby
> Labels: cannot-reproduce, triaged
>
> When installing a plugin for cordova-windows with a framework reference, the command errors out. Reproduction steps and output below.
> {code}
> npm install -g plugman
> cordova create myapp
> cd myapp
> cordova platform add windows
> cd ..
> [ryan-testapp]plugman install --plugin cordova-plugin-vibration --project platforms/windows --platform windows
> Fetching plugin "cordova-plugin-vibration" via npm
> Error during processing of action! Attempting to revert...
> Failed to install 'cordova-plugin-vibration':Error: Uh oh!
> ENOENT: no such file or directory, open 'plugins/cordova-plugin-vibration/src/windows/Vibration/Vibration.csproj'
> at Error (native)
> at Object.fs.openSync (fs.js:549:18)
> at Object.fs.readFileSync (fs.js:397:15)
> at Object.module.exports.parseElementtreeSync (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/node_modules/cordova-common/src/util/xml-helpers.js:179:27)
> at Object.jsprojManager.addProjectReference (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/lib/JsprojManager.js:187:44)
> at handlers.framework.install (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/lib/PluginHandler.js:92:25)
> at Object.ActionStack.process (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
> at PluginManager.doOperation (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)
> at PluginManager.addPlugin (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)
> at Api.addPlugin (/Users/ryanw/dev/sandbox/testapp/platforms/windows/cordova/Api.js:191:10)
> Uh oh!
> ENOENT: no such file or directory, open 'plugins/cordova-plugin-vibration/src/windows/Vibration/Vibration.csproj'
> {code}
--
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