Reputation: 2561
It seems, that some code in main.js breaks my project at parse.com. But I can't upload an empty main.js file, because
parse deploy
said
Unable to authenticate app. Please make sure your applicationId and masterKey in "config/global.json" is correct
Does someone have an idea how to delete all Cloud Code logic (code, cronjobs, etc.)?
Upvotes: 1
Views: 1119
Reputation: 680
Found this on Google Groups... obviously only works if your keys aren't incorrect ;)
https://groups.google.com/forum/#!topic/parse-developers/DmOvTxWJAGI
So I updated the command line tool... now all working again
https://parse.com/docs/js/guide#command-line
Upvotes: 4
Reputation: 5960
Go to the config folder inside of your CloudCode. Open up global.json in a text editor. Replace the applicationId and masterKey with the keys found on Parse.com in your settings page. https://www.parse.com/apps/YOURAPPNAME/edit#app_keys
After this, you can parse deploy
an empty file.
Upvotes: 0