[
https://issues.apache.org/jira/browse/CB-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Grebnov resolved CB-10431.
---------------------------------
Resolution: Fixed
> Unhandled error when browserifying javascript files
> ---------------------------------------------------
>
> Key: CB-10431
> URL: https://issues.apache.org/jira/browse/CB-10431
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Alex Buijs
> Labels: browserify, triaged, wfc
>
> When preparing a Cordova project which includes the file plugin, an error is
> raised:
> {code}
> events.js:142
> throw er; // Unhandled 'error' event
> ^
> Error: Cannot find module './isChrome' from
> '/builds/youngcapital/youngcapital_mobile/plugins/cordova-plugin-file/www'
> at /cache/node_modules/resolve/lib/async.js:55:21
> at load (/cache/node_modules/resolve/lib/async.js:69:43)
> at onex (/cache/node_modules/resolve/lib/async.js:92:31)
> at /cache/node_modules/resolve/lib/async.js:22:47
> at FSReqWrap.oncomplete (fs.js:83:15)
> {code}
> Steps to reproduce:
> {code}
> cordova create hello com.example.hello HelloWorld
> cd hello
> cordova platform add android
> cordova plugin add cordova-plugin-file
> cordova prepare --browserify
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]