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

error parsing json #41

Open
yavasura opened this issue Sep 3, 2016 · 5 comments
Open

error parsing json #41

yavasura opened this issue Sep 3, 2016 · 5 comments

Comments

@yavasura
Copy link

yavasura commented Sep 3, 2016

meteor-kitchen command works for the first time and generates the website the second time it givesthe error is it how it should be?

*** Meteor Kitchen v0.9.65 ***
Source code generator for Meteor.js - www.meteorkitchen.com
Copyright (c) Petar Korponai─ç
[email protected]

Reading input file...

Error parsing JSON. Parsing stopped at line 338 char 4.

@perak
Copy link
Owner

perak commented Sep 3, 2016

Hi @vasvalis, it should not be like this, something is wrong. Looks like unput file cintains errors. Try any json validator to find errors in .json file. If it doesn't help, please give me precise steps on how to reproduce this. BTW, what OS, which meteor version and meteor kitchen version are you using?

@yavasura
Copy link
Author

yavasura commented Sep 3, 2016

hi,

json is fine as it generates for the first time into the empty folder.

problem happens if i want it to regenerate on top of existing folder content.

for now i am deleting and regenerating everytime i change something, but it is not nice as mongo data gets lost.

@perak
Copy link
Owner

perak commented Sep 3, 2016

@vasvalis do you generate the app and then (without any changes to inout json file) generate again - and you got the error? Are you 100% sure json is not damaged? Can I reproduce the same? for example, if I generate example app and then run generator again, no errors for me, so can you give me detailed steps on how to reproduce? (and are you using linux, windows or macosx?)

@yavasura
Copy link
Author

yavasura commented Sep 3, 2016

windows 10 laetest meteor and latest kitchen. json is not changed in between ...

@yavasura
Copy link
Author

hi it looks like on windows .meteor-kitchen.json has file paths with \ and this is the problem. if i delete this file before regenerating the code everything works.

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