Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using TiShadow 2.9.2 with Latest SDK 6.2.1.GA and tools #539

Open
miniman42 opened this issue Sep 22, 2017 · 4 comments
Open

Problem using TiShadow 2.9.2 with Latest SDK 6.2.1.GA and tools #539

miniman42 opened this issue Sep 22, 2017 · 4 comments

Comments

@miniman42
Copy link

I've just updated my SDK,APPC,TITANIUM... and Node versions to pretty much the latest of everything and spent some time getting my project to build normally, which thankfully it now does.

HOWEVER, an "--appify" tishadow build now fails and I can't work out why.

Below is the output: (NOTE: same output on both ios and android builds)

...
[INFO] TiShadow app ready
[INFO] Building App...
[ERROR] Failed to load command "build"
[ERROR] TypeError: error.stack.split is not a function

/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
throw e;
^

CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:353:30),Context.load (/usr/local/lib/node_modules/titanium/lib/context.js:318:4),CLI.loadCommand (/usr/local/lib/node_modules/titanium/lib/cli.js:348:10),/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21,/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13,iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13),async.eachSeries (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:150:9),_asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:9),Object.mapSeries (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:216:23),Object.async.series (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:549:19),series (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/async.js:46:8),CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:293:3),/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25,Object. (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16),CLI._fireHookCallback (/usr/local/lib/node_modules/titanium/lib/hook.js:269:12),/usr/local/lib/node_modules/titanium/lib/hook.js:248:10

My environment is as follows: (appc info)
Operating System
Name = Mac OS X
Version = 10.12.6
Architecture = 64bit

CPUs = 8

Memory = 16.0GB

Node.js
Node.js Version = 8.5.0
npm Version = 5.4.2

Appcelerator CLI
Installer = 4.2.9
Core Package = 6.2.4

Titanium CLI
CLI Version = 5.0.14
node-appc Version = 0.2.41

Titanium SDKs
6.2.1.GA
Version = 6.2.1
Install Location = /Users/gb/Library/Application Support/Titanium/mobilesdk/osx/6.2.1.GA
Platforms = iphone, android, mobileweb
git Hash = 301ffa4
git Timestamp = 9/20/2017 00:52
node-appc Version = 0.2.43
...

Any Help would be much appreciated as I'm starting to lose it!

@dbankier
Copy link
Owner

I'm in the process of upgrading everything. I will let you know...

@miniman42
Copy link
Author

Thanks David - much appreciated!

@dbankier
Copy link
Owner

I just updated the sdk and it is working ok so far...

@miniman42
Copy link
Author

Hi David, thanks for looking into this. I think I may have resolved the issue with a little further digging. The version of ti that appc uses is reported correctly above as the latest (5.0.14), and in fact that is the output of a "ti -version" on my machine, HOWEVER, "titanium -version" was returning 3.4.1 - I don't know how or why this was happening, but I force reinstalled titanium and restarted terminal and all is now building again. I can only presume under the hood tishadow is using the "titanium" cli command, so was getting caught out as I only really use the shorthand variants. Sorry to steal your time, but hopefully this may help someone else with a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants