-
Notifications
You must be signed in to change notification settings - Fork 114
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
Cryptic input file missing messages: Error: input file not found "/var/tmp/LrFkQyUqFj.json" #23
Comments
hi. when input is yaml, meteor-kitchen executes js-yaml to convert yaml to
|
Hey, |
Hey running it as a eachSeries loop fixed it, there was also a couple bugs with the initial script, perhaps there was something going wrong due to all the async spawning and file writing. The script might be interesting to you though since there doesn't seem to be a test runner for this project. |
@kaustavha OK, cool. But, I'm just curious - what are you doing/trying to do with this script? |
@perak I was/am trying to evaluate if meteor kitchen is a worthwhile project to use to build mobile apps with for a couple of startups I'm loosely associated with/cofounding. Part of that process is to just check to see if all the examples here work. The human ones dont but thats acceptable and there was one example that didnt work but should've. May file an issue/pr for it next weekend. This also allows me to see if the examples actually render out to whats expected since code you've put online may have been changed between generation and deploy. And i had a non-trivial example working but the yaml file got rather large and unwieldily and i started getting strange errors (not these, something about a misquoted character string when running with the -jc opt). So i plan on hopefully making an example with a multipart yaml file before moving ahead. And that should get rid of the errors, I'm prolly mis-indenting somewhere. The other error was with buttons not rendering properly on mobile (android and ios emulators on a mac). Part of what i want/need to do is package it as a mobile app. So gonna need to take a look at that as well. Perhaps its a simple emulator bug(doubt it). Sorry for delays replying, this is kind of a weekends project and I'm usually occupied by my fulltime job, which comes with way too many repositories sending me alerts, drowning out relevant things. Need to fix that. Kinda wish this project was open source, since it's sort of like googles yeoman, but significantly more feature complete. And that way I could port it to use better tested ui libraries like materialize and add stylus as a css output option. But open sourcing things brings its own headaches. |
Hi @kaustavha Thanks for detailed review. I am using simple shell script to build all examples. Always testing before deploying new version, so I'm surprised that some of examples doesn't work. Script looks like this:
All examples are built properly and I'm executing each one to see if everything looks and works as expected (well, that's not fully automated test and maybe sometimes I miss something). Examples are built from json (not from yaml) - I am not testing that - so maybe this is why some examples don't work for you (maybe some problem with json to yaml converter?). I'l check that (maybe this weekend). I didn't have issue with buttons on android (don't know about iOS). For mobile apps, I got fork of meteor kitchen that can build android .apk on single click, but my server doesn't have enough RAM, so I didn't publish it. Screenshot: Meteor Kitchen is my hobby/weekend project, and I'm occupied with my "regular" freelancing job too :) I'm preparing to open-source it - cleaning up the code and writing docs, I belive I'l publish the code in couple of weeks. Here is repo for that: https://github.com/perak/kitchen-cli Feel free to contact me if you have more issues and questions. 👍 |
One more thing: there is no And yet another possible issue is that I am not regularly testing examples converted to coffe / jade, maybe that's why you got issues. What 100% is working (tested) is generate examples from json producing js + html I'l try to play with yaml -> coffee/jade too to catch possible bugs. Thank you again for reporting issues. |
Sometimes when spawning the meteor kitchen generator from a nodejs spawn I get this message. Appears to only happen on yaml files. Thought? Any ideas what could be causing this?
The text was updated successfully, but these errors were encountered: