ti.compression | Compress your files to reduce storage | Compression library
kandi X-RAY | ti.compression Summary
kandi X-RAY | ti.compression Summary
Lets you zip and unzip files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ti.compression
ti.compression Key Features
ti.compression Examples and Code Snippets
Community Discussions
Trending Discussions on ti.compression
QUESTION
I'm working on a project using Titanium & Alloy and I'm finally able to run the iOS version, but I got an error with Android when I run the appc ti build -p android
command.
Everything seems to work until the Building Java source files
step
ANSWER
Answered 2017-Aug-05 at 13:47This is a known issue with appcelerator and basically, it hasn't been fixed for certain configurations - the devs have been having difficulty reproducing the error, so it seems the exact version choice for titanium and node is important.
Resolution: Won't Fix
One user's fix.
The developer has closed the issue and there is conflict about whether the issue has been solved.
Will close ticket as won't fix. Confirmed that I do not get this error any more with
Appc CLI Core 5.4.0-36 with Ti SDK 6.0.0.v20160728020336.
and
I am still unable to reproduce this issue with the current GA stack:
Appc CLI NPM: 4.2.8
Appc CLI Core: 6.1.0
SDK: 6.0.1.GA
Node: v6.9.2
OS: Mac OS X (10.12.2)
If possible, when running the mobile project, include the debug and trace logs: DEBUG=* appc run -l trace.
Now you're using:
Titanium (6.0.1.GA - CLI 5.0.14)
Node (6.11.2)
Try using older sdks for titanium and an earlier node version. I don't see it being an issue with the Android sdk.
One user resolved it by downgrading node
I resolved it by using node v4x. It does not work with v6.x which I was using when I saw the error.
From github:
appcelerator/titanium Path must be a string. Received undefined
From the devs:
The obvious check of all paths:
The first thing I would do is look at both your Appc CLI and Titanium CLI config files and see if there are any settings that look like paths that are undefined, null, or empty and fixing them. You can find them at ~/.appcelerator/appc-cli.json and ~/.titanium/config.json.
and downgrading versions:
So this happens because of some changes in Node.js that affect 5.5.1.GA. If your app needs to stay on SDK 5.5.1.GA try to downgrade your Node version to a 4.X version, otherwise upgrading to SDK 6.0.1.GA should fix the issue.
The other issue that is always worth mentioning - is to uninstall and install fresh sdks, in case there's been some changes or flaw in the current ones that were imported with the project you've inherited.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ti.compression
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page