[ 
https://issues.apache.org/jira/browse/CB-11080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240279#comment-15240279
 ] 

Morgan Allen commented on CB-11080:
-----------------------------------

I now see the {{EACCESS}} is valid as plugman is attempting to *write* 
{{defaults.json}}. This results in requiring super user privileges, also 
creating the {{package.json}} as {{root:root}}

> createjsonpackage fails, missing defaults.json
> ----------------------------------------------
>
>                 Key: CB-11080
>                 URL: https://issues.apache.org/jira/browse/CB-11080
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Plugman
>    Affects Versions: 1.2.1
>         Environment: Linux
> Node v5.6.0
> npm v3.6.0
>            Reporter: Morgan Allen
>
> Fresh install of plugman
> {{sudo npm install -g plugman}}
> Create new plugin
> {{plugman create --name xyz --plugin_id y.x.z --plugin_version 1.0.0}}
> Attempt to create package.json
> {{plugman createpackagejson xyz/}}
> Returns error
> {{EACCES: permission denied, open 
> '/usr/local/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/defaults.json'}}
> This isn't actually a permissions error, {{defaults.json}} doesn't exist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to