You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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!
The text was updated successfully, but these errors were encountered: