Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9343E17B59 for ; Tue, 26 Jan 2016 15:01:42 +0000 (UTC) Received: (qmail 66609 invoked by uid 500); 26 Jan 2016 15:01:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 66456 invoked by uid 500); 26 Jan 2016 15:01:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 65856 invoked by uid 99); 26 Jan 2016 15:01:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 15:01:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 00B552C1F6C for ; Tue, 26 Jan 2016 15:01:40 +0000 (UTC) Date: Tue, 26 Jan 2016 15:01:40 +0000 (UTC) From: "Sergey Grebnov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10431) Unhandled error when browserifying javascript files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117343#comment-15117343 ] Sergey Grebnov commented on CB-10431: ------------------------------------- This should be fixed by PR below along w/ CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow https://github.com/apache/cordova-plugin-file/pull/157 > 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org