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 GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/28 14:51:04 UTC

[jira] [Commented] (CB-9420) 'cordova prepare --browserify' fails on windows when at least one plugin is added

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

ASF GitHub Bot commented on CB-9420:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/270

    CB-9420 Fixes malformed require calls in browserify bundle

    This fixes browserify bundle generation problems, desctibed in [CB-9420](https://issues.apache.org/jira/browse/CB-9420)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-9420

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/270.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #270
    
----
commit 08406d568aea542e47afbc93a8a21294ebb3b23b
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2015-07-28T12:14:56Z

    CB-9420 Fixes malformed require calls in browserify bundle

----


> 'cordova prepare --browserify' fails on windows when at least one plugin is added
> ---------------------------------------------------------------------------------
>
>                 Key: CB-9420
>                 URL: https://issues.apache.org/jira/browse/CB-9420
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: browserify, windows
>
> Repro steps:
> {noformat}
> cordova create app
> cordova platform add windows
> cordova plugin add cordova-plugin-device
> cordova prepare --browserify
> {noformat}
> _Expected:_
> Project prepared successfully
> _Actual:_
> command fails with following stacktrace:
> {noformat}
> Error: Cannot find module 'd:PROJECTSTemp       est-browserifypluginscordova-plugin-devicewwwdevice.js' from 'd:\PROJECTS\Temp\test-browserify\platforms\android\assets\www'
>     at d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:46:17
>     at process (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:173:43)
>     at ondir (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:188:17)
>     at load (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:69:43)
>     at onex (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:92:31)
>     at d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:22:47
>     at FSReqWrap.oncomplete (fs.js:95:15)
> {noformat}



--
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