Packages.json parsing error if source file has been modified


#1

Since today, I am getting a strange error if I modify a source file and Meteor 1.2 re-builds the project. Initially everything works fine, the server starts up correctly. But as soon as the first modification is done, these error messages are thrown:

=> Started app on Android Device.             
                                              
Your project has been opened in Xcode so that you can run your app on an iOS device. For further instructions, visit
this wiki page: https://github.com/meteor/meteor/wiki/How-to-run-your-app-on-an-iOS-device
                                              
=> Started app on iOS Device.                 
ERROR: packages.json parsing error [ ENOENT, no such file or directory '/Users/waldgeist/Documents/Development/htdocs/aiddogs/webapp/.meteor/local/cordova-build/packages.json' ]
=> Errors prevented startup:
   
   While processing files with semantic:ui (for target web.browser):
   client/stylesheets/semantic-ui/custom.semantic.json: Semantic UI Generator: ENOENT, no such file or directory
   'client/stylesheets/semantic-ui/definitions'
   
   While processing files with semantic:ui (for target web.cordova):
   client/stylesheets/semantic-ui/custom.semantic.json: Semantic UI Generator: ENOENT, no such file or directory
   'client/stylesheets/semantic-ui/definitions'
   
=> Your application has errors. Waiting for file change.

The packages.json file does not exist under cordova-build, and I wouldn’t expect one there. The definitions folder, however, exists, so there should not be any reason to complain about a missing folder. If I stop the server and re-run it, everything works fine again. I have no clue what is causing this.


#2

Hey @waldgeist,

I’ve the same issue!
Did you find a way to fix or overcome it?


#3

I don’t remember. Somehow I got rid of it, but, unfortunately, I don’t know how exactly.