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
Error uploading apps >10k #157
Comments
Hi ! Hope it help ! |
Thanks for the tip on the max file size. I have ran my code through a compressor (https://skalman.github.io/UglifyJS-online/) which sorts the problem for now, but means I have to maintain two repos, one with original source, and this one with a compressed version. Hopefully in the future either the IDE compresses files before it sends them up, the max file size is increased, or as you said you can split the app across multiple limited sized files. |
Using this javascript snippet, you can import some code from another file (don't forget to register it in apps.json) |
You can use This is something that should be fixed in the app loader - it can split larger files into multiple Storage.write commands: http://www.espruino.com/Reference#l_Storage_write |
Installing an app I am developing fails to install from forked app-store.
The app is currently 550 loc @ 16 Kb, and set to grow much larger. When installing from the development IDE into RAM/File, it installs and runs just fine. But from the forked app-store I get the following error:
The UI reports an
UNFINISHED STRING
, but that console error looks like its a low memory err?I currently have 3,535,216 storage free according the file-manager app on the watch.
The text was updated successfully, but these errors were encountered: