You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/09/23 20:27:34 UTC

[jira] [Created] (CB-7618) Fix WP8 build due to missing node_modules

Sergey Grebnov created CB-7618:
----------------------------------

             Summary: Fix WP8 build due to missing node_modules
                 Key: CB-7618
                 URL: https://issues.apache.org/jira/browse/CB-7618
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
            Reporter: Sergey Grebnov
            Assignee: Sergey Grebnov


cordova-wp8 apache/master
Repro steps
1. create cordova app
2. add wp8 platform from local version
3. build

Observe the following error
{code}
λ cordova-dev build
Running command: C:\temp\wp8Test\app3\platforms\wp8\cordova\build.bat

module.js:340
    throw err;
          ^
Error: Cannot find module 'Q'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (C:\temp\wp8Test\app3\platforms\wp8\cordova\lib\bu
ild.js:20:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
Error: C:\temp\wp8Test\app3\platforms\wp8\cordova\build.bat: Command failed
with exit code 8
    at ChildProcess.whenDone (c:\partitions\d\projects\html5\git\cordova\cor
dova-lib\cordova-lib\src\cordova\superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
{code}




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