Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7618

Fix WP8 build due to missing node_modules

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

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

      Observe the following error

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

        Attachments

          Activity

            People

            • Assignee:
              sgrebnov Sergey Grebnov
              Reporter:
              sgrebnov Sergey Grebnov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: