id
int64
0
5.38k
issuekey
stringlengths
4
16
created
stringlengths
19
19
title
stringlengths
5
252
description
stringlengths
1
1.39M
storypoint
float64
0
100
83
CLI-765
08/13/2015 01:01:39
"appc new --type app" is not available in the Appc CLI
*Details:* {{appc new --type app}} is not available in the Appc CLI. *Note:* The following {{--type}} values are available in the Titanium CLI: {code} Create --type=app Options: --id <value> the App ID in the format 'com.companyname.appname' --template <value> the name of the project template, path to template dir, path to zip file, or url to zip file [default: default] -d, --workspace-dir <value> the directory to place the project in -n, --name <value> the name of the project -p, --platforms <value> one or more target platforms. [all, android, mobileweb, iphone, ipad, windows] -u, --url <value> your company/personal URL Create --type=applewatch Options: --template <value> the name of the project template, path to template dir, path to zip file, or url to zip file [default: watchos1] -d, --project-dir <value> the directory containing the project [default: .] -n, --name <value> the name of the watch app Create --type=module Options: --id <value> the App ID in the format 'com.companyname.appname' --template <value> the name of the project template, path to template dir, path to zip file, or url to zip file [default: default] -d, --workspace-dir <value> the directory to place the project in -n, --name <value> the name of the project -p, --platforms <value> one or more target platforms. [all, android, mobileweb, ios, windows] {code} *Steps to reproduce:* # In Appc CLI, run: {{appc new --type app}} *Actual:* {{Unable to find plugin for project type "app"}} error appears: {code} ERROR | Error: unable to find plugin for project type "app" at validatePluginType (/Users/wluu/.appcelerator/install/4.2.0-44/package/lib/commands/new.js:70:22) at _new.async.series.plugin (/Users/wluu/.appcelerator/install/4.2.0-44/package/lib/commands/new.js:79:12) at /Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:607:21 at /Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:246:17 at iterate (/Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:146:13) at /Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:157:25 at /Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:248:21 at /Users/wluu/.appcelerator/install/4.2.0-44/package/node_modules/async/lib/async.js:612:34 at /Users/wluu/.appcelerator/install/4.2.0-44/package/lib/commands/new.js:43:12 at /Users/wluu/.appcelerator/install/4.2.0-44/package/lib/registry.js:233:10 {code} *Expected:* {{appc new --type app}} should be available.
1
84
CLI-767
08/13/2015 01:56:09
"Missing required option: --id <value>" error is returned if you specify all the required flags to create an app
*Details:* {{Missing required option: --id <value>}} error is returned if you specify all the required flags to create an app. *Steps to reproduce:* # Run the following command: {{appc new --type titanium --subtype new --platforms iphone --id com.appcelerator.testing --name monkey --project-dir ~/monkey --url http:// --log-level trace}} *Actual:* {{Missing required option: --id <value>}} error will appear: {code} Missing required option: --id <value> done with plugin [Error: titanium exited with non-zero exit code (1)] ERROR | Error: titanium exited with non-zero exit code (1) at ChildProcess.<anonymous> (/Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/appc-cli-titanium/plugins/new.js:191:21) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:820:12) {code} *Expected:* No errors should appear.
3
85
CLI-768
08/13/2015 02:35:11
Alloy app fails to build on window's with error "Alloy compiler failed"
*This is a regression. Builds successfully with 4.1.2, 4.2.0-1 appc CLI. Did not check all the versions of the 4.2.0-X CLI as there are a lot. Went back till 4.2.0-40 & it failed. The build fails with 4.1.3-1 appc CLI as well.* h6. Created this ticket In Unified CLI project as building with older CLI works fine. Please move to other project if suitable. h5.Steps To Reproduce: 1. Create an alloy project on windows machine. (I used win 8.1 64 bit). 2. Build the app for windows or android. h5.Actual Result: 1. The alloy compiler fails: {code} [DEBUG] Titanium SDK Android directory: C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150812161221\android [DEBUG] App ID: com.app.alloy [DEBUG] Classname: Alloy [INFO] Executing Alloy compile: cmd /s /c C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\node_modules\.bin\alloy compile C:\Users\Steve Ballmer\Desktop\alloy\app --config platform=android,version=0,simtype=none,dev icefamily=none,deploytype=development,target=emulator '"C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\node_modules\.bin\alloy"' is not recognized as an internal or external command, operable program or batch file. [ERROR] Alloy compiler failed TRACE | titanium exited with exit code 1 ERROR | Error: ti run exited with error code 1 at ChildProcess.<anonymous> (C:\Users\Steve Ballmer\.appcelerator\install\4.1.3-1\package\node_modules\appc-cli-titanium\plugins\run.js:89:66) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:820:12) {code} h5.Expected Results: 1. The alloy app build successfully on windows.
8
86
CLI-774
08/17/2015 04:29:17
Support for WatchOS2 project in appc
With the latest Titanium CLI and SDK, we are finally able to build watch OS2 apps. We need *appc new* and *appc run* to support the following: To create a watch OS 2 and titanium Project, follow these steps: 1. Create a new project: ti create --type app --name foo --id com.appc.foo --platforms all --url http://foo --workspace-dir . 2. cd into the project: cd foo 3. Add a WatchKit 2 app: ti create --type applewatch --name bar --template watchos2 4. Build the app: ti build -p ios -I 9.0 --launch-watch-app
8
87
CLI-776
08/19/2015 18:56:52
Community: 502 Bad Gateway is returned when building a mobile project with GA stack
*Details:* In the community, there are reports that when you build a mobile project, a *502 Bad Gateway* is returned: https://community.appcelerator.com/topic/2982/problem-with-build-application-on-mac-502-bad-gateway/2 *Notes:* * Currently, we are unable to reproduce this issue internally. * This issue seems to affect developers with an indie account, however, issue is still unreproducible internally with indie account. * Clean install does not seem to remedy the issue. *Possible steps to reproduce:* # Switch to an indie account # Make sure you have the GA stack installed on your machine; see Environment field # Create a mobile project with {{appc new}} # Then, run project with {{DEBUG=* appc run -p ios -l trace}} *Actual:* 502 Bad Gateway is returned during mobile project build: {code} \n <deployment-targets>\n <target device="android">true</target>\n <target device="ipad">false</target>\n <target device="iphone">false</target>\n <target device="mobileweb">false</target>\n <target device="windows">false</target> n </deployment-targets>\n <sdk-version>4.1.0.GA</sdk-version>\n <plugins>\n <plugin version="1.0">ti.alloy</plugin>\n </ plugins>\n <property name="appc-app-id" type="string">55d186ebea805048690ef82c</property>\n</ti:app>","modules":[]},"gzip":t rue,"followAllRedirects":true,"url":"https://security.appcelerator.com/build-verify"} [TRACE] result from /build-verify=> undefined, err={"resp":{"statusCode":502}} [ERROR] (502) <html><body><h1>502 Bad Gateway</h1> The server returned an invalid or incomplete response. </body></html> TRACE | titanium exited with exit code 100 ERROR | Error: ti run exited with error code 100 at ChildProcess.<anonymous> (/Users/jaroslaw/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/plugins/run.j s:84:66) at ChildProcess.emit (events.js:117:20) at Process.ChildProcess._handle.onexit (child_process.js:820:12) {code} Also, see attachment for full community trace log. *Expected:* Should be able to build a mobile project without any issues.
3
88
CLI-778
08/19/2015 21:57:07
Update check from the appcelerator npm does not inform the user of available update
Update check in the appcelerator npm relies on response from {{/api/appc/list}}, specifically the attribute {{latest}}, to check against installed versions and determine if there is new appc-cli package. However, the response does not have the {{latest}} attribute, the user is not informed of any updates. bq. appc:util update check completed, latest is undefined +3ms
5
89
CLI-785
08/26/2015 10:52:33
Prompts/Options for creating WatchOS2 project are confusing when not ran in project dir
The questions/options for {{appc new -t applewatch}} are confusing and need to be improved: * Where's the project directory? ./appc-sample-ti500 ** Of the existing Titanium app or for the Watch app? Should say _Titanium project_ * What's the project name? appc-sample-ti500 ** Of the existing Titanium app or for the Watch app? Can it be the same? If so, it should have that as default. If not, it should say so and validate it is not. * Do you want to overwrite? Yes ** Any existing extension or the Titanium app? If it's about the extension then it should say so and only if one is present (when I did it hadn't). If it is about the app.. then I don't get it. * Please provide your password for enabling Test service: ** For the Watch app? If it's for the Titanium app then why prompt when I create a Watch app? The question to overwrite is even more confusing because when there *is* already an extension with the given name it will fail: {code} ? What's the project name? appc-sample-ti500 Watch app already exists: /Users/fokkezb/dev/samples/appc-sample-ti500/extensions/appc-sample-ti500 Invalid "--name" value "appc-sample-ti500" ERROR | titanium exited with non-zero exit code (1) {code} *UPDATE:* I've seen that if I run {{appc new -t applewatch}} in the project directory itself it will only ask for the name.
1
90
CLI-788
08/26/2015 11:20:53
"use" not listed in help
Running {{appc}} does not list the {{use}} command.
2
91
CLI-791
08/26/2015 12:24:18
If login is needed it should end with a message before continuing with original command
The following shows that when a login is required for a command, there's nothing between the prompt for the login and the logs of the actual command - which in this case is a question as well. This is confusing. There should be at least a blank line, but probably some message (_You are logged in_) before continuing. {code} appc-sample-ti500 $ appc new --type applewatch --template watchos2 Appcelerator Command-Line Interface, version 5.0.0-16 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. Preproduction Environment Active Appcelerator Login required to continue ... ? Appcelerator ID: [email protected] ? Password: ********* ? Into which organization would you like to login? Appcelerator, Inc ? What's the project name? {code}
3
92
CLI-792
08/26/2015 16:27:01
Regression running project
⚑ appc run -l trace fs.js:761 return binding.readdir(pathModule._makeLong(path)); ^ Error: ENOENT, no such file or directory 'lib/commands' at Error (native) at Object.fs.readdirSync (fs.js:761:18) at Object.<anonymous> (/Users/jhaynie/.appcelerator/install/5.0.0-20/package/index.js:61:19) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/Users/jhaynie/.appcelerator/install/5.0.0-20/package/bin/appc:11:12)
1
93
CLI-794
08/27/2015 09:04:59
"appc new --type applewatch" should default to watchos2 instead of watchkit1
Since from now on people will likely create Watch OS 2 apps instead of WatchKit 1 extensions we should default to {{watchos2}} for {{appc new --type applewatch}}.
3
94
CLI-798
08/31/2015 14:55:57
For android, we're sending unnecessary data in build-verify
Notice the "bindings" property that is attaching a bunch of stuff that is unnecessary and wasteful. We should remove this (and any other) key from the tiapp object before sending api.
3
95
CLI-803
09/08/2015 20:36:54
Node 4.0 GA doesn't work with CLI
Running appc just immediately exits Tried re-installing the npm with same result.
3
96
CLI-807
09/10/2015 22:08:25
Appc CLI core fails to install with memwatch errors with node 0.10.13 & 4.0.0
h5.Steps To Reproduce: Follow the same steps for node 0.10.13 & 4.0: 1. Do appc use latest. 2. The 4.1.3 core will be downloaded & installation will begin. h5 Actual Results: 1. The installation errors out at memwatch install : *With node 0.10.13:* {code} Lokeshs-MacBook-Pro:~ lokeshchoudhary$ DEBUG=* appc use latest -l trace appc:util found the following version directories: ["4.1.3","4.1.2","4.1.1-3","4.1.1-7","4.1.1-0","4.1.1-1","4.1.1-6","4.1.1-4","4.1.1-5","4.1.0","4.0.2","4.0.0","0.0.000"] +0ms appc:bin install bin is false +4ms appc:bin main subcommand use +2ms appc:use use called with args [ 'use', 'latest' ], getLatest=1 +0ms appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/latest","path":"/api/appc/latest","href":"https://software.appcelerator.com/api/appc/latest"},"headers":{"user-agent":"Appcelerator CLI/4.2.0-1 (darwin)","host":"software.appcelerator.com","appc-token":"s:6NwlCrbp-xy7IifKrkDHlOyj0YkcpBFV.0JrEbbk7jen/ipFPFFc5rqpj2b7+poS7nk32wnOceeo"}} +114ms | appc:util request response received +754ms appc:util attempting to parse JSON => [{"success":true,"request-id":"7c74a711-402b-4c68-8027-59c2837457f5","key":"result","result":[{"id":"55d62d2a6c03980c1d58fc47","name":"appc-cli/appcelerator","version":"4.1.3"}]}] +2ms appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/list","path":"/api/appc/list","href":"https://software.appcelerator.com/api/appc/list"},"headers":{"user-agent":"Appcelerator CLI/4.2.0-1 (darwin)","host":"software.appcelerator.com","appc-token":"s:6NwlCrbp-xy7IifKrkDHlOyj0YkcpBFV.0JrEbbk7jen/ipFPFFc5rqpj2b7+poS7nk32wnOceeo"}} +14ms \ appc:util request response received +151ms appc:util attempting to parse JSON => [{"success":true,"request-id":"d971dc8b-0a0a-447e-977a-424c2d91a3c6","key":"result","result":[{"id":"55f07f47647b3f0bc81a8a86","filesize":46268989,"shasum":"f2451561336f9fe1621a157cf21f156f03e96f56","version":"4.1.3"},{"id":"55ad45d87ed7bbfaa76d9305","filesize":39463910,"shasum":"c1f99a31152aa5a3a47d2aa517db2820a30f7188","version":"4.1.2"},{"id":"55ad39fc7ed7bbfaa76d3d8a","filesize":39450320,"shasum":"f83c2cc9fe716ce278ebc574e8c0f76086844e77","version":"4.1.1"},{"id":"559d98087ed7bbfaaf2e3406","filesize":38548119,"shasum":"e2f2d447c2819ff43c55dcede6d808e1dfda0519","version":"4.1.0"},{"id":"55f0e2d0421c440bc31c3a94","filesize":42674031,"shasum":"30b0f6acfa371886fb05b94f8af930bd9b8463db","version":"5.0.0-50"},{"id":"55e9aeed595cd60bcd07748a","filesize":42321955,"shasum":"2c6a1dec6e5d899bd3047758517d099111c82f1e","version":"5.0.0-40"},{"id":"557a14b9d03ee8dc231030d5","filesize":38042286,"shasum":"e9038e21998d6f7153e40773d6960731f87cdd72","version":"4.0.2"},{"id":"5595b7587ed7bbfaaf0bf59e","filesize":38513387,"shasum":"29524e3f116d3aaca9a55b2d2ac9bc29937cb930","version":"4.1.0-0"},{"id":"5568f121730b820b5400ff28","filesize":37880461,"shasum":"3412a5c693a779ffebb1234519c3ec13a87a057f","version":"4.0.1"},{"id":"555e0adfc75ab60b2306fdb7","filesize":37703838,"shasum":"2d8867de9288acf80151e8f6163479cb670fafef","version":"4.0.0"}]}] +1ms appc:use versions returned from registry: +0ms { success: true, 'request-id': 'd971dc8b-0a0a-447e-977a-424c2d91a3c6', key: 'result', result: [ { id: '55f07f47647b3f0bc81a8a86', filesize: 46268989, shasum: 'f2451561336f9fe1621a157cf21f156f03e96f56', version: '4.1.3' }, { id: '55ad45d87ed7bbfaa76d9305', filesize: 39463910, shasum: 'c1f99a31152aa5a3a47d2aa517db2820a30f7188', version: '4.1.2' }, { id: '55ad39fc7ed7bbfaa76d3d8a', filesize: 39450320, shasum: 'f83c2cc9fe716ce278ebc574e8c0f76086844e77', version: '4.1.1' }, { id: '559d98087ed7bbfaaf2e3406', filesize: 38548119, shasum: 'e2f2d447c2819ff43c55dcede6d808e1dfda0519', version: '4.1.0' }, { id: '55f0e2d0421c440bc31c3a94', filesize: 42674031, shasum: '30b0f6acfa371886fb05b94f8af930bd9b8463db', version: '5.0.0-50' }, { id: '55e9aeed595cd60bcd07748a', filesize: 42321955, shasum: '2c6a1dec6e5d899bd3047758517d099111c82f1e', version: '5.0.0-40' }, { id: '557a14b9d03ee8dc231030d5', filesize: 38042286, shasum: 'e9038e21998d6f7153e40773d6960731f87cdd72', version: '4.0.2' }, { id: '5595b7587ed7bbfaaf0bf59e', filesize: 38513387, shasum: '29524e3f116d3aaca9a55b2d2ac9bc29937cb930', version: '4.1.0-0' }, { id: '5568f121730b820b5400ff28', filesize: 37880461, shasum: '3412a5c693a779ffebb1234519c3ec13a87a057f', version: '4.0.1' }, { id: '555e0adfc75ab60b2306fdb7', filesize: 37703838, shasum: '2d8867de9288acf80151e8f6163479cb670fafef', version: '4.0.0' } ] } appc:use use called with args [ 'use', 'latest' ], getLatest=0 +2ms appc:install preflight checks, is this windows? 0 +1ms appc:install home directory located at /Users/lokeshchoudhary +0ms Before you can continue, the latest Appcelerator software update needs to be downloaded. appc:install install, wantVersion: 4.1.3, url: https://software.appcelerator.com/api/appc/install/4.1.3, bin: false +15ms appc:download download start, quiet 0, banner 1 +1ms appc:download download called with arguments: { '0': false, '1': false, '2': '4.1.3', '3': '/var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/appc-1441909277916.tar.gz', '4': { _writableState: { highWaterMark: 16384, objectMode: false, needDrain: false, ending: false, ended: false, finished: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, sync: true, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, buffer: [] }, writable: true, domain: null, _events: { finish: [Object] }, _maxListeners: 10, path: '/var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/appc-1441909277916.tar.gz', fd: null, flags: 'w', mode: 438, start: undefined, pos: undefined, bytesWritten: 0 }, '5': 'https://software.appcelerator.com/api/appc/install/4.1.3', '6': [Function], '7': false } +0ms Finding version 4.1.3 ... appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/install/4.1.3","path":"/api/appc/install/4.1.3","href":"https://software.appcelerator.com/api/appc/install/4.1.3"},"headers":{"user-agent":"Appcelerator CLI/4.2.0-1 (darwin)","host":"software.appcelerator.com","appc-token":"s:6NwlCrbp-xy7IifKrkDHlOyj0YkcpBFV.0JrEbbk7jen/ipFPFFc5rqpj2b7+poS7nk32wnOceeo"}} +1ms - appc:util request response received +368ms appc:download response status code was: 200 +1ms appc:download response headers: {"x-amz-id-2":"2hoLL+6j6C+PS0uXD+yLv0FAGa6yN/6PRVzaL0LRJY2ZEQVUNPx0icJodUvw6y4gFkk4yY2u04o=","x-amz-request-id":"22D5ADD9D0E2B016","date":"Thu, 10 Sep 2015 18:21:19 GMT","x-amz-meta-platform":"all","x-amz-meta-component":"appc-cli/appcelerator","x-amz-meta-org_id":"14301","x-amz-meta-version":"4.1.3","x-amz-meta-shasum":"f2451561336f9fe1621a157cf21f156f03e96f56","x-amz-meta-filesize":"46268989","last-modified":"Wed, 09 Sep 2015 18:49:40 GMT","etag":"\"2badfb61860bf8f2e7d9a274946dda32\"","accept-ranges":"bytes","content-type":"application/octet-stream","content-length":"46268989","server":"AmazonS3"} +0ms appc:download download version: 4.1.3, shasum: f2451561336f9fe1621a157cf21f156f03e96f56 +1ms βœ“ appc:download download content-length: 46268989 +0ms Downloading [β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€] 100% 0.0s appc:download download end +6s appc:download download checkshasum: f2451561336f9fe1621a157cf21f156f03e96f56 +0ms Validating security checksum βœ“ appc:install after download, installationDir /Users/lokeshchoudhary/.appcelerator/install/4.1.3 +1ms appc:install calling extract on /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/appc-1441909277916.tar.gz, dir=/Users/lokeshchoudhary/.appcelerator/install/4.1.3 +1ms Installing ... appc:install targz source=/var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/appc-1441909277916.tar.gz, dest=/Users/lokeshchoudhary/.appcelerator/install/4.1.3 +0ms βœ“ appc:install compileNativeModules /Users/lokeshchoudhary/.appcelerator/install/4.1.3 +21s Compiling platform native modules ... appc:install found version 4.0.3 +1s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-cli-titanium +1ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package +1s β”” package/appc-cli-titanium ... βœ“ appc:install found version 3.0.0 +37s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/node_modules/getmac/node_modules/extract-opts/node_modules/typechecker +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/node_modules/getmac/node_modules/extract-opts +2ms β”” extract-opts/typechecker ... βœ“ appc:install found version 0.5.0 +2s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-logger/node_modules/bunyan +11ms β”” bunyan/dtrace-provider ... βœ“ appc:install found version 2.0.8 +8s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-platform-sdk/node_modules/getmac/node_modules/extract-opts/node_modules/typechecker +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/appc-platform-sdk/node_modules/getmac/node_modules/extract-opts +1ms β”” extract-opts/typechecker ... βœ“ appc:install found version 0.4.32 +1s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client +9ms β”” socket.io-client/ws ... βœ“ appc:install found version 0.5.0 +3s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-ldapjs/node_modules/dtrace-provider +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-ldapjs +13ms β”” appc-ldapjs/dtrace-provider ... βœ“ appc:install found version 0.2.11 +3s appc:install rmdir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-memwatch +0ms appc:install exec: npm install [email protected] --production in dir /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow +10ms β”” arrow/appc-memwatch ... / appc:install error during npm install [email protected] --production, was: { [Error: Command failed: npm http GET https://registry.npmjs.org/appc-memwatch/0.2.11 npm http 304 https://registry.npmjs.org/appc-memwatch/0.2.11 npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings ../src/heapdiff.cc:48:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:50:41: error: use of undeclared identifier 'NanNew' v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ^ ../src/heapdiff.cc:50:68: error: expected '(' for function-style cast or type construction v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ~~~~~~~~~~~~~~~~~~~~^ ../src/heapdiff.cc:52:21: error: use of undeclared identifier 'NanNew' t->SetClassName(NanNew("HeapDiff")); ^ ../src/heapdiff.cc:54:5: error: no matching function for call to 'SetPrototypeMethod' NODE_SET_PROTOTYPE_METHOD(t, "end", End); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:129:35: note: expanded from macro 'NODE_SET_PROTOTYPE_METHOD' #define NODE_SET_PROTOTYPE_METHOD node::SetPrototypeMethod ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:120:6: note: candidate function [with target_t = v8::Local<v8::FunctionTemplate>] not viable: no known conversion from 'Nan::NAN_METHOD_RETURN_TYPE (Nan::NAN_METHOD_ARGS_TYPE)' to 'v8::InvocationCallback' (aka 'Handle<v8::Value> (*)(const v8::Arguments &)') for 3rd argument void SetPrototypeMethod(target_t target, ^ ../src/heapdiff.cc:56:17: error: use of undeclared identifier 'NanNew' target->Set(NanNew( "HeapDiff"), t->GetFunction()); ^ ../src/heapdiff.cc:64:10: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? if (!args.IsConstructCall()) { ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:64:10: error: invalid use of member 'args' in static member function if (!args.IsConstructCall()) { ^~~~ ../src/heapdiff.cc:65:16: error: use of undeclared identifier 'NanThrowTypeError'; did you mean 'Nan::ThrowTypeError'? return NanThrowTypeError("Use the new operator to create instances of this object."); ^~~~~~~~~~~~~~~~~ Nan::ThrowTypeError ../node_modules/nan/nan.h:1015:3: note: 'Nan::ThrowTypeError' declared here X(TypeError) ^ ../node_modules/nan/nan.h:1001:21: note: expanded from macro 'X' NAN_INLINE void Throw ## NAME(const char *msg) { \ ^ <scratch space>:33:1: note: expanded from here ThrowTypeError ^ ../src/heapdiff.cc:68:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:72:16: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? self->Wrap(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:72:16: error: invalid use of member 'args' in static member function self->Wrap(args.This()); ^~~~ ../src/heapdiff.cc:81:51: error: use of undeclared identifier 'NanNew' self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ^ ../src/heapdiff.cc:81:68: error: expected '(' for function-style cast or type construction self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ~~~~~~~~~~^ ../src/heapdiff.cc:86:20: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? NanReturnValue(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:86:20: error: invalid use of member 'args' in static member function NanReturnValue(args.This()); ^~~~ ../src/heapdiff.cc:98:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:214:5: error: use of undeclared identifier 'NanEscapableScope' NanEscapableScope(); ^ ../src/heapdiff.cc:215:22: error: use of undeclared identifier 'NanNew' Local<Array> a = NanNew<v8::Array>(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/memwatch/src/heapdiff.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 14.4.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-memwatch gyp ERR! node -v v0.10.13 gyp ERR! node-gyp -v v0.10.2 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0 ] killed: false, code: 1, signal: null } +2s appc:install stdout: > [email protected] postinstall /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-memwatch > node ./build.js CXX(target) Release/obj.target/memwatch/src/heapdiff.o unbuild [email protected] +2ms appc:install stderr: npm http GET https://registry.npmjs.org/appc-memwatch/0.2.11 npm http 304 https://registry.npmjs.org/appc-memwatch/0.2.11 npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings ../src/heapdiff.cc:48:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:50:41: error: use of undeclared identifier 'NanNew' v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ^ ../src/heapdiff.cc:50:68: error: expected '(' for function-style cast or type construction v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ~~~~~~~~~~~~~~~~~~~~^ ../src/heapdiff.cc:52:21: error: use of undeclared identifier 'NanNew' t->SetClassName(NanNew("HeapDiff")); ^ ../src/heapdiff.cc:54:5: error: no matching function for call to 'SetPrototypeMethod' NODE_SET_PROTOTYPE_METHOD(t, "end", End); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:129:35: note: expanded from macro 'NODE_SET_PROTOTYPE_METHOD' #define NODE_SET_PROTOTYPE_METHOD node::SetPrototypeMethod ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:120:6: note: candidate function [with target_t = v8::Local<v8::FunctionTemplate>] not viable: no known conversion from 'Nan::NAN_METHOD_RETURN_TYPE (Nan::NAN_METHOD_ARGS_TYPE)' to 'v8::InvocationCallback' (aka 'Handle<v8::Value> (*)(const v8::Arguments &)') for 3rd argument void SetPrototypeMethod(target_t target, ^ ../src/heapdiff.cc:56:17: error: use of undeclared identifier 'NanNew' target->Set(NanNew( "HeapDiff"), t->GetFunction()); ^ ../src/heapdiff.cc:64:10: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? if (!args.IsConstructCall()) { ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:64:10: error: invalid use of member 'args' in static member function if (!args.IsConstructCall()) { ^~~~ ../src/heapdiff.cc:65:16: error: use of undeclared identifier 'NanThrowTypeError'; did you mean 'Nan::ThrowTypeError'? return NanThrowTypeError("Use the new operator to create instances of this object."); ^~~~~~~~~~~~~~~~~ Nan::ThrowTypeError ../node_modules/nan/nan.h:1015:3: note: 'Nan::ThrowTypeError' declared here X(TypeError) ^ ../node_modules/nan/nan.h:1001:21: note: expanded from macro 'X' NAN_INLINE void Throw ## NAME(const char *msg) { \ ^ <scratch space>:33:1: note: expanded from here ThrowTypeError ^ ../src/heapdiff.cc:68:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:72:16: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? self->Wrap(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:72:16: error: invalid use of member 'args' in static member function self->Wrap(args.This()); ^~~~ ../src/heapdiff.cc:81:51: error: use of undeclared identifier 'NanNew' self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ^ ../src/heapdiff.cc:81:68: error: expected '(' for function-style cast or type construction self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ~~~~~~~~~~^ ../src/heapdiff.cc:86:20: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? NanReturnValue(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:86:20: error: invalid use of member 'args' in static member function NanReturnValue(args.This()); ^~~~ ../src/heapdiff.cc:98:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:214:5: error: use of undeclared identifier 'NanEscapableScope' NanEscapableScope(); ^ ../src/heapdiff.cc:215:22: error: use of undeclared identifier 'NanNew' Local<Array> a = NanNew<v8::Array>(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/memwatch/src/heapdiff.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 14.4.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-memwatch gyp ERR! node -v v0.10.13 gyp ERR! node-gyp -v v0.10.2 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0 +0ms npm http GET https://registry.npmjs.org/appc-memwatch/0.2.11 npm http 304 https://registry.npmjs.org/appc-memwatch/0.2.11 npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings ../src/heapdiff.cc:48:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:50:41: error: use of undeclared identifier 'NanNew' v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ^ ../src/heapdiff.cc:50:68: error: expected '(' for function-style cast or type construction v8::Local<v8::FunctionTemplate> t = NanNew<v8::FunctionTemplate>(New); ~~~~~~~~~~~~~~~~~~~~^ ../src/heapdiff.cc:52:21: error: use of undeclared identifier 'NanNew' t->SetClassName(NanNew("HeapDiff")); ^ ../src/heapdiff.cc:54:5: error: no matching function for call to 'SetPrototypeMethod' NODE_SET_PROTOTYPE_METHOD(t, "end", End); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:129:35: note: expanded from macro 'NODE_SET_PROTOTYPE_METHOD' #define NODE_SET_PROTOTYPE_METHOD node::SetPrototypeMethod ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/lokeshchoudhary/.node-gyp/0.10.13/src/node.h:120:6: note: candidate function [with target_t = v8::Local<v8::FunctionTemplate>] not viable: no known conversion from 'Nan::NAN_METHOD_RETURN_TYPE (Nan::NAN_METHOD_ARGS_TYPE)' to 'v8::InvocationCallback' (aka 'Handle<v8::Value> (*)(const v8::Arguments &)') for 3rd argument void SetPrototypeMethod(target_t target, ^ ../src/heapdiff.cc:56:17: error: use of undeclared identifier 'NanNew' target->Set(NanNew( "HeapDiff"), t->GetFunction()); ^ ../src/heapdiff.cc:64:10: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? if (!args.IsConstructCall()) { ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:64:10: error: invalid use of member 'args' in static member function if (!args.IsConstructCall()) { ^~~~ ../src/heapdiff.cc:65:16: error: use of undeclared identifier 'NanThrowTypeError'; did you mean 'Nan::ThrowTypeError'? return NanThrowTypeError("Use the new operator to create instances of this object."); ^~~~~~~~~~~~~~~~~ Nan::ThrowTypeError ../node_modules/nan/nan.h:1015:3: note: 'Nan::ThrowTypeError' declared here X(TypeError) ^ ../node_modules/nan/nan.h:1001:21: note: expanded from macro 'X' NAN_INLINE void Throw ## NAME(const char *msg) { \ ^ <scratch space>:33:1: note: expanded from here ThrowTypeError ^ ../src/heapdiff.cc:68:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:72:16: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? self->Wrap(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:72:16: error: invalid use of member 'args' in static member function self->Wrap(args.This()); ^~~~ ../src/heapdiff.cc:81:51: error: use of undeclared identifier 'NanNew' self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ^ ../src/heapdiff.cc:81:68: error: expected '(' for function-style cast or type construction self->before = v8::HeapProfiler::TakeSnapshot(NanNew<v8::String>(""), HeapSnapshot::kFull, NULL); ~~~~~~~~~~^ ../src/heapdiff.cc:86:20: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'? NanReturnValue(args.This()); ^~~~ uv_process_options_s::args /Users/lokeshchoudhary/.node-gyp/0.10.13/deps/uv/include/uv.h:1320:10: note: 'uv_process_options_s::args' declared here char** args; ^ ../src/heapdiff.cc:86:20: error: invalid use of member 'args' in static member function NanReturnValue(args.This()); ^~~~ ../src/heapdiff.cc:98:5: error: use of undeclared identifier 'NanScope' NanScope(); ^ ../src/heapdiff.cc:214:5: error: use of undeclared identifier 'NanEscapableScope' NanEscapableScope(); ^ ../src/heapdiff.cc:215:22: error: use of undeclared identifier 'NanNew' Local<Array> a = NanNew<v8::Array>(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/memwatch/src/heapdiff.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 14.4.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/node_modules/appc-memwatch gyp ERR! node -v v0.10.13 gyp ERR! node-gyp -v v0.10.2 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0 {code} *With node 4.0:* {code} Before you can continue, the latest Appcelerator software update needs to be downloaded. Finding version 4.1.3 ... βœ“ Validating security checksum βœ“ Installing ... βœ“ Compiling platform native modules ... β”” package/appc-cli-titanium ... βœ“ β”” extract-opts/typechecker ... βœ“ β”” bunyan/dtrace-provider ... βœ“ β”” extract-opts/typechecker ... βœ“ β”” socket.io-client/ws ... βœ“ β”” appc-ldapjs/dtrace-provider ... βœ“ β”” arrow/appc-memwatch ... gyp WARN EACCES user "lokeshchoudhary" does not have permission to access the dev dir "/Users/lokeshchoudhary/.node-gyp/4.0.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp" In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:11: ../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent' NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) { ^ ../node_modules/nan/nan.h:319:17: note: previous definition is here v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) { ^ ../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal' NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) { ^ ../node_modules/nan/nan.h:334:27: note: previous definition is here NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) { ^ ../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in namespace 'node' , node::smalloc::FreeCallback callback ~~~~~~^ ../node_modules/nan/nan.h:768:12: error: no matching function for call to 'New' return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^~~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length); ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^ In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:11: ../node_modules/nan/nan.h:772:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>' return node::Buffer::New(v8::Isolate::GetCurrent(), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument class Local { ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument class Local { ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal' V8_INLINE Local(Local<S> that) ^ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>' V8_INLINE Local(S* that) ^ In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:11: ../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace 'node::Buffer' return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~^ ../src/heapdiff.cc:79:83: error: no viable conversion from 'typename Nan::imp::Factory<String>::return_t' (aka 'Local<v8::String>') to 'v8::ActivityControl *' self->before = v8::Isolate::GetCurrent()->GetHeapProfiler()->TakeHeapSnapshot(NanNew<v8::String>(""), NULL); ^~~~~~~~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8-profiler.h:487:24: note: passing argument to parameter 'control' here ActivityControl* control = NULL, ^ ../src/heapdiff.cc:112:15: error: no member named 'GetSelfSize' in 'v8::HeapGraphNode' s += cur->GetSelfSize(); ~~~ ^ ../src/heapdiff.cc:203:29: error: no member named 'GetSelfSize' in 'v8::HeapGraphNode' i->second.size += node->GetSelfSize() * (added ? 1 : -1); ~~~~ ^ ../src/heapdiff.cc:318:79: error: no viable conversion from 'typename Nan::imp::Factory<String>::return_t' (aka 'Local<v8::String>') to 'v8::ActivityControl *' t->after = v8::Isolate::GetCurrent()->GetHeapProfiler()->TakeHeapSnapshot(NanNew<v8::String>(""), NULL); ^~~~~~~~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8-profiler.h:487:24: note: passing argument to parameter 'control' here ActivityControl* control = NULL, ^ In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:8: /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *' TYPE_CHECK(T, S); ^~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK' *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \ ^ ~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:501:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val)) ^ In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:8: /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *' TYPE_CHECK(T, S); ^~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK' *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \ ^ ~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:511:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val)) ^ In file included from ../src/heapdiff.cc:12: In file included from ../src/heapdiff.hh:8: /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *' TYPE_CHECK(T, S); ^~~~~~~~~~~~~~~~ /var/folders/0q/qz_v6qys50b73_td_vykf3fh0000gn/T/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK' *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \ ^ ~~~~~~~~~~~npm ERR! Darwin 14.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "[email protected]" "--production" npm ERR! node v4.0.0 npm ERR! npm v2.14.2 npm ERR! code ELIFECYCLE npm ERR! [email protected] postinstall: `node ./build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script 'node ./build.js'. npm ERR! This is most likely a problem with the appc-memwatch package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./build.js npm ERR! You can get their info via: npm ERR! npm owner ls appc-memwatch npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/lokeshchoudhary/.appcelerator/install/4.1.3/package/node_modules/arrow/npm-debug.log {code} h5. Expected Result: 1. The appc core installation gets completed successfully.
0
97
CLI-810
09/16/2015 18:54:22
appc run -p ios is forcing rebuild for subsequent runs when there's no changes
{code}appc run -p ios{code} is forcing rebuild for every subsequent run, even when there's no changes in the project. h4. Steps to reproduce. 1. appc new 2. appc run -p ios -l trace 3. appc run -p ios -l trace h4. Expected result If you look at the trace, "invoking xcodebuild" should happen for 2., "skipping xcodebuild" will happen for 3. h4. Actual result If you look at the trace, "invoking xcodebuild" happens for 2 and 3. The line of code in question is here: https://github.com/appcelerator/appc-cli-titanium/blob/master/hook/titanium.js#L201 If this is commented out, the problem here is solved, but unsure if there are other dependencies that might be affected by this line of code.
3
98
CLI-812
09/19/2015 00:05:37
Error when generating developer certificate and public/private keys when logging into preprod
h5. Description When trying to log in to preproduction through CLI an error will display say "The request is not recognized!" after trying to generate developer certificate and private/public keys. h5. Steps to recreate 1.Enter log in details in CLI 2. Choose a preproduction environment h5. Actual Result An error is displayed, although it appears it still logs into preproduction h5. Expected Result No error should be displayed
0
99
CLI-814
09/20/2015 17:10:01
Failed to parse titanium config file: TypeError: Cannot read property 'selected' of undefined
This may be a duplicate, but I can't find one. Please repurpose as necessary. From https://community.appcelerator.com/topic/3309/error-encountered-during-update-appcelerator-cli-is-currently-installing-or-upgrading-please-wait-until-it-has-finished-and-retry-your-command-afterwards/9 The error is: {code} WARN | failed to parse titanium config file WARN | Cannot read property 'selected' of undefined ERROR | TypeError: Cannot read property 'selected' of undefined at usedDifferentSDK (/Users/username/.appcelerator/install/5.0.0/package/node_modules/appc-cli-titanium/plugins/run.js:116:30) at /Users/username/.appcelerator/install/5.0.0/package/node_modules/appc-cli-titanium/plugins/run.js:68:49 at /Users/username/.appcelerator/install/5.0.0/package/node_modules/appc-cli-titanium/plugins/util.js:145:11 at ChildProcess.exithandler (child_process.js:656:7) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:766:16) at Socket.<anonymous> (child_process.js:979:11) at Socket.emit (events.js:95:17) at Pipe.close (net.js:466:12) {code} The error appears to be in https://github.com/appcelerator/appc-cli-titanium/blob/master/plugins/run.js#L116
2
100
CLI-818
09/23/2015 15:20:26
If a login is required before switching orgs it shouldn't switch at all
If you use the newly added {{appc switch org}} and a login is required first because the session expired, you shouldn't not be asked what organisation to login to followed by the question which organisation to switch to. {code} appc-sample-ti500 (master *) $ appc switch org Appcelerator Command-Line Interface, version 5.0.1 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. Appcelerator Login required to continue ... ? Appcelerator ID: [email protected] ? Password: ********* ? Into which organization would you like to login? Appcelerator, Inc ? To which organization would you like to switch? (Use arrow keys) ❯ 21st Century Insurance a ACS.UI.Next Automated Tests AnalyticsUITesting Appcelerator Dashboard Appcelerator Preprod on Prod Appcelerator Studio (Move up and down to reveal more choices) {code}
5
101
CLI-823
09/28/2015 22:06:24
libtiverify.a in Ti SDK is replaced by libappcverify.a
Do {{appc run -p ios -T device}} on a project with {{<property name="appc-sourcecode-encryption-policy" type="string">remote</property>}} set in {{tiapp.xml}}. The file {{mobilesdk/osx/<VERSION>/iphone/libtiverify.a}} in Ti SDK itself gets replaced by {{appc-cli-titanium/support/ios/libappcverify.a}} Subsequent builds on projects without {{appc-sourcecode-encryption-policy}} enable will result in build failure.
3
102
CLI-824
09/29/2015 08:43:13
Appc CLI causes iOS Simulator builds to be encrypted
When trying to solve TIMOB-19612, it was discovered that the appc cli causes iOS Simulator builds to sometimes be encrypted and other times not encrypted. This is triggered when you are online and buildVerify() was not skipped (whatever that means). iOS Simulator builds should probably not be encrypted unless the --deploy-type is explicitly set to "test".
5
103
CLI-825
10/01/2015 01:07:46
Publishing a stable version of appc-cli doesn't tag it as latest
I notice this issue when I was releasing appc-cli into our production servers. Though I had successfully published [email protected], the latest version tag still references to something like 5.0.0 only. If {{appc publish --prerelease}} command is executed, then the latest tag should still be the previous stable version. Otherwise, the latest version should be considered.
5
104
CLI-827
10/05/2015 15:54:22
Only CLI 5.0.2 & NodeJS 0.12.7 give: [Error: Module did not self-register.]
Only CLI 5.0.2 and NodeJS 0.12.7 show the following error during different commands: {code} Fokkes-MacBook-Pro:ticons-server fokkezb$ appc [Error: Module did not self-register.] Appcelerator Command-Line Interface, version 5.0.2 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. Usage: appc cmd [options] {code} CLI 5.0.1 with NodeJS 0.12.7 works fine, as does CLI 5.0.2 with NodeJS 0.10.40. (x) CLI 5.0.2 & NodeJS 0.12.7 (/) CLI 5.0.1 & NodeJS 0.12.7 (/) CLI 5.0.2 & NodeJS 0.12.7 (/) CLI 5.0.2 & NodeJS 0.10.40 The workaround is to use "appc use 0.X.X --force"
5
105
CLI-828
10/06/2015 05:32:20
Add "bugs" URL to package.json
Adding a URL to the location of where "bugs" are filed makes it easier for developers. {code} "bugs": { "url": "https://jira.appcelerator.org/browse/APPU" }, {code}
5
106
CLI-832
10/06/2015 23:53:01
Add additional logging for Arrow cloud login calls
The command {{DEBUG=* appc login}} doesn't log the requests and responses from the Arrow cloud login calls.
2
107
CLI-836
10/09/2015 12:59:08
Packages should be rebuild if NodeJS version has changed since last use
When user updates (or downgrades) NodeJS this can break NPM packages or cause strange side effects like CLI-827. This seems in particular an issue with native extensions. To handle this, the CLI should keep track of the NodeJS version used for each core package and if the NodeJS version has changed it should use re-install that package or use {{npm rebuild}}.
5
108
CLI-838
10/09/2015 16:53:08
Cannot login to prod; body parameters error
When using Appc CLI 5.1.0-36 and trying to log in to Production, I get the following error: {code} Appcelerator Login required to continue ... ? Appcelerator ID: [email protected] ? Password: ******** arrow:sdk sending request to https://software.appcelerator.com/api/login arrow:sdk response received err=null, body={ message: 'body parameters: from missing in API definition', code: 400, success: false, 'request-id': '56be7102-9eae-48dc-9098-ea0a6a059cc4' }, status code=400 registry result 400 application/json false undefined true 1 registry returned { message: 'body parameters: from missing in API definition', code: 400, success: false, 'request-id': '56be7102-9eae-48dc-9098-ea0a6a059cc4' } login returned { [Error: body parameters: from missing in API definition] code: 400 } { message: 'body parameters: from missing in API definition', code: 400, success: false, 'request-id': '56be7102-9eae-48dc-9098-ea0a6a059cc4' } body parameters: from missing in API definition body parameters: from missing in API definition {code} *Steps to reproduce issue* 1. Select CLI 5.1.0-36 2. Log out with {{appc logout}} 3. Login with {{appc login}} *Actual Results* I get the above error and cannot login *Expected Results* No error is encountered and login is successfull
5
109
CLI-847
10/14/2015 21:17:27
Add additional debug logging for error conditions in `appc use` and `appc login`
When the registry server is down, the amount of information output to the console in debug mode is limited or non-existent. Things to instrument: * Retry of requests * Error codes returned
1
110
CLI-842
10/15/2015 00:01:31
Improve performance of appc -v command
When the registry server is not reachable, or slow to respond, then {{appc -v}} command takes a long time to execute, and print package's version. Since it is just about printing the local package version, the availability of registry server shouldn't impact on {{appc -v}} command's performance.
5
111
CLI-843
10/15/2015 01:08:11
If you run "appc -v -o json", then Appc CLI NPM will not understand the "-o" flag
*Details:* If you run {{appc -v -o json}}, then the Appc CLI NPM will not understand the {{-o}} flag i.e. "The version specified -o was not found" error will be returned. *Notes:* * This is a regression from Appc CLI NPM 4.2.0 *and* 4.2.1-4. * The {{-o}} flag still works with other commands e.g. {{appc use -o json}} still returns the Appc CLI core versions in JSON format. * To workaround this issue, you can specify the long format e.g. {{appc -v --output json}} *Steps to reproduce:* # Make sure you installed Appc CLI NPM version 4.2.1-5 or greater # Run the command: {{appc -v -o json}} *Actual:* Appc CLI NPM will not understand the {{-o}} flag: {code} WilsonComputer:~ wluu$ appc -v -o json Before you can continue, the latest Appcelerator software update needs to be downloaded. Finding version -o ...\ The version specified -o was not found WilsonComputer:~ {code} *Expected:* Appc CLI NPM should understand the {{-o}} flag.
5
112
CLI-844
10/16/2015 19:38:42
If you install a mobile app to device or simulator/emulator, the parent process does not fully terminate if you try to kill it
*Details:* If you install a mobile app to device or simulator/emulator, the parent process does not terminate if you try to kill it. *Steps to reproduce:* # In Studio or CLI, create a mobile project # Install to device or simulator # Wait for app to launch # From Studio, press the terminate button. From CLI, kill the parent process *Actual:* The parent process does not fully terminate. *Expected:* The parent process should be completely killed.
8
113
CLI-852
10/26/2015 17:59:26
appc run can not set port for Arrow apps
According to the documentation, we can set the port for an Arrow application using: acs run --port XX http://docs.appcelerator.com/platform/latest/#!/guide/Arrow_Cloud_Command-Line_Interface_Reference But, using appc CLI there's no way to set a port for the Arrow app http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_Command-Line_Interface_Reference-section-43294287_AppceleratorCommand-LineInterfaceReference-run
5
114
CLI-856
10/28/2015 21:38:55
In Appc CLI, if you create a project with European character sets, then the CLI prompt will not accept them
*Details:* In Appc CLI, if you create a project with European character sets (e.g. B??ckerei H??chste), then the CLI prompt will not accept them. *Note:* * To workaround this issue, use the {{--name}} flag with the {{new}} command e.g. {{appc new --name "B??ckerei H??chste"}} * This issue does not appear in Studio since they are using the {{--name}} flag. *Steps to reproduce:* # Create a mobile or Arrow project with {{appc new}} # Go through the steps until you reach "What's the project name?" # Enter a name with European character sets e.g. "B??ckerei H??chste" *Actual:* Appc CLI prompt will not accept the European characters: {code} MonkeyLord:~ wluu$ appc new Appcelerator Command-Line Interface, version 5.1.0-38 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. ? What type of project are you creating? Native App ? Which SDK would you like to use? Titanium SDK (JavaScript) ? What's the project name? >> name must be of the format: /^[\w]{2,}[\w\.\d-_]+$/ {code} *Expected:* Appc CLI prompt should accept European characters when creating a project.
5
115
CLI-861
10/30/2015 18:32:02
The "--output" flag does not work with "appc use" command
*Details:* The {{--output}} flag does not work with {{appc use}} command. *Notes:* * {{appc use --output}} seems to be for internal usage: CLI-468. * {{appc use -o}} still works. * This issue appears in the current GA as well. *Steps to reproduce:* # Run {{appc use --output json}} *Actual:* The output from the {{appc use}} command is not in JSON format: {code} MonkeyLord:~ wluu$ appc use --output json The following versions are available: 5.2.0-43 Not Installed 5.2.0-42 Not Installed 5.2.0-41 Not Installed 5.2.0-40 Not Installed 5.2.0-38 Not Installed 5.2.0-37 Not Installed 5.2.0-36 Not Installed 5.2.0-35 Not Installed 5.2.0-34 Not Installed 5.2.0-33 Not Installed 5.2.0-32 Not Installed 5.2.0-30 Not Installed 5.2.0-29 Not Installed 5.2.0-28 Not Installed 5.2.0-27 Not Installed 5.2.0-26 Not Installed 5.2.0-25 Not Installed 5.2.0-24 Not Installed {code} *Expected:* The {{--output}} flag should work along with {{-o}} flag.
1
116
CLI-864
10/30/2015 23:24:41
Plugins directory generated on build for a classic project
h5.Description When building a classic project there is a plugins directory generated when building the project. When running with {{-l trace}} it shows this line {{TRACE | Update project alloy hook from version false to 1.0.0}} which originates from [here|https://github.com/appcelerator/appc-cli-titanium/blob/master/plugins/run.js#L137]. h5.Steps to reproduce 1. Create a project using {{appc new --type titanium --name classicApp --id com.appc --classic}} 2. Build the project using {{appc run -p ios}} 3. Check the applications directory h5.Actual result There will be a plugins folder in the app directory h5.Expected result There should not be a plugins directory in a classic application
1
117
CLI-865
10/30/2015 23:59:05
If incorrect credentials are input on login then the CLI will error with 'The registry server is currently unavailable'
h5.Description *This is a regression* The regression seems to be caused by the change [from this check|https://github.com/appcelerator/appc-cli/blob/5_0_4/lib/registry.js#L455] in 5.0.4 to [this check|https://github.com/appcelerator/appc-cli/blob/5_1_X/lib/registry.js#L455] in 5_1_X When logging in using {{appc login}} and inputting incorrect credentials the CLI will error out with the below after retrying the login 10 times {code} ? Appcelerator ID: [email protected] ? Password: ***** registry result 500 application/json false undefined true 1 detected server issue, will re-try again in 1000ms 500 registry result 500 application/json false undefined true 2 detected server issue, will re-try again in 2000ms 500 registry result 500 application/json false undefined true 3 detected server issue, will re-try again in 3000ms 500 registry result 500 application/json false undefined true 4 detected server issue, will re-try again in 4000ms 500 registry result 500 application/json false undefined true 5 detected server issue, will re-try again in 5000ms 500 registry result 500 application/json false undefined true 6 detected server issue, will re-try again in 6000ms 500 registry result 500 application/json false undefined true 7 detected server issue, will re-try again in 7000ms 500 registry result 500 application/json false undefined true 8 detected server issue, will re-try again in 8000ms 500 registry result 500 application/json false undefined true 9 detected server issue, will re-try again in 9000ms 500 registry result 500 application/json false undefined true 10 ERROR | Error: The registry server is currently unavailable. Please try again in a few minutes or contact Appcelerator Support at [email protected] at C:\Users\ewanh\.appcelerator\install\5.1.0-41\package\lib\registry.js:462:17 at Request._callback (C:\Users\ewanh\.appcelerator\install\5.1.0-41\package\lib\appc-registry-server-sdk\index.js:989:5) at Request.self.callback (C:\Users\ewanh\.appcelerator\install\5.1.0-41\package\node_modules\request\request.js:198:22) at Request.emit (events.js:110:17) at Request.<anonymous> (C:\Users\ewanh\.appcelerator\install\5.1.0-41\package\node_modules\request\request.js:1082:10) at Request.emit (events.js:129:20) at IncomingMessage.<anonymous> (C:\Users\ewanh\.appcelerator\install\5.1.0-41\package\node_modules\request\request.js:1009:12) at IncomingMessage.emit (events.js:129:20) at _stream_readable.js:908:16 at process._tickCallback (node.js:355:11) {code} *This is a regression* from 5.0.4 as the CLI will reprompt when incorrect credentials are input with 5.0.4 {code} ? Password: *** registry result 500 application/json false undefined true 1 registry returned { message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '9f2f25ec-cae9-46de-9035-387d8436ecaa' } login returned { [Error: Invalid Appcelerator ID and password combination.] code: 400 } { message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '9f2f25ec-cae9-46de-9035-387d8436ecaa' } Invalid Appcelerator ID and password combination. Invalid Appcelerator ID and password combination. {code} Running with DEBUG=* shows that the output received from registry is the same for both versions {code:title=5.0.4} arrow:sdk sending request to https://software.appcelerator.com/api/login arrow:sdk response received err=null, body={ message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '7a594b36-2dbe-4c0b-b77b-8df4ab6ccbc3' }, status code=500 registry result 500 application/json false undefined true 1 registry returned { message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '7a594b36-2dbe-4c0b-b77b-8df4ab6ccbc3' } login returned { [Error: Invalid Appcelerator ID and password combination.] code: 400 } { message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '7a594b36-2dbe-4c0b-b77b-8df4ab6ccbc3' } Invalid Appcelerator ID and password combination. Invalid Appcelerator ID and password combination. {code} {code:title=5.1.0-41} ? Appcelerator ID: [email protected] ? Password: **** arrow:sdk sending request to https://software.appcelerator.com/api/login arrow:sdk response received err=null, body={ message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': 'b84fdd47-b63a-44cc-abcb-2008c62a7f7b' }, status code=500 registry result 500 application/json false undefined true 1 detected server issue, will re-try again in 1000ms 500 arrow:sdk sending request to https://software.appcelerator.com/api/login arrow:sdk response received err=null, body={ message: 'Invalid Appcelerator ID and password combination.', code: 400, success: false, 'request-id': '53473d97-4372-471d-9ec9-93d3adf86341' }, status code=500 registry result 500 application/json false undefined true 2 detected server issue, will re-try again in 2000ms 500 arrow:sdk sending request to https://software.appcelerator.com/api/login {code} h5.Steps to reproduce 1. Run {{appc login -l trace}} 2. Enter some incorrect credentials h5.Actual result The CLI will send a login request 10 times and then error with {{ Error: The registry server is currently unavailable.}} h5.Expected result The CLI should throw a prompt asking for the correct credentials
3
118
CLI-868
11/03/2015 09:56:27
Add CLI version installation status in "appc use -o json" output
Can we add CLI version installation status as part of "appc use -o json" command output. Probably something like this or whatever is the best way possible. {code} { "versions": [ "5.1.0-38", "5.0.4", "5.0.3", "5.0.2", "5.0.1", "5.0.0", "4.1.3", "4.1.2", "4.1.1", "4.1.0" ], "installed": [ "5.0.4", "5.0.3" ], "latest": "5.0.4", "active": "5.1.0-38" } {code} Adding a new entry will not break existing consumers.
3
119
CLI-869
11/03/2015 19:07:14
In preprod, you cannot import a mobile project with a non-platform guid
*Details:* In preprod, you cannot import a mobile project with a non-platform guid. *Notes:* * If you point the current 5.1.0 stack to production, you cannot reproduce this issue. * The *workaround* is to create another mobile project in preprod and use that project's guid. * Even though importing a mobile project a non-platform guid works in production and a workaround is available, *this makes testing in preprod with AppcStudio very difficult.* *Steps to reproduce:* # Download and unzip XMLModule.zip # Make sure you are pointing to *preprod* # Run: {{appc new --import --project-dir <PATH_TO>/XMLModule -l trace}} *Actual:* You will not be able to import the project. Login required error will be returned: {code} MonkeyLord:XML wluu$ ls QE Automator XMLModule XML_timob8953 MonkeyLord:XML wluu$ appc new --import --project-dir XMLModule -l trace Appcelerator Command-Line Interface, version 5.1.0-42 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. __command__ search paths: [ "/Users/wluu/.appcelerator/install/5.1.0-42/package", "/Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules", "/Users/wluu/fromGit/qe-FeatureTest/XML/node_modules", "/Users/wluu/fromGit/qe-FeatureTest/node_modules", "/Users/wluu/fromGit/node_modules", "/Users/wluu/node_modules", "/Users/node_modules", "/node_modules", "/Users/wluu/.appcelerator/.npm/lib/node_modules" ] [PLUGIN-LOAD] 1ms /Users/wluu/.appcelerator/install/5.1.0-42/package/appc.js [PLUGIN-LOAD] 380ms /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/appc-cli-titanium/appc.js [PLUGIN-LOAD] 1ms /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/arrow/appc.js log level set to "trace" executing command "new" Preproduction Environment Active set environment to {"registry":"https://software-preprod.cloud.appctest.com","security":"https://security-preprod.cloud.appctest.com","baseurl":"https://360-preprod.cloud.appctest.com"} checking credentials for existing session Attempting to load session info from config file check if session is invalidated session expiry 1447181641060 false Arrow Cloud config file: /Users/wluu/.acs found Arrow Cloud login { mid: '3e8e500eed0014075e9a77f8d20f588530f37118', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise-preprod.appctest.com', username: '[email protected]', cookie: [ 'connect.sid=s%3AJRKPO6kCgw4GA0cj7eNvvZVY.6Tz85LOBa79BUXRkKNT7numEiyaJWBA6cQwz%2FHpjHTo; Path=/; Expires=Tue, 17 Nov 2015 18:54:34 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise-preprod.appctest.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise-preprod.appctest.com Arrow Cloud cookie expiry [ 1447786474000 ] session already loaded in opts.session getCredentials() session: { "ipaddress": "10.0.12.200", "username": "[email protected]", "password": "<OMITTED>", "session": "<OMITTED>", "nonce": "<OMITTED>", "environment": { "name": "production", "isProduction": true, "acsBaseUrl": "https://preprod-api.cloud.appctest.com", "acsAuthBaseUrl": "https://dolphin-secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise-preprod.appctest.com" }, "token": "<OMITTED>", "fingerprint": "3e8e500eed0014075e9a77f8d20f588530f37118", "fingerprint_description": "Mac OSX Serial Number: C02JG4WDDV35", "org_id": 100001711, "expiry": 1447181641060 } loading plugins for command "new" new search paths: [ "/Users/wluu/.appcelerator/install/5.1.0-42/package", "/Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules", "/Users/wluu/fromGit/qe-FeatureTest/XML/node_modules", "/Users/wluu/fromGit/qe-FeatureTest/node_modules", "/Users/wluu/fromGit/node_modules", "/Users/wluu/node_modules", "/Users/node_modules", "/node_modules", "/Users/wluu/.appcelerator/.npm/lib/node_modules" ] [PLUGIN-LOAD] 0ms /Users/wluu/.appcelerator/install/5.1.0-42/package/appc.js [PLUGIN-LOAD] 126ms /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/appc-cli-titanium/appc.js new plugin: /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/appc-cli-titanium [PLUGIN-LOAD] 0ms /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/arrow/appc.js new plugin: /Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/arrow loading plugin "titanium" for command "new" CLI options via function loading plugin "arrow" for command "new" CLI options via array Duplicate option "name" for command "new", removing... Duplicate option "force" for command "new", removing... Duplicate option "services" for command "new", removing... Duplicate option "colors" for command "new", removing... executing command "new" with the following plugins: ["titanium","arrow"] Attempting to load session info from config file check if session is invalidated session expiry 1447181641060 false session already loaded in opts.session "/usr/local/bin/node" "/Users/wluu/.appcelerator/install/5.1.0-42/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json checking for titanium, result: { activeSDK: '5.1.0.v20151028190028', defaultInstallLocation: '/Users/wluu/Library/Application Support/Titanium', installLocations: [ '/Users/wluu/Library/Application Support/Titanium', '/Library/Application Support/Titanium' ], installed: { '5.1.0.v20151028190028': '/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.1.0.v20151028190028', '5.0.2.GA': '/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }, sdks: { '5.1.0.v20151028190028': { name: '5.1.0.v20151028190028', manifest: [Object], path: '/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.1.0.v20151028190028' }, '5.0.2.GA': { name: '5.0.2.GA', manifest: [Object], path: '/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' } } } after provision start app after provision app Titanium SDK (JavaScript) titanium titanium provisioned called app after provision start completed after provision completed Titanium SDK (JavaScript) titanium titanium provisioned called completed calling App.find on guid 2405184a-8944-4a4c-ba16-d25f9e2cb025 Unable to register the new app with Appcelerator Platform either due to limited connectivity or other unexpected problem. Please retry later using the command 'appc new --import --project-dir /path/to/project' { [Error: Login Required] success: false, description: 'Login Required', code: 401, internalCode: undefined } done with plugin undefined *** new completed. *** MonkeyLord:XML wluu$ appc whoami Appcelerator Command-Line Interface, version 5.1.0-42 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. Preproduction Environment Active [email protected] in organization qe_test_org_preprod_enterprise (100001711) MonkeyLord:XML wluu$ {code} *Expected:* Should be able to import a mobile project with a non-platform guid in preproduciton.
5
120
CLI-871
11/06/2015 00:49:37
Improve the download payload of appc-cli package by de-duping modules
Currently some modules like appc-platform-sdk are referenced at multiple instances, and there is no need to have multiple copies of same module. The build should run {{npm dedupe}} before shrinkwrap, so that it will aggregate into a higher package level.
5
121
CLI-874
11/10/2015 02:50:05
include acs 1.0.31
acs cli 1.0.30 had to be removed because it was published with code from master instead of 1.3.1. we republished 1.0.31. appc cli needs to be updated as well.
3
122
CLI-875
11/11/2015 20:09:32
appc use command should allow --prerelease option
{{appc use}} command will receive only stable versions by default. If the user wants to pull prerelease versions as well as part of appc use command, then they should use a new option such as {{--prerelease}}.
5
123
CLI-881
11/16/2015 22:33:58
If you create an Arrow project with European character sets, then the next prompt will be "What is the api name?"
*Details:* If you create an Arrow project with European character sets, then the next prompt will be "What is the api name?". *Steps to reproduce:* # In terminal, run {{appc new}} # Select Arrow App # Create a project name with European characters like umlaut u *Actual:* "What is the api name?" prompt appears; see attachment. *Expected:* The "What is the api name?" prompt should not appear when you create an Arrow project.
2
124
CLI-882
11/16/2015 22:39:04
Cannot create an Arrow project with DEBUG=* and -l trace
*Details:* Cannot create an Arrow project with DEBUG=* and -l trace. *Note:* This is a *regression* from 5.0.4 core. *Steps to reproduce:* # In terminal, run {{DEBUG=* appc new -l trace}} # Select Arrow App # Specify a name for your project *Actual:* Arrow project will fail to be created: {code} 2015-11-16T21:57:59.545Z | ERROR | ReferenceError: ejs:5 3| "description":"<%=description%>", 4| "version": "1.0.0", >> 5| "author": "<%=author%>", 6| "license": "", 7| "framework": "none", 8| "keywords": [ author is not defined at eval (eval at <anonymous> (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:464:12), <anonymous>:17:23) at returnedFn (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:493:17) at Object.exports.render (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:315:37) at copyFile (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:322:13) at copyFileCallback (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:305:6) at Array.forEach (native) at readdirCallback (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:299:13) at /Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/wrench/lib/wrench.js:108:13 at FSReqWrap.oncomplete (fs.js:82:15) appc:run signal received +1m exit sending to ChildProcess { domain: null, _events: { close: [Function] }, _eventsCount: 1, _maxListeners: undefined, _closesNeeded: 1, _closesGot: 1, connected: false, signalCode: null, exitCode: 1, killed: false, spawnfile: '/usr/local/bin/node', _handle: null, spawnargs: [ '/usr/local/bin/node', '/Users/wluu/.appcelerator/install/5.1.0-58/package/bin/appc', 'new', '-l', 'trace' ], pid: 11121, stdin: null, stdout: null, stderr: null, stdio: [ null, null, null ] } {code} *Expected:* You should be able to create an Arrow project with DEBUG=* and -l trace.
5
125
CLI-885
11/18/2015 22:45:59
Appc new should be more cautious when unable to read Ti activeSDK value
When appc new failed to retrieve active Ti SDK version, following error occurred with the command {{appc new}} {code} ERROR | Cannot read property 'split' of undefined {code} h5. Reproduce steps 1. appc use 5.1.0 2. remove/rename {{.titanium/config.json}} 3. remove/rename {{Application Support/Titanium/mobilesdk}} 4. appc new h5. Expected result you should see the following prompt instead of the undefined error {code} ? What type of project are you creating? (Use arrow keys) ❯ Native App Arrow App Titanium Module {code} h5. Actual result Project type selection prompt is not shown, and process errors out: {{ERROR | Cannot read property 'split' of undefined}}
1
126
CLI-889
11/19/2015 22:20:02
Windows: Using Node 4.2.2 32-bit results in failure to login
h5. Description: NOT a regression, as this occurs with CLI 5.0.4.GA as well. DOES NOT occur with Node 4.2.2 64-bit While trying to login on Windows with Node 4.2.2 installed, after org selection we get an error: {code} { [Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80] code: 'ECONNRESET' } 2015-11-19T21:22:37.199Z | ERROR | Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 at ClientRequest.onError (C:\Users\Steve Ballmer\.appcelerator\install\5.1.0-60\package\node_modules\request\node_modules\tunnel-agent\index.js:174:17) at ClientRequest.g (events.js:260:16) at emitOne (events.js:77:13) at ClientRequest.emit (events.js:169:7) at Socket.socketErrorListener (_http_client.js:259:9) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at emitErrorNT (net.js:1253:8) at doNTCallback2 (node.js:441:9) at process._tickCallback (node.js:355:17) {code} h5. Steps to reproduce: 1) Install Node 4.2.2 32-bit on a windows machine 2) Run {{appc login}} 3) Enter credentials and select an org h5. Result: Failure as see above h5. Expected Result: Successful login
5
127
CLI-893
12/01/2015 20:01:24
CLI fails to find core dependencies, incorrect location.
h5. Description: Appc CLI fails to find the core dependencies as they are not located in the correct path: {code:java} module.exports = { 'appc-cli-titanium': [ 'alloy', 'titanium', 'appc-security', 'appc-platform-sdk', 'appc-inquirer', 'node-appc' ], {code} When checking the node_modules folder under apps-cli-titanium, the following modules are missing: {{alloy , titanium , appc-security , node-appc}} h5. Steps to reproduce: 1. appc use 5.2.0-131 2. navigate to cli folder ( Default location on OSX: {{/Users/harrybryant/.appcelerator/install/5.2.0-131/package/node_modules/appc-cli-titanium/node_modules}} ) 3. compare the above list of required modules to the modules found in the path location from step 2. h5. Result: Missing modules: {{alloy , titanium , appc-security , node-apps}} h5. Expected Result: Missing modules should be placed under path: {{/Users/harrybryant/.appcelerator/install/5.2.0-131/package/node_modules/appc-cli-titanium/node_modules}}
8
128
CLI-895
12/02/2015 18:54:58
CLI should not honor invalid url in proxy settings
Studio might be writing down an invalid URL in the proxy configuration such as {{"proxyServer": "https://null”}} CLI should not attempt to make a connection using this invalid URL, and it should rather attempt to remove the URL from its configuration.
5
129
CLI-898
12/04/2015 02:32:26
In production, "appc use" should not display all 100 published cores in a list
*Details:* Currently in production, if you run {{appc use}}, 100 published cores are displayed in a list: {code} MonkeyLord:~ wluu$ appc use The following versions are available: 5.2.0-55 Not Installed 5.1.0 Installed (Latest) (Active) 5.0.4 Installed 5.0.3 Not Installed 5.0.2 Not Installed 5.0.1 Not Installed 5.0.0 Not Installed 4.1.3 Not Installed 4.1.2 Not Installed 4.1.1 Not Installed 4.1.0 Not Installed 5.0.0-50 Not Installed 5.0.0-40 Not Installed 4.0.2 Not Installed 4.1.0-0 Not Installed 4.0.1 Not Installed 4.0.0 Not Installed 4.0.0-rc Not Installed 1.2.123 Not Installed 0.2.285 Not Installed 0.2.283 Not Installed 0.2.282 Not Installed 0.2.276 Not Installed 0.2.273 Not Installed 0.2.255 Not Installed 0.2.247 Not Installed 0.2.246 Not Installed 0.2.242 Not Installed 0.2.241 Not Installed 0.2.230 Not Installed 0.2.229 Not Installed 0.2.228 Not Installed 0.2.227 Not Installed 0.2.226 Not Installed 0.2.225 Not Installed 0.2.224 Not Installed 0.2.223 Not Installed 0.2.222 Not Installed 0.2.221 Not Installed 0.2.220 Not Installed 0.2.219 Not Installed 0.2.218 Not Installed 0.2.217 Not Installed 0.2.216 Not Installed 0.2.215 Not Installed 0.2.214 Not Installed 0.2.213 Not Installed 0.2.212 Not Installed 0.2.210 Not Installed 0.2.209 Not Installed 0.2.208 Not Installed 0.2.207 Not Installed 0.2.204 Not Installed 0.2.203 Not Installed 0.2.201 Not Installed 0.2.200 Not Installed 0.2.199 Not Installed 0.2.198 Not Installed 0.2.198 Not Installed 0.2.197 Not Installed 0.2.196 Not Installed 0.2.195 Not Installed 0.2.192 Not Installed 0.2.191 Not Installed 0.2.187 Not Installed 0.2.186 Not Installed 0.2.185 Not Installed 0.2.183 Not Installed 0.2.182 Not Installed 0.2.181 Not Installed 0.2.181 Not Installed 0.2.180 Not Installed 0.2.179 Not Installed 0.2.178 Not Installed 0.2.177 Not Installed 0.2.176 Not Installed 0.2.175 Not Installed 0.2.174 Not Installed 0.2.173 Not Installed 0.2.172 Not Installed 0.2.170 Not Installed 0.2.169 Not Installed 0.2.101 Not Installed 0.2.101 Not Installed 0.2.101 Not Installed 0.2.100 Not Installed 0.2.99 Not Installed 0.2.98 Not Installed 0.2.97 Not Installed 0.2.96 Not Installed 0.2.95 Not Installed 0.2.46 Not Installed 0.2.45 Not Installed 0.2.45 Not Installed 0.2.44 Not Installed 0.2.43 Not Installed 0.2.42 Not Installed 0.2.41 Not Installed 0.2.40 Not Installed 0.2.39 Not Installed {code} This seems very unsightly and overwhelming. To make the list seem more manageable: * The list should only display the latest ten published cores like before. * *Or,* the list should be displayed in multiple columns. * *Or,* there should be a pagination system either through flags or interactive prompting.
0
130
CLI-899
12/04/2015 19:08:28
Components being published with prerelease option should match version format m.m.p-x
The components such as appc-cli can now be published with prerelease option even with a version such as 4.0.0. However, according to the prerelease semantic versioning policy, the components should match version format m.m.p-x for being published with prerelease option. If the version is not matched with that format, then CLI should throw error message and should not publish.
5
131
CLI-901
12/07/2015 13:20:31
Windows: appc-ti stdio can sometimes not register input
On Windows, I found when attempting to switch SDKs using: {code} appc ti sdk select {code} That my input was not registered and my SDK was never changed. Although the documentation for [stdio|https://nodejs.org/api/child_process.html#child_process_options_stdio] says _inherit_ is the same as _process.stdin/stdout_, replacing the current {{[process.stdin, process.stdout, 'pipe']}} with {{['inherit', 'inherit', 'pipe']}} solves the problem.
3
132
CLI-908
12/11/2015 21:28:44
NPM 3 Flat node_modules Breaks CLI
cli and appc-cli-titanium, at the very least, have paths inside of them that depend on nested node_modules. With npm 3, all of the dependencies and their dependencies are flatly stored in the one node_modules directory, which breaks these references in our code. We need to be less brittle with these references. To reproduce, I am able to simply `appc use 5.2.0-155`, then try to do something like `appc ti clean` and you should see an error about not being able to find `node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium`.
3
133
CLI-914
12/29/2015 20:29:56
Jailbreak detection fails with <property name="appc-sourcecode-encryption-policy" type="string">embed</property>
An application will launch on a jailbroken device with the following property: {code} <property name="appc-sourcecode-encryption-policy" type="string">embed</property> {code} *Expected behavior* Application closes or displays security exception splash screen *Actual behavior* Application loads regardless of jailbroken state *Tested against the following* iPhone 6 @ 9.0.2 fails to detect JB with embed policy iPhone 4s @ 7.1.0 fails to detect JB with embed policy *SDK and environment* appc ti sdk -> 5.1.1.GA tiapp.xml sdk -> 5.1.1.GA *Steps to test* 1) Open test app // vanilla alloy application 2) Add valid GUID 3) run {code} appc run -p ios -T device {code} 4) Record if the app launches on a jailbroken device *Attached files* Example application // guid stripped from tiapp.xml
2
134
CLI-921
01/14/2016 19:28:37
Appc alloy -v returns error
When trying to run {{appc alloy -v}} I get the below error {code} Cannot find expected binary at /Users/Eric/.appcelerator/install/5.2.0-220/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/Eric/.appcelerator/install/5.2.0-220/package is invalid for version 5.2.0-220 [com.appcelerator.install.binary.missing] {code} *Steps to reproduce issue* 1. Run {{appc alloy -v}} *Actual results* I get the above error *Expected results* My alloy version is returned
5
135
CLI-924
01/15/2016 20:31:13
appc-security-jailbreak-detect does not prevent application launch on rooted Android device
[Documentation|http://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-29004921_tiapp.xmlandtimodule.xmlReference-appc-security-jailbreak-detect] specifically says android rooted devices. {quote} The special property appc-security-jailbreak-detect can be used to increase the security of your application by preventing the mobile app from running on a Jailbroken (iOS) or rooted (Android) device. {quote} In my testing this does not work. h2. Steps to reproduce h3. Create app {code} appc new ... choose mobile ... chose android ... ID is com.seth.jailbreak cd jailbreak {code} h2. Add properties just to be extra sure that the properties in enabled // note I test with no properties too {code} <?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> <id>com.seth.jailbreak</id> <name>JailbreakApp</name> <version>1.0</version> <publisher>not specified</publisher> <url></url> <description></description> <copyright>not specified</copyright> <icon>appicon.png</icon> <fullscreen>false</fullscreen> <navbar-hidden>false</navbar-hidden> <analytics>true</analytics> <guid>d57bfc79-1587-443f-8244-359bc960bafa</guid> <property name="ti.ui.defaultunit" type="string">dp</property> <property name="appc-security-debugger-detect">true</property> <property name="appc-security-jailbreak-detect">true</property> <property name="appc-sourcecode-encryption-policy" type="string">remote</property> <ios>... {code} h2. Build the app {code} appc run -p android -T device // builds {code} h3. Launch Open the app on the device h3. Expected vs Actual *Expected* App closes right away or doesn't open *Actual* App opens and works like a normal app
5
136
CLI-926
01/25/2016 18:18:37
Error during arrow app publishing: unknown option `--username' with CLI 5.2.0-233
--username argument is not recognised with CLI 5.2.0-233 {code:java} kondals-MacBook-Pro:test22 kondalkolipaka$ appc publish --username [email protected] --password xxxxx Appcelerator Command-Line Interface, version 5.2.0-233 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. error: unknown option `--username' {code}
2
137
CLI-928
02/03/2016 21:57:50
9.2.1 iPhone crashes when jailbreak-detect is enabled
A customer has reported that a test app (source code attached) will crash on an iOS device at 9.2.1 when jailbreak-detect is setup in tiapp.xml *Environment info* SDK 5.1.2.GA CLI 5.1.0 *Tested devices* iPhone @ 9.2.1 *Test Case* {code} DEBUG=* appc run --target device --platform ios -l trace {code} *Expected Result* App runs basic hello world app *Actual Result* App crashes, no useful logs appear in the console {code} [DEBUG] Reading stylesheet from: /var/mobile/Containers/Bundle/Application/810F5C40-ADF9-4B4B-A89F-F0FCCF970643/JailbreakCrash.app/stylesheet.plist [INFO] JailbreakCrash/1.0 (5.1.2.ca822b2) [DEBUG] Loading: /var/mobile/Containers/Bundle/Application/810F5C40-ADF9-4B4B-A89F-F0FCCF970643/JailbreakCrash.app/app.js, Resource: app_js {code}
8
138
CLI-931
02/04/2016 08:07:28
Alloy/Titanium via Unified CLI exits with code 0 while child process exits with 1
As "reported" on Twitter (https://twitter.com/ercpe/status/694852549652975616), the cli interface always exits with code 0, even on build errors which makes executing it as a part of continuous integration nearly impossible. Setup: Linux, 64 bit (haven't tried to run the build on a Mac yet). I haven't done the initial installation of appcelerator myself, but appcelerator and titanium appears to be installed in the global node_modules directory: {noformat}jenkins@jbs04 ~ $ ll /usr/bin/ti lrwxrwxrwx 1 root root 41 3. Feb 12:35 /usr/bin/ti -> ../lib/node_modules/titanium/bin/titanium jenkins@jbs04 ~ $ ll /usr/bin/appc lrwxrwxrwx 1 root root 41 3. Feb 09:28 /usr/bin/appc -> ../lib/node_modules/appcelerator/bin/appc {noformat} Whenever i call {{appc}} or {{ti}} the binary exits with 0: {noformat} jenkins@jbs04 ~/workspace/REDACTED $ appc ti build --platform android --deploy-type production --target dist-playstore --keystore some.keystore --store-password REDACTED --key-password REDACTED Appcelerator Command-Line Interface, version 5.1.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. [ERROR] JDK (Java Development Kit) not found. [ERROR] If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set. [ERROR] The JDK can be downloaded and installed from http://appcelerator.com/jdk. jenkins@jbs04 ~/workspace/REDACTED $ echo $? 0 {noformat} {noformat}jenkins@jbs04 ~/workspace/REDACTED $ appc ti build --platform android --deploy-type production --target dist-playstore --keystore ~/.cit-secure/android.keystore --store-password REDACTED --key-password REDACTED Appcelerator Command-Line Interface, version 5.1.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Where would you like the output APK file saved? [/var/jenkins/workspace/REDACTED/dist]: Thu Feb 04 2016 08:07:28 GMT+0100 (CET) Operating System Name = GNU/Linux Version = Architecture = 64bit # CPUs = 8 Memory = 16803028992 Node.js Node.js Version = 0.10.30 npm Version = 1.4.21 Titanium CLI CLI Version = 5.0.5 Titanium SDK SDK Version = 5.1.1.GA SDK Path = /var/jenkins/.titanium/mobilesdk/linux/5.1.1.GA Target Platform = android Command /usr/bin/node /var/jenkins/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform android --deploy-type production --target dist-playstore --keystore some.keystore --store-password REDACTED --key-password REDACTED--config-file /tmp/build-1454569642926.json --log-level info --no-banner ... [ERROR] Could not find all required Titanium Modules: [ERROR] id: REDACTED version: latest platform: android deploy-type: production [ERROR] id: REDACTED version: latest platform: android deploy-type: production [ERROR] id: REDACTED version: latest platform: android deploy-type: production jenkins@jbs04 ~/workspace/REDACTED $ echo $? 0{noformat} Executing the {{node}} command line from the output above fails because of the missing config json but uses a proper exit code: {noformat} jenkins@jbs04 ~/workspace/REDACTED $ /usr/bin/node /var/jenkins/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform android --deploy-type production --target dist-playstore --keystore some.keystore --store-password REDACTED --key-password REDACTED --log-level info --no-banner; echo $? [INFO] tiapp.xml <sdk-version> set to 5.1.1.GA, but current Titanium SDK set to 5.1.2.GA [INFO] Forking correct SDK command: "/usr/bin/node" "/var/jenkins/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" "build" "--sdk" "5.1.1.GA" "--no-banner" "--config-file" "/var/jenkins/.titanium/config.json" "--platform" "android" "--project-dir" "." "--log-level" "info" "--android-sdk" "/opt/android-sdk-linux" "--deploy-type" "production" "--key-password" "*******" "--keystore" "some.keystore" "--store-password" "*******" "--target" "dist-playstore" [ERROR] Unable to open config file "/var/jenkins/.titanium/config.json" [ERROR] Failed to backup the config file, please manually rename/remove it 1 {noformat}
3
139
CLI-941
02/04/2016 21:48:29
Running appc access get on an unpublished app won't throw correct error
h5. Description Trying to run this command should throw up an incorrect error. h5. Steps to Reproduce 1. Create a connector 2. Run appc access get before publishing h5. Expected Results Error to appear along the lines of "The server returned an empty response. Note that components that have not been published yet will return empty responses like this." h5. Actual Result Error thrown says "No matching component!"
5
140
CLI-933
02/09/2016 00:27:16
Unable to unpublish appc-cli from registry
# Log into the production registry # Do `appc use` # Find a 0.2.X-era CLI # `appc unpublish appc-cli/appcelerator@<version>` Error: "ERROR | No component found or specified for unpublish"
5
141
CLI-1027
02/09/2016 17:13:18
Alloy: CodeAssist in the Appcelerator Studio does not work
When I try to type Alloy. in my controller (index.js), I expect to get CodeAssist options for type ahead. But that does not seem be working in my Studio instance. It works when I type Ti. but does not work for Alloy.
5
142
CLI-934
02/09/2016 20:12:28
Output warning message if appc-install is less than 4.2.3-2
AppC CLI 5.2.0 requires appc-install 4.2.3 to work, refer to linked issues for details.
1
143
CLI-936
02/10/2016 18:38:37
If you use "-o json", then text is returned along with the JSON data
*Details:* If you use "-o json", then text is returned along with the JSON data. *Notes:* * This is a *regression* from Appc CLI Core 5.1.0. * This is *affecting Studio* from running an Android project; see no_android.png and no_android2.png attachments and see stack trace from Studio: {code} !STACK 0 Unexpected character (A) at position 0. at org.json.simple.parser.Yylex.yylex(Yylex.java:611) at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:270) at org.json.simple.parser.JSONParser.parse(JSONParser.java:119) at org.json.simple.parser.JSONParser.parse(JSONParser.java:82) at org.json.simple.parser.JSONParser.parse(JSONParser.java:76) at com.appcelerator.titanium.android.core.AndroidSDKLocator.loadTiInfo(AndroidSDKLocator.java:841) at com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:224) at com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:222) at com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} * This is *affecting Studio* from launching the dashboard: {code} !ENTRY com.aptana.core 1 0 2016-02-10 10:56:06.699 !MESSAGE (Build 4.5.0.201602100601) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/local/bin/appcelerator" "platform" "sso" "https://appc-studio.appcelerator.com/" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "--prompt-type" "socket-bundle" "--prompt-port" "54616" "--username" "[email protected]" "--password" "**********" Working directory: / Environment: {ANALYTICS_SOURCE=studio, APTANA_VERSION=4.5.0.1446607552, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.9i7gwlu4vz/Render, HOME=/Users/wluu, JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home, LANG=en_US.UTF-8, LOGNAME=wluu, PATH=/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Applications/android-sdk-macosx/tools:/Applications/android-sdk-macosx/platform-tools:/Applications/VMware Fusion.app/Contents/Library/:/Users/wluu/mongodb-osx-x86_64-2.6.7/bin:/usr/local/mysql-5.6.25-osx10.8-x86_64/bin:/Applications/apache-ant-1.9.6/bin, PWD=/, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.azqUFO1GOB/Listeners, STUDIO_NAME=Appcelerator Studio, STUDIO_PRODUCT_ID=com.appcelerator.titanium.rcp.product, STUDIO_VERSION=4.5.0.201602100601, TMPDIR=/var/folders/g9/bw6h6yr11t79h_mw4q1r87pm0000gp/T/, USER=wluu, XPC_FLAGS=0x0, XPC_SERVICE_NAME=0, __CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0} !ENTRY com.aptana.core 1 0 2016-02-10 10:56:07.556 !MESSAGE (Build 4.5.0.201602100601) [INFO] com.aptana.core/debug/shell/output Process Output: AppC CLI requires [email protected] or newer. To install the latest version: [sudo] npm install appcelerator -g https://security-preprod.cloud.appctest.com/auth/8eb4c9fe4f987748ca18c4fd0e3f0a2862ef1482%20XYDL%2F5StdTj1xqmH15lAQao6IXIZ0dSsNHNO0pV1OZ93zYVWOmFeEZqBiJGoRL7AaZF%2BsXQVHXayDpNIUT6gsHRDoPdE8z3yXKoeZ7iafcXDS%2BgYwZcWUihsQnHac52bjXJZLQgwjn4x1Fr7qD20Z5rSNQxT%2FN%2BvsKR8jb4DAFwpKC2I8pSuH7ZXcZupqncNl%2FT2LAWSu%2FWaXZCKcihs%2F7tmMkNOSBI7RduiCalMxE%2Bie9UPwvzwRVfkIvIC1B5G0kfhYxTixWZwIC30VZvPlVFmYHqB0sCeuYpqZrYmyNOLGPMuxGyb5aRL6%2F9RQG%2FgkKKjk7QMqT5aMNbWvL%2BJtjgrj1YggYbR79mtCzR5ZHromtSjRbBER6%2Bp7u3RSTWS9g8b8lwuvLviJZwwIu056hNTjxLIYDudoJ2aA0lPaRxvB2Xh39MN8G3ltWg7h2eYCtoFEWADVrX1RXbjmPY5hX4oPfxaRGYLfLSge6FmqkMNlZ%2F1HWdPXKcgHyA1GMvcObQRswSVGPmFcZQcim5FM9wHaDydgqwr2T8MtfwZqpEE2mNqLPuM%2F7JZC7%2FnzFJn7CDYuk2%2FihQaDfeWfCkMPOi3Eu42LAwwMqHg18xY7fw8fGD3ppE%2FaTizwlXeMoWzeOKWfLXtN3aQgDeKBzga8bzNg1MlQH4XI%2B3Pb2pYlGvsmXanKcdnfpdjkd2QZa%2BskZl42RsJpaRgRzT20iUylI0rfMR89xvCb%2BhYZ4S%2FZSA1U0%2FX4H1p%2BgKRX4zdqq5DAqGY0b7FxA%2B3ndKb9Z8tOQ%3D%3D?redirect=https%3A%2F%2Fappc-studio.appcelerator.com%2F !ENTRY com.appcelerator.titanium.ui 4 0 2016-02-10 10:56:07.557 !MESSAGE (Build 4.5.0.201602100601) [ERROR] no protocol: AppC CLI requires [email protected] or newer. To install the latest version: [sudo] npm install appcelerator -g https://security-preprod.cloud.appctest.com/auth/8eb4c9fe4f987748ca18c4fd0e3f0a2862ef1482%20XYDL%2F5StdTj1xqmH15lAQao6IXIZ0dSsNHNO0pV1OZ93zYVWOmFeEZqBiJGoRL7AaZF%2BsXQVHXayDpNIUT6gsHRDoPdE8z3yXKoeZ7iafcXDS%2BgYwZcWUihsQnHac52bjXJZLQgwjn4x1Fr7qD20Z5rSNQxT%2FN%2BvsKR8jb4DAFwpKC2I8pSuH7ZXcZupqncNl%2FT2LAWSu%2FWaXZCKcihs%2F7tmMkNOSBI7RduiCalMxE%2Bie9UPwvzwRVfkIvIC1B5G0kfhYxTixWZwIC30VZvPlVFmYHqB0sCeuYpqZrYmyNOLGPMuxGyb5aRL6%2F9RQG%2FgkKKjk7QMqT5aMNbWvL%2BJtjgrj1YggYbR79mtCzR5ZHromtSjRbBER6%2Bp7u3RSTWS9g8b8lwuvLviJZwwIu056hNTjxLIYDudoJ2aA0lPaRxvB2Xh39MN8G3ltWg7h2eYCtoFEWADVrX1RXbjmPY5hX4oPfxaRGYLfLSge6FmqkMNlZ%2F1HWdPXKcgHyA1GMvcObQRswSVGPmFcZQcim5FM9wHaDydgqwr2T8MtfwZqpEE2mNqLPuM%2F7JZC7%2FnzFJn7CDYuk2%2FihQaDfeWfCkMPOi3Eu42LAwwMqHg18xY7fw8fGD3ppE%2FaTizwlXeMoWzeOKWfLXtN3aQgDeKBzga8bzNg1MlQH4XI%2B3Pb2pYlGvsmXanKcdnfpdjkd2QZa%2BskZl42RsJpaRgRzT20iUylI0rfMR89xvCb%2BhYZ4S%2FZSA1U0%2FX4H1p%2BgKRX4zdqq5DAqGY0b7FxA%2B3ndKb9Z8tOQ%3D%3D.html?redirect=https%3A%2F%2Fappc-studio.appcelerator.com%2F !STACK 0 java.net.MalformedURLException: no protocol: AppC CLI requires [email protected] or newer. To install the latest version: [sudo] npm install appcelerator -g https://security-preprod.cloud.appctest.com/auth/8eb4c9fe4f987748ca18c4fd0e3f0a2862ef1482%20XYDL%2F5StdTj1xqmH15lAQao6IXIZ0dSsNHNO0pV1OZ93zYVWOmFeEZqBiJGoRL7AaZF%2BsXQVHXayDpNIUT6gsHRDoPdE8z3yXKoeZ7iafcXDS%2BgYwZcWUihsQnHac52bjXJZLQgwjn4x1Fr7qD20Z5rSNQxT%2FN%2BvsKR8jb4DAFwpKC2I8pSuH7ZXcZupqncNl%2FT2LAWSu%2FWaXZCKcihs%2F7tmMkNOSBI7RduiCalMxE%2Bie9UPwvzwRVfkIvIC1B5G0kfhYxTixWZwIC30VZvPlVFmYHqB0sCeuYpqZrYmyNOLGPMuxGyb5aRL6%2F9RQG%2FgkKKjk7QMqT5aMNbWvL%2BJtjgrj1YggYbR79mtCzR5ZHromtSjRbBER6%2Bp7u3RSTWS9g8b8lwuvLviJZwwIu056hNTjxLIYDudoJ2aA0lPaRxvB2Xh39MN8G3ltWg7h2eYCtoFEWADVrX1RXbjmPY5hX4oPfxaRGYLfLSge6FmqkMNlZ%2F1HWdPXKcgHyA1GMvcObQRswSVGPmFcZQcim5FM9wHaDydgqwr2T8MtfwZqpEE2mNqLPuM%2F7JZC7%2FnzFJn7CDYuk2%2FihQaDfeWfCkMPOi3Eu42LAwwMqHg18xY7fw8fGD3ppE%2FaTizwlXeMoWzeOKWfLXtN3aQgDeKBzga8bzNg1MlQH4XI%2B3Pb2pYlGvsmXanKcdnfpdjkd2QZa%2BskZl42RsJpaRgRzT20iUylI0rfMR89xvCb%2BhYZ4S%2FZSA1U0%2FX4H1p%2BgKRX4zdqq5DAqGY0b7FxA%2B3ndKb9Z8tOQ%3D%3D.html?redirect=https%3A%2F%2Fappc-studio.appcelerator.com%2F at java.net.URL.<init>(URL.java:585) at java.net.URL.<init>(URL.java:482) at java.net.URL.<init>(URL.java:431) at com.appcelerator.titanium.ui.dashboard.DashboardManager$1$1.run(DashboardManager.java:207) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) {code} *Steps to reproduce:* # Create a Titanium mobile project # In the mobile project, run {{appc ti project -o json}} *Actual:* The warning message appears along with the JSON data: {code} MonkeyLord:monkeyDroid wluu$ appc ti project -o json AppC CLI requires [email protected] or newer. To install the latest version: [sudo] npm install appcelerator -g { "deployment-targets": { "android": true, "ipad": true, "iphone": true, "mobileweb": true, "windows": true }, "sdk-version": "5.2.0.v20160209210348", "id": "com.appc.droid", "name": "monkeyDroid", "version": "1.0", "publisher": "not specified", "url": "unspecified", "description": "", "copyright": "not specified", "icon": "appicon.png", "analytics": true, "guid": "1e6280d1-e52b-49df-9ccc-624358910215" } {code} *Expected:* Only JSON data should appear; no warning messages.
1
144
CLI-940
02/11/2016 23:42:29
iOS: Unable to package project. 'Undefined is not a function'
When trying to package a project for iOS, store or adhoc, I receive the following error: {code} 2016-02-11T23:38:06.145Z | ERROR | An uncaught exception was thrown! undefined is not a function 2016-02-11T23:38:06.147Z | ERROR | undefined is not a function 2016-02-11T23:38:06.149Z | TRACE | TypeError: undefined is not a function at executeCommand (/Users/Eric/.appcelerator/install/5.2.0-255/package/lib/core.js:402:79) at Object.checkLoginAndLoadPlugins (/Users/Eric/.appcelerator/install/5.2.0-255/package/lib/core.js:381:9) at Command.<anonymous> (/Users/Eric/.appcelerator/install/5.2.0-255/package/bin/commands/run.js:44:14) at Command.<anonymous> (/Users/Eric/.appcelerator/install/5.2.0-255/package/lib/commander.js:98:13) at Command.listener (/Users/Eric/.appcelerator/install/5.2.0-255/package/node_modules/commander/index.js:301:8) at Command.emit (events.js:110:17) at Command.parseArgs (/Users/Eric/.appcelerator/install/5.2.0-255/package/node_modules/commander/index.js:615:12) at Command.parse (/Users/Eric/.appcelerator/install/5.2.0-255/package/node_modules/commander/index.js:458:21) at Command.program.parse (/Users/Eric/.appcelerator/install/5.2.0-255/package/lib/commander.js:66:15) at Object.<anonymous> (/Users/Eric/.appcelerator/install/5.2.0-255/package/bin/appc:162:27) {code} *Steps to reproduce issue* 1. Create a new project (Classic or Alloy) 2. Try to package the project for App Store or Adhoc *Expected Results* The project is packaged successfully without error. *Actual Results* The above error is encountered and packaging fails. *Notes* Packaging from the CLI is working as expected. No Studio logs are generated.
5
145
CLI-943
02/23/2016 09:10:05
Core 5.2.0 displays incorrect/confusing warning if NPM is still < 4.2.3
We hard-coded a minimum version for the NPM part of the CLI, but haven't updated it to use the GA so it's still asking for 4.2.3-2. We need CLI-757 and CLI-696 resolved to prevent this in the future.
2
146
CLI-945
02/23/2016 22:22:10
APPC publish should honor --no-prompt flag
{{appc publish --no-prompt}} flag should be honored, and if used there should be no prompts.
3
147
CLI-949
02/27/2016 03:04:30
Windows: config files are written to different drive than process.env.HOME
On Windows, some users are not able to create an arrow app from a different drive than the home drive. This may also happen when {{HOME}} is not set initially, in either case appc will fallback to {{HOMEPATH}}. On Windows {{HOMEPATH}} is relative path. \\ h5. Reproduce steps 1. appc use 5.2.0 2. appc logout 3. go to another drive 4. create an arrow appc \\ h5. Expected result An arrow app should be created after login \\ h5. Actual result `ERROR | Error: You are not logged in. Please login again.`
5
148
CLI-950
02/27/2016 03:57:02
Process doesn't cleanup children in certain scenarios
While running the arrow unit tests from the CLI, some of the cluster tests fail because the cli isn't properly given the arrow run plugin the time to run it's process exit handlers - orphaning child processes created by the plugin.
8
149
CLI-952
03/02/2016 02:56:08
unpublish "version" flag confusion
See attached screenshot. The CLI docs say you can use the flag --version when unpublishing a version but per the screenshot..it doesn't recognize it exists. When you use the flag "--ver" it does work however. Either both should work (as the docs indicate) or make one work and remove the indication that both should work.
5
150
CLI-954
03/03/2016 13:45:10
Install Appcelerator CLI - package wasn't found in unpacked tree
I'm getting the following warnings when running sudo npm install appcelerator -g. {code}sudo npm i -g appcelerator npm WARN installMany request was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany chalk was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany progress was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany tar was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany which was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany debug was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany lodash was bundled with [email protected], but bundled package wasn't found in unpacked tree npm WARN installMany request was bundled with [email protected], but bundled package wasn't found in unpacked tree /usr/local/bin/appc -> /usr/local/lib/node_modules/appcelerator/bin/appc /usr/local/bin/appcelerator -> /usr/local/lib/node_modules/appcelerator/bin/appc [email protected] /usr/local/lib/node_modules/appcelerator β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] ([email protected]) β”œβ”€β”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) β”œβ”€β”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) β”œβ”€β”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) β”œβ”€β”€ [email protected] ([email protected], [email protected], [email protected]) └── [email protected]{code} The CLI still finished install and works OK http://stackoverflow.com/questions/35626627/cannot-install-appcelerator-cli-package-wasnt-found-in-unpacked-tree
3
151
CLI-955
03/03/2016 20:20:23
CLI should not tell a user to install a pre-release CLI as an update from a GA version
h5.Description When telling a user that there is a new CLI we currently will tell them to update to a pre-release version. We should only tell a user to update if the version is not pre-release. See the below. {code} A new update (5.2.0-265) is available... Download with appc use 5.2.0-265 Appcelerator Command-Line Interface, version 5.2.0 {code} In the updateCheck method we appear to be [calling the|https://github.com/appcelerator/appc-install/blob/master/lib/util.js#L747] {{api/appc/list}} endpoint, we should either filter the pre-release CLIs from this using the prerelease parameter or we should use the {{api/appc/latest}} endpoint. *This also shows that the logic used is incorrect or does not compare the actual version numbers as 5.2.0-265 should not be considered an update to 5.2.0* h5.Steps to reproduce 1. Remove the lastUpdateCheck property from your appc-cli.json file 2. Run an appc command such as {{appc config}} h5.Actual result 1. The following will be printed out, prompting the user to update to a pre-release version {code} A new update (5.2.0-265) is available... Download with appc use 5.2.0-265 Appcelerator Command-Line Interface, version 5.2.0 {code} h5.Expected result 1. We should only prompt a user to update to if the version is not pre-release
3
152
CLI-957
03/04/2016 18:46:03
Unable to build modules from Appc CLI
I am unable to build modules from the Appc CLI. *Steps to reproduce issue* 1. Create a new module using: {{appc new -n testMod --id com.appc.testmod}} 2. When prompted, select "Titanium Module" 3. {{cd}} into {{testMod/iphone}} 4. Build the module with {{appc run -p ios --build-only}} or {{appc ti build -p ios --build-only}} *Actual Results* The module fails to build with respective errors: {{ERROR | No valid targets for run. Are you in a project folder?}} and {{[ERROR] Unable to find "undefined" module}} *Expected Results* The module build succeeds without issue, like the Titanium CLI command will: {{ti build -p ios --build-only}}
3
153
CLI-963
03/09/2016 19:10:37
CLI: enable template options when creating Alloy project
At the moment there is no way to create the {{two_tabbed}} alloy project from CLI, a strongly desired feature related to linked tickets. Command to use: {{appc new -t titanium --template two_tabbed}}
3
154
CLI-969
03/17/2016 22:41:26
If you install Appc CLI Core >= 5.2.1-3, then a corrupted appcelerator tgz will appear in the package folder
*Details:* In preprod, if you install Appc CLI Core >= 5.2.1-3, then a corrupted appcelerator tgz will appear in the package folder. *Notes:* * This does not occur with Appc CLI Core 5.2.0. * On preprod, Appc CLI Cores < 5.2.1-3 does not contain the corrupted .tgz file. * It does not seem to be the Appc CLI Core itself. *Steps to reproduce:* # Go to preprod # Run {{appc use 5.2.1-16}} or later # Go to {{~/.appcelerator/install/5.2.1-16/package/}} *Actual:* The .tgz file will appear; see attachments. *Expected:* The .tgz file should not appear in that directory.
3
155
CLI-975
03/22/2016 18:28:24
iOS: i18n and platform folders not handled correctly by Alloy in CLI
Please see ALOY-1365 for information about the changes made for Alloy referred to in this ticket. When trying to build an Alloy project with existing {{i18n}} and {{platform}} folders (without an {{alloy_generated}} file present in them), no message is shown to move the folders/files and the build succeeds when it should fail. *Steps to reproduce issue* 1. Create a new project with {{appc new}} 2. {{cd}} into the project 3. Create {{i18n}} and {{platform/ios}} directories. Place files in them 4. Build the project with {{appc run -p ios}} *Expected Results* The build fails and a message is shown indicating that the {{i18n}} and {{platform}} folders should be moved into the app directory *Actual results* No message is shown and the build succeeds *Notes* The project will correctly show the message and fail the build using {{ti build -p ios}}
1
156
CLI-976
03/22/2016 21:32:10
"appc use" seems to broken with core 5.2.1-18 in preprod
h5.Steps to reproduce: 1. Install core 5.2.1-18 in preprod & run "appc use" h5.Actual Results: 1. Error is thrown: {code} /usr/local/lib/node_modules/appcelerator/lib/use.js:115 var latest = listResult[0].version; ^ TypeError: Cannot read property 'version' of undefined at findLatest (/usr/local/lib/node_modules/appcelerator/lib/use.js:115:28) at /usr/local/lib/node_modules/appcelerator/lib/use.js:63:18 at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/appcelerator/lib/util.js:580:5) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at doNTCallback2 (node.js:441:9) at process._tickCallback (node.js:355:17) Lokeshs-MacBook-Pro:Desktop lokeshchoudhary$ {code} 2. It seems to be intermittent. h5.Expected Results: 1. "appc use" should list the available core versions.
3
157
CLI-987
04/01/2016 12:15:46
Appcelerator Login not triggered when login is required on production build
h3. When I try to build for Play Store while Appcelerator Login is required, an error is triggered, and the login screen is not shown. Error below. This is from Appcelerator Studio. {code:java} 2016-04-01T11:14:04.886Z | DEBUG | Get username and password... 2016-04-01T11:14:04.887Z | INFO | Appcelerator Login required to continue ... 2016-04-01T11:14:04.900Z | ERROR | An uncaught exception was thrown! 2016-04-01T11:14:04.901Z | ERROR | Cannot read property 'substring' of undefined Cannot read property 'substring' of undefined 2016-04-01T11:14:04.901Z | TRACE | TypeError: Cannot read property 'substring' of undefined at Interface.rl._getCursorPos (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/node_modules/readline2/index.js:55:51) at ScreenManager.render (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/utils/screen-manager.js:19:27) at Prompt.render (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/prompts/input.js:75:15) at Prompt._run (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/prompts/input.js:49:8) at Prompt.run (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/prompts/base.js:57:8) at Object.<anonymous> (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/ui/prompt.js:83:12) at module.exports (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/node_modules/run-async/index.js:15:21) at /Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/lib/utils/utils.js:16:7 at tryCatcher (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/node_modules/rx-lite/rx.lite.js:537:29) at setDisposable (/Users/renepot/.appcelerator/install/5.2.0/package/node_modules/appc-inquirer/node_modules/inquirer/node_modules/rx-lite/rx.lite.js:5380:36) {code}
3
158
CLI-978
04/01/2016 20:45:41
Appc config get <key> always returns null
h5.Description When running {{appc config get <key>}} the value will always return null when using 5.2.0 or higher. *This is a regression from 5.1.0* {code: title=5.2.1} C:\Users\Ewan\Documents>appc config get environmentName Appcelerator Command-Line Interface, version 5.2.1 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. null {code} {code: title=5.1.0} C:\Users\Ewan\Documents>appc config get environmentName Appcelerator Command-Line Interface, version 5.1.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. production {code} h5.Steps to reproduce 1. Run appc config get environmentName h5.Actual result {{null}} will be returned h5.Expected result The correct value should be returned
3
159
CLI-1139
04/08/2016 20:28:14
appc ti create shows logging warning about a possible EventEmitter memory leak
h5.Description When running {{appc ti create}} the below will be printed out warning about a possible EventEmitter memory leak {code} C:\Users\Ewan>appc ti create Appcelerator Command-Line Interface, version 5.3.0-12 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. (node) warning: possible EventEmitter memory leak detected. 11 keypress listeners added. Use emitter.setMaxListeners() to increase limit. Trace at ReadStream.addListener (events.js:239:17) at ReadStream.Readable.on (_stream_readable.js:673:33) at new Interface (readline.js:128:11) at Object.exports.createInterface (readline.js:22:10) at Object.Interface.createInterface (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\node_modules\readline2\index.js:34:21) at module.exports (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\ui\baseUI.js:14:30) at new module.exports (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\ui\prompt.js:15:8) at Object.promptModule [as prompt] (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\inquirer.js:27:14) at C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\bin\commands\titanium.js:158:32 at C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\async\lib\async.js:718:13 ? project type: {code} h5.Steps to reproduce 1. Run {{appc ti create}} h5.Actual result The above will be printed out h5.Expected result Although it is not the supported workflow, the above message should not be printed out and the user should be able to create an app successfully, or a message should be printed telling users to use {{appc new}}
3
160
CLI-988
04/15/2016 19:04:49
"-o" (org-id) is not honored with appc login
*Details:* If you use {{-o}} to specify the org id with {{appc login}}, then you will still be prompted to specify the org. *Notes:* * This is not a regression from Appc CLI Core 5.2.2. * {{--org-id}} still works with {{appc login}}. *Steps to reproduce:* # Login from the CLI with {{-o}}: {{appc login --username <user> --password <pass> -o <org-id>}} *Actual:* You will be prompted for the org id; see attachment. *Expected:* You should not be prompted for the org id.
1
161
CLI-989
04/15/2016 19:40:50
CLI not responding on self signed certificate
h6.description When we use self signed certificate internally for the firewall, we are getting the following error for "appc" or "appc setup" command {code:title=Error} [010132125106:bin cprice$ DEBUG=* appc setup -l trace appc:bin install bin is undefined +0ms appc:bin main subcommand setup +4ms appc:bin main setup found +9ms appc:bin main - !installBin or couldn't find it null +0ms appc:install preflight checks, is this windows? 0 +1ms appc:install home directory located at /Users/cprice +1ms appc:install install, wantVersion: , url: https://software.appcelerator.com/api/appc/install/, bin: +59ms appc:download download start, quiet 0, banner 1 +2ms appc:download download called with arguments: { '0': false, '1': false, '2': '', '3': '/var/folders/zs/hnjjcnrn72j7mrd6hhnj50k5z62p65/T/appc-1460744471524.tar.gz', '4': { _writableState: { objectMode: false, highWaterMark: 16384, needDrain: false, ending: false, ended: false, finished: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, bufferedRequest: null, lastBufferedRequest: null, pendingcb: 0, prefinished: false, errorEmitted: false }, writable: true, domain: null, _events: { finish: [Object] }, _maxListeners: undefined, path: '/var/folders/zs/hnjjcnrn72j7mrd6hhnj50k5z62p65/T/appc-1460744471524.tar.gz', fd: null, flags: 'w', mode: 438, start: undefined, pos: undefined, bytesWritten: 0 }, '5': 'https://software.appcelerator.com/api/appc/install/', '6': [Function], '7': false } +0ms Finding latest version ... appc:download connection attempt 1 of 10 +4ms appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/install/","path":"/api/appc/install/","href":"https://software.appcelerator.com/api/appc/install/"},"headers":{"user-agent":"Appcelerator CLI/4.2.4 (darwin)","host":"software.appcelerator.com","appc-token":null}} +179ms - appc:util request error +1s { [Error: self signed certificate in certificate chain] code: 'SELF_SIGNED_CERT_IN_CHAIN' } appc:download error from download was: { [Error: self signed certificate in certificate chain] code: 'SELF_SIGNED_CERT_IN_CHAIN' } +2ms appc:error creating AppCError Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected]., com.appcelerator.install.download.server.response.error +1ms appc:util fail { [AppCError: Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected].] id: 'com.appcelerator.install.download.server.response.error', name: 'AppCError', message: 'Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected].' } +2ms appc:error creating AppCError Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected]., com.appcelerator.install.download.server.response.error +1ms appc:util fail { [AppCError: Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected].] id: 'com.appcelerator.install.download.server.response.error', name: 'AppCError', message: 'Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected].' } +2ms AppCError: Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected]. at Object.exports.createError (/usr/local/lib/node_modules/appcelerator/lib/error.js:157:10) at /usr/local/lib/node_modules/appcelerator/lib/download.js:49:29 at Request.<anonymous> (/usr/local/lib/node_modules/appcelerator/lib/util.js:535:10) at Request.emit (events.js:107:17) at Request.onRequestError (/usr/local/lib/node_modules/appcelerator/node_modules/request/request.js:831:8) at ClientRequest.emit (events.js:107:17) at TLSSocket.socketErrorListener (_http_client.js:271:9) at TLSSocket.emit (events.js:129:20) at TLSSocket.<anonymous> (_tls_wrap.js:942:18) at TLSSocket.emit (events.js:104:17) Server responded with unexpected error: self signed certificate in certificate chain. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at [email protected]. {code}
13
162
CLI-991
04/19/2016 18:24:42
If you create a mobile project with "appc new --project-dir", then the CLI will prompt you to override the specified directory
*Details:* If you create a mobile project with {{appc new --project-dir}}, then the CLI will prompt you to override the specified directory e.g.: {code} MonkeyLord:~ wluu$ appc new --name monkey --id com.appc.monkey --type titanium --project-dir ~/Documents/Appcelerator_Studio_Workspace/ Appcelerator Command-Line Interface, version 5.3.0-20 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Preproduction Environment Active ? Do you want to overwrite? (y/N) {code} *Notes:* * This is *not a regression*. * To workaround this issue, you will need to specify the project name at the end of the project-dir: {code} appc new --name monkey --id com.appc.monkey --type titanium --project-dir ~/Documents/Appcelerator_Studio_Workspace/monkey {code} * This issue does not appear with {{appc ti create}}: {code} appc ti create --name monkey --id com.appc.help --type app -d ~/Documents/Appcelerator_Studio_Workspace/ {code} *Steps to reproduce:* # Create a mobile project with all the required flags: {code} appc new --name monkey --id com.appc.monkey --type titanium --project-dir ~/Documents/Appcelerator_Studio_Workspace/ {code} *Actual:* CLI will prompt you to override the specified project-dir; see above for output. *Expected:* CLI should not prompt you to override the specified project-dir and just create the project in the specified project-dir.
3
163
CLI-997
04/20/2016 22:43:25
"appc ti config -r <key>" does not remove the key but instead asks for login
h5.Steps to reproduce: 1. Run "appc ti config -r <key>". h5.Actual Results: 1. You will be asked to login to CLI. (I double checked & I was logged in already) 2. "appc ti config --remove <key>" works as expected. h5.Expected Results: 1. "-r" flag should remove the key.
1
164
CLI-998
04/26/2016 19:09:35
We are displaying an OEM vendor name in logging and should not
We are displaying soasta in logging during new project setup and we should not. The correct product name is AppC Test.
2
165
CLI-999
04/28/2016 01:19:02
"(node:19181) fs: re-evaluating native module sources is not supported." message appears when you run "appc new" with Node 6
*Details:* If you run {{appc new}} with Node 6, then {{(node:19181) fs: re-evaluating native module sources is not supported.}} message will appear. *Steps to reproduce:* # Make sure you installed Node 6 # Run {{appc new}} *Actual:* {{(node:19181) fs: re-evaluating native module sources is not supported.}} message will appear: {code} MonkeyLord:~ wluu$ appc new Appcelerator Command-Line Interface, version 5.3.0-37 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Preproduction Environment Active (node:19181) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. ? What type of project are you creating? (Use arrow keys) ❯ Native App (app) Arrow App (arrow) Titanium Module (timodule) Apple Watchβ„’ App {code} *Expected:* No weird messages should appear.
3
166
CLI-1002
05/03/2016 23:26:29
If you pass "--help" or "-h" flag to "appc ti", then "Cannot read property 'match' of undefined" error is returned
*Details:* If you pass {{--help}} or {{-h}} flag to {{appc ti}}, then {{Cannot read property 'match' of undefined}} error is returned. *Notes:* * This is *not a regression*. * The help usage sill appears even though you will encounter the error. *Steps to reproduce:* # From terminal, run: {{appc ti -h}} or {{appc ti --help}} *Actual:* {{Cannot read property 'match' of undefined}} error is returned: {code} MonkeyLord:~ wluu$ appc ti -h Appcelerator Command-Line Interface, version 5.3.0-43 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Usage: titanium|ti <command> [options] execute titanium commands Options: -h, --help output usage information --project-dir <projectDir> directory containing the project -l, --log-level <level> change log level -o, --output <format> format output [only "json" is supported] -v, --version output the version of the cli [if -o "json", the version of npm will also be output] -q, --quiet reduce the amount of text output to the console --no-banner disable banner --no-colors disable colors --no-services disable services --no-progress, --no-progress-bars disable progress bars --no-prompt disable prompt --prompt-port <promptPort> port to use socket-based prompting --prompt-type <promptType> prompt type ["cli","socket","socket-bundle"], defaults to "cli" --username <username> username for login --password <password> password for login -e, --env <environment> environment such as production, preproduction, development, etc -o, --org-id <orgId> organization id for logins -P, --plugin-paths <pluginPaths> comma-separated search paths for plugins -r, --registry <registry> the registry server url to use -s, --server <server> the security server url to use for logins -v, --vpc-env <vpcEnv> vpc environment for logins An uncaught exception was thrown! Cannot read property 'match' of undefined Cannot read property 'match' of undefined {code} *Expected:* No errors should be returned when using the help flag.
3
167
CLI-1003
05/04/2016 19:32:51
If you run "appc setup" with the help flag, then "appc setup" will try to find/download the latest core first
*Details:* If you run {{appc setup}} with the help flag, then {{appc setup}} will try to find or download the latest core first before displaying the help options. *Note:* This *is not a regression*. *Steps to reproduce:* # Run {{appc setup --help}} or {{appc setup -h}} *Actual:* The CLI will try to find or download the latest core first: {code} MonkeyLord:~ wluu$ appc setup --help Finding latest version ...5.2.2 βœ“ Version 5.2.2 already installed. Usage: setup [options] called to setup your environment Options: -h, --help output usage information --dashboard <dashboard> the dashboard url to use for logins -l, --log-level <level> change log level -o, --output <format> format output [only "json" is supported] -v, --version output the version of the cli [if -o "json", the version of npm will also be output] -q, --quiet reduce the amount of text output to the console --no-banner disable banner --no-colors disable colors --no-services disable services --no-progress, --no-progress-bars disable progress bars --no-prompt disable prompt --prompt-port <promptPort> port to use socket-based prompting --prompt-type <promptType> prompt type ["cli","socket","socket-bundle"], defaults to "cli" --username <username> username for login --password <password> password for login -e, --env <environment> environment such as production, preproduction, development, etc -o, --org-id <orgId> organization id for logins -P, --plugin-paths <pluginPaths> comma-separated search paths for plugins -r, --registry <registry> the registry server url to use -s, --server <server> the security server url to use for logins -v, --vpc-env <vpcEnv> vpc environment for logins error: unknown option `--help' MonkeyLord:~ wluu$ {code} *Expected:* The CLI should not find or download the latest core when running {{appc setup}} with the help flag.
3
168
CLI-1004
05/04/2016 23:52:14
CLI to use security server instead of registry for login
Part of the [SEC-4] arrow port of security server, we should have CLI point to the new security endpoint rather than registry. We will also need to probably have a proxy server re-route traffic from registry's old login endpoint to the new security server as we cannot guarantee all CLI will be updated at the same time. There are the URLs that have been changed. POST https://www.software.appcelerator.com/api/login GET https://www.software.appcelerator.com/api/checkSession GET https://www.software.appcelerator.com/api/orgs POST https://www.software.appcelerator.com/api/org GET https://www.software.appcelerator.com/api/whoami
5
169
CLI-1009
05/06/2016 19:26:49
"appc ti -v" should not require login
Currently {{appc ti -v}} requires login, which it should not since you should always be able to get the version, just as you can for {{appc alloy}} and {{appc acs}}: {code} Fokkes-MacBook-Pro:~ fokkezb$ appc alloy -v 1.8.7 Fokkes-MacBook-Pro:~ fokkezb$ Fokkes-MacBook-Pro:~ fokkezb$ appc acs -v 1.2.0 Fokkes-MacBook-Pro:~ fokkezb$ appc ti -v Appcelerator Login required to continue ... ? Appcelerator ID: [email protected] ? Password: * ? Into which organization would you like to login? Appcelerator, Inc 5.0.8 {code}
1
170
CLI-1015
05/18/2016 07:32:18
LiveView hook should be moved to the Unified CLI
LiveView is a CLI plugin that lives under Studio and is not hooked into the (Unified) Titanium CLI until it has been run via Studio. Every time the LiveView version changes because you've updated Studio you also have to run it once via Studio to have the hook path updated. The LiveView hook should be moved to the Unified CLI so that it no longer depends on Studio.
8
171
CLI-1018
05/20/2016 19:36:10
appc should invoke acs cli with -h http://on-premise cluster
Rantha reported that he deployed an on-premise cluster with http only and when he used appc cli, the ~/.acs file ( result of invoking acs) uses port 443 instead of port 80. This is because appc cli didn't invoke acs cli properly , see ticket NODEJS-2513.
3
172
CLI-1021
05/25/2016 00:43:17
"appc user remove" returns "invalid action" error
*Details:* If you run {{appc user remove}}, {{Error: invalid action "remove"}} is returned. *Notes:* This is not a regression from current GA stack. *Steps to reproduce:* # In terminal, run {{appc user remove}} *Actual:* {{Error: invalid action "remove"}} is returned: {code} 2016-05-24T23:08:42.596Z | ERROR | Error: invalid action "remove" at Object.module.exports (/Users/wluu/.appcelerator/install/5.2.2/package/lib/commands/user.js:51:20) at /Users/wluu/.appcelerator/install/5.2.2/package/bin/commands/user.js:54:27 at executeWithoutPlugins (/Users/wluu/.appcelerator/install/5.2.2/package/lib/core.js:434:11) at fn (/Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:746:34) at /Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:1213:16 at /Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:166:37 at /Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:706:43 at /Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:167:37 at /Users/wluu/.appcelerator/install/5.2.2/package/node_modules/async/lib/async.js:1209:30 at /Users/wluu/.appcelerator/install/5.2.2/package/lib/core.js:425:13 {code} *Expected:* No errors should be returned.
1
173
CLI-1022
05/25/2016 01:27:41
If you set access to an Arrow connector, "Successfully set access for <ACCESS_RIGHT> to null." will appear
*Details:* If you set access to an Arrow connector, "Successfully set access for <ACCESS_RIGHT> to null." will appear. *Notes:* This is not a regression from current GA stack. *Steps to reproduce:* # Generate an empty connector with {{appc generate}} # Publish the connector # In the connector, run: {{appc access set public}} *Actual:* The following message should appear: {code} MonkeyLord:com.monkeypencil wluu$ appc access set public Appcelerator Command-Line Interface, version 5.2.2 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Preproduction Environment Active Successfully set access for public to null. {code} *Expected:* Confusing message should not appear.
3
174
CLI-1024
05/31/2016 10:04:59
ti info returned the invalid json output
Here's a bunch of stack traces from my session this morning: {code} !STACK 0 Unexpected character (() at position 0. at org.json.simple.parser.Yylex.yylex(Yylex.java:611) at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:270) at org.json.simple.parser.JSONParser.parse(JSONParser.java:119) at org.json.simple.parser.JSONParser.parse(JSONParser.java:82) at org.json.simple.parser.JSONParser.parse(JSONParser.java:76) at com.appcelerator.titanium.android.core.AndroidSDKLocator.loadTiInfo(AndroidSDKLocator.java:848) at com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:226) at com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:224) at com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:244) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.core.jobs 4 2 2016-04-11 10:06:43.547 !MESSAGE An internal error occurred during: "Configuring SDK". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doConfigure(IOSSDKConfigurer.java:108) at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44) at com.appcelerator.titanium.ui.mobile.PlatformsInstallManager$3.run(PlatformsInstallManager.java:171) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.core.jobs 2 2 2016-04-11 10:06:55.243 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.appcelerator.titanium.android.core.AndroidSDKLocator$1 !SESSION 2016-04-11 10:07:53.414 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/rickblalock/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/rickblalock/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.net 1 0 2016-04-11 10:07:57.674 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences !ENTRY com.appcelerator.titanium.rcp 4 0 2016-04-11 10:08:01.493 !MESSAGE (Build 4.5.0.1446607552) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@39e32ce2; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@39e32ce2; line: 1802, column: 1559] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1238) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$4(TitaniumSplashHandler.java:1215) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:303) !ENTRY com.appcelerator.titanium.rcp 4 0 2016-04-11 10:08:27.312 !MESSAGE (Build 4.5.0.1446607552) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@277c8784; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@277c8784; line: 1802, column: 1559] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1238) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.rebuild(TitaniumSplashHandler.java:1252) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$5(TitaniumSplashHandler.java:1242) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:311) !ENTRY com.aptana.scripting 4 0 2016-04-11 10:08:28.600 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to load bundle /Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.core_3.1.2.1455193238/bundles/titanium_mobile.ruble !STACK 0 Can't construct a java object for !ruby/object:Ruble::Bundle; exception=Invalid tag: !ruby/object:Ruble::Bundle in "<reader>", line 1, column 5: --- !ruby/object:Ruble::Bundle ^ at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:325) at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:181) at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:140) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:126) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:296) at org.yaml.snakeyaml.Yaml.load(Yaml.java:290) at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:328) at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:286) at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:110) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.yaml.snakeyaml.error.YAMLException: Invalid tag: !ruby/object:Ruble::Bundle at org.yaml.snakeyaml.nodes.Tag.getClassName(Tag.java:108) at org.yaml.snakeyaml.constructor.Constructor.getClassForNode(Constructor.java:620) at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:313) at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:323) ... 9 more !ENTRY com.aptana.js.debug.core 4 0 2016-04-11 10:08:31.586 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Reading {0} fails !STACK 0 java.io.FileNotFoundException: /Users/rickblalock/Library/Application Support/Firefox/Profiles/vq9c71nj.default/prefs.js (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at com.aptana.js.debug.core.internal.browsers.FirebugUtil.registerEditor(FirebugUtil.java:67) at com.aptana.js.debug.ui.JSDebugUIPlugin.registerAsFirebugEditor(JSDebugUIPlugin.java:170) at com.aptana.js.debug.ui.JSDebugUIPlugin.start(JSDebugUIPlugin.java:106) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319) at org.eclipse.osgi.container.Module.doStart(Module.java:571) at org.eclipse.osgi.container.Module.start(Module.java:439) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454) at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107) at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531) at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:125) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:867) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:255) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:83) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:367) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:349) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:372) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:332) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.core 4 0 2016-04-11 10:08:34.548 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Location to be watched doesn't exist: /Library/Application Support/Titanium/modules !ENTRY com.appcelerator.titanium.core 4 0 2016-04-11 10:08:43.311 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] !STACK 1 org.eclipse.core.runtime.CoreException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] at com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:392) at com.appcelerator.titanium.core.user.TitaniumUser.getOrganizations(TitaniumUser.java:294) at com.appcelerator.titanium.core.user.TitaniumUser.getOrganizationById(TitaniumUser.java:419) at com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.isDeveloperAccount(DeveloperAccountListener.java:55) at com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.loggedIn(DeveloperAccountListener.java:25) at com.appcelerator.titanium.core.user.TitaniumUserManager.addUserListener(TitaniumUserManager.java:628) at com.appcelerator.titanium360.ui.Titanium360UIPlugin$1.run(Titanium360UIPlugin.java:65) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) at com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:385) ... 7 more !SUBENTRY 1 com.appcelerator.titanium.core 4 0 2016-04-11 10:08:43.312 !MESSAGE Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) at com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:385) at com.appcelerator.titanium.core.user.TitaniumUser.getOrganizations(TitaniumUser.java:294) at com.appcelerator.titanium.core.user.TitaniumUser.getOrganizationById(TitaniumUser.java:419) at com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.isDeveloperAccount(DeveloperAccountListener.java:55) at com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.loggedIn(DeveloperAccountListener.java:25) at com.appcelerator.titanium.core.user.TitaniumUserManager.addUserListener(TitaniumUserManager.java:628) at com.appcelerator.titanium360.ui.Titanium360UIPlugin$1.run(Titanium360UIPlugin.java:65) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.aptana.js.core 4 0 2016-04-11 10:09:09.995 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to determine installed version of package 'appcelerator': null !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2016-04-11 10:09:10.174 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to add Alloy project templates !STACK 1 org.eclipse.core.runtime.CoreException: Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] at com.appcelerator.titanium.alloy.internal.core.AlloyManager.getElementsOfType(AlloyManager.java:291) at com.appcelerator.titanium.alloy.internal.core.AlloyManager.getTemplates(AlloyManager.java:221) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.addAlloyTemplates(AlloyTemplateInstaller.java:68) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:102) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.aptana.core 4 1 2016-04-11 10:09:10.174 !MESSAGE Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2016-04-11 10:09:10.349 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to add Alloy project templates !STACK 1 org.eclipse.core.runtime.CoreException: Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] at com.appcelerator.titanium.alloy.internal.core.AlloyManager.getElementsOfType(AlloyManager.java:291) at com.appcelerator.titanium.alloy.internal.core.AlloyManager.getSamples(AlloyManager.java:351) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.addAlloySamples(AlloyTemplateInstaller.java:169) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:103) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.aptana.core 4 1 2016-04-11 10:09:10.349 !MESSAGE Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] !ENTRY com.appcelerator.titanium.update.core 4 0 2016-04-11 10:09:10.613 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Server returned HTTP response code: 403 for URL: http://builds.appcelerator.com.s3.amazonaws.com/mobile/5.2.0/index.json !STACK 0 java.io.IOException: Server returned HTTP response code: 403 for URL: http://builds.appcelerator.com.s3.amazonaws.com/mobile/5.2.0/index.json at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1838) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.getURIContents(TitaniumReleasesUpdater.java:699) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.getReleases(TitaniumReleasesUpdater.java:603) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.getSDKReleases(TitaniumReleasesUpdater.java:549) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.getLatestSDKRelease(TitaniumReleasesUpdater.java:805) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.hasSDKUpdates(TitaniumReleasesUpdater.java:246) at com.appcelerator.titanium.update.internal.core.TitaniumReleasesUpdater.hasUpdates(TitaniumReleasesUpdater.java:202) at com.appcelerator.titanium.update.ui.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:69) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:89) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:67) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$56.run(Workbench.java:2755) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
5
175
CLI-1028
06/25/2016 01:57:47
Add EU region to appc-cli
Appc-CLI should allow a new environment for the eu region. Currently if the environment is not recognized, the cli will exit. We should create a new environment such that the CLI can point to the new region.
3
176
CLI-1035
06/30/2016 02:05:57
Update appc-app-preview-cli-hook to latest version
I've just made some improvements to appc-app-preview-cli-hook to show better logging messages in Studio. This needs to gets included in the core CLI distribution. Current version is 0.4.1 and has been published to NPM.
2
177
CLI-1036
06/30/2016 16:59:09
Hyperloop: Entitlement verification when building
Currently, even thought we implemented a way for developers to be able to only obtain the hyperloop module if they have the entitlements, anyone can still build it as long as they get their hands on the module. We need to modify the CLI such that during the build, if hyperloop is enabled, we will check the entitlements to ensure that the developer has permissions to build using hyperloop.
5
178
CLI-1037
06/30/2016 18:18:58
reference to latest acs cli 1.2.1
we just released a new acs cli 1.2.1 please include in the cli.
1
179
CLI-1040
07/08/2016 11:35:29
MobileWeb Platform is deprecated
With 5.4.0 CLI/SDK, MobileWeb platform is deprecated. While running a build against "MobileWeb", show a warning message on the console that "MobileWeb Platform has been deprecated!" This also applicable for creating and packaging modules.
2
180
CLI-1044
07/15/2016 01:13:13
CLI 5.4.0-31 can not create apps in EU region
When testing out CLI 5.4.0-31 I could not create an arrow app in the EU region. `$ appc use 5.4.0-31` `$ appc logout; appc config set defaultEnvironment production-eu; appc login` `$ appc new` expected behavior: app to be created succesfully actual behavior: CLI prompts for user signin. session issue?
5
181
CLI-1046
07/15/2016 06:57:51
Getting the correct module versions from dashboard
When Ti SDK 6.0.0 is released, we'll be support a new version of android v8. And because of that, all titanium modules have to be recompiled to support it, and it's not backward compatible. i.e. ti.facebook v3.X.X works for ti.sdk 6 and newer vs ti.facebook v2.X.X works for ti sdk 5.4.0 and older. Therefore, the following modules: Hyperloop, ACA, APM that are downloaded automatically with CLI, has to be smart enough to be able to obtain the right versions when doing appc run or appc new. Its ok to have both versions co-exist in the local machine. And it's also ok that we can't control the developer if he chooses to use a 5.4.0 module on a 6.0.0 project. Dashboard has recommended that the payload can be expanded to provide different urls for both versions. This will be a cross-team effort.
5
182
CLI-1048
07/19/2016 20:11:11
appc switch and appc login org selection should be consistent
h5.Description Currently {{appc switch}} and {{appc login}} are inconsistent in the style of org selection. They should be consistent in displaying the same information. {code: title=appc switch} ? To which organization would you like to switch? (Use arrow keys) > Accenture Preprod (100000559) Appcelerator Staff (100000295) APPTS-5484-developer (100001665) APPTS-5484-enterprise (100001668) APPTS-5484-individual (100001666) APPTS-5484-team (100001667) APPTS-6045-Chrome (100001594) (Move up and down to reveal more choices) {code} {code: title=appc login} ? Into which organization would you like to login? (Use arrow keys) > qe_test_org_preprod_team qe_test_org_preprod_vpc_team qeTestOrg RateLimitingDeveloper ratelimitingEnterprise RateLimitingIndividual rdongtest (Move up and down to reveal more choices) {code}
1