You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Willoughby (JIRA)" <ji...@apache.org> on 2016/08/03 07:15:20 UTC

[jira] [Created] (CB-11662) plugman fails when installing plugins with windows framework references

Ryan Willoughby created CB-11662:
------------------------------------

             Summary: 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: Plugin Vibration, Plugman
    Affects Versions: 1.3.0
         Environment: Node 4.4.7, cordova 6.3.0, reproduce on Cygwin/Windows and Bash/OSX.
            Reporter: Ryan Willoughby


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