[ 
https://issues.apache.org/jira/browse/CB-11778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-11778:
----------------------------------
    Description: 
Try to do a platform add:
{code}
cordova platform add [email protected]
{code}

Error:
{code}
Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
([email protected])
Warning: using prerelease platform [email protected].
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
Running command: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
 /Users/shaz/Desktop/s/platforms/ios s s --cli
module.js:457
    throw err;
    ^

Error: Cannot find module 'elementtree'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> 
(/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
Error: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
 Command failed with exit code 1
{code}

If I go into:
{code}
~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
{code}
the package "elementtree" is missing (a lot of others are as well). The package 
elementtree does exist in the repo.

  was:
Try to do a platform add:
{code}
cordova platform add [email protected]
{code}

Error:
{code}
Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
([email protected])
Warning: using prerelease platform [email protected].
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
Running command: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
 /Users/shaz/Desktop/s/platforms/ios s s --cli
module.js:457
    throw err;
    ^

Error: Cannot find module 'elementtree'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> 
(/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
Error: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
 Command failed with exit code 1
{code}

If I go into:
{code}
~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
{code}
the package "elementtree" is missing. It is in the repo.


> ios nightly is missing packages in node_modules that are in the repo
> --------------------------------------------------------------------
>
>                 Key: CB-11778
>                 URL: https://issues.apache.org/jira/browse/CB-11778
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> Try to do a platform add:
> {code}
> cordova platform add [email protected]
> {code}
> Error:
> {code}
> Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
> ([email protected])
> Warning: using prerelease platform [email protected].
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> Running command: 
> /Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
>  /Users/shaz/Desktop/s/platforms/ios s s --cli
> module.js:457
>     throw err;
>     ^
> Error: Cannot find module 'elementtree'
>     at Function.Module._resolveFilename (module.js:455:15)
>     at Function.Module._load (module.js:403:25)
>     at Module.require (module.js:483:17)
>     at require (internal/module.js:20:19)
>     at Object.<anonymous> 
> (/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
>     at Module._compile (module.js:556:32)
>     at Object.Module._extensions..js (module.js:565:10)
>     at Module.load (module.js:473:32)
>     at tryModuleLoad (module.js:432:12)
>     at Function.Module._load (module.js:424:3)
> Error: 
> /Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
>  Command failed with exit code 1
> {code}
> If I go into:
> {code}
> ~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
> {code}
> the package "elementtree" is missing (a lot of others are as well). The 
> package elementtree does exist in the repo.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to