You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/09 10:52:18 UTC
[jira] [Commented] (CB-10419) cordova-plugin-file 4.0.0 error with
browserify workflow
[ https://issues.apache.org/jira/browse/CB-10419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138662#comment-15138662 ]
ASF subversion and git services commented on CB-10419:
------------------------------------------------------
Commit 79956e4c3c8a90abe3bfa237ce59dd6d1e482311 in cordova-plugin-file's branch refs/heads/4.1.x from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=79956e4 ]
CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
github close #157
> cordova-plugin-file 4.0.0 error with browserify workflow
> --------------------------------------------------------
>
> Key: CB-10419
> URL: https://issues.apache.org/jira/browse/CB-10419
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File
> Affects Versions: 3.5.0
> Reporter: Darryl Pogue
> Labels: regression, reproduced, triaged
>
> We’ve recently started getting an error with aliasify and the file plugin when building with a --browserify workflow.
> {code}
> events.js:72
> throw er; // Unhandled 'error' event
> ^
> SyntaxError: 'return' outside of function (31:4) (while aliasify was processing /projects/plugins/cordova-plugin-file/www/requestFileSystem.js) while parsing file: /project/plugins/cordova-plugin-file/www/requestFileSystem.js
> {code}
> This started when the File plugin v4.0.0 was released. It's caused by a return statement outside of a function: https://github.com/apache/cordova-plugin-file/blob/77c63ef181313eba51652e1026cc730fc79ab9f2/www/requestFileSystem.js#L31
--
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