cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedroxs <...@git.apache.org>
Subject [GitHub] cordova-wp8 pull request: Module 'q' is lowercase
Date Sat, 17 Oct 2015 21:10:36 GMT
GitHub user pedroxs opened a pull request:

    https://github.com/apache/cordova-wp8/pull/88

    Module 'q' is lowercase

    This is giving me errors trying to add wp8 platform on a Linux system. I found similar
erros [here](https://github.com/driftyco/ionic-cli/issues/484) and [here](https://github.com/apache/cordova-ios/pull/132#issue-59368079).
 
    
    Error output:
    ```
    ❯ ionic platform add wp8
    Updated the hooks directory to have execute permissions
    WARNING: Applications for platform wp8 can not be built on this OS - linux.
    Adding wp8 project...
    module.js:339
        throw err;
        ^
    
    Error: Cannot find module 'Q'
        at Function.Module._resolveFilename (module.js:337:15)
        at Function.Module._load (module.js:287:25)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at Object.<anonymous> (/home/pedroxs/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/lib/create.js:20:13)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
    Error: /home/pedroxs/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/create: Command
failed with exit code 1
        at ChildProcess.whenDone (/home/pedroxs/.nvm/versions/node/v4.2.1/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
        at emitTwo (events.js:87:13)
        at ChildProcess.emit (events.js:172:7)
        at maybeClose (internal/child_process.js:818:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    ```

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

    $ git pull https://github.com/pedroxs/cordova-wp8 patch-1

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

    https://github.com/apache/cordova-wp8/pull/88.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 #88
    
----
commit eb5a0e3857514dadd3ceecaa2b6852c5b3d01625
Author: Joaquim Pedro Silveira <pedroxs@gmail.com>
Date:   2015-10-17T21:09:44Z

    Module 'q' is lowercase
    
    This is giving me errors trying to add wp8 platform on a Linux system. I found similar
erros [here](https://github.com/driftyco/ionic-cli/issues/484) and [here](https://github.com/apache/cordova-ios/pull/132#issue-59368079).
 
    
    Error output:
    ```
    ❯ ionic platform add wp8
    Updated the hooks directory to have execute permissions
    WARNING: Applications for platform wp8 can not be built on this OS - linux.
    Adding wp8 project...
    module.js:339
        throw err;
        ^
    
    Error: Cannot find module 'Q'
        at Function.Module._resolveFilename (module.js:337:15)
        at Function.Module._load (module.js:287:25)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at Object.<anonymous> (/home/pedroxs/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/lib/create.js:20:13)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
    Error: /home/pedroxs/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/create: Command
failed with exit code 1
        at ChildProcess.whenDone (/home/pedroxs/.nvm/versions/node/v4.2.1/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
        at emitTwo (events.js:87:13)
        at ChildProcess.emit (events.js:172:7)
        at maybeClose (internal/child_process.js:818:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    ```

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message