Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permission denied when updating Cloud Code SDK

For some reason getting the following when typing in 'parse update' into the console.

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/parse/__main__.py", line 6, in <module>
  File "/usr/local/bin/parse/main.py", line 708, in main
  File "/usr/local/bin/parse/main.py", line 515, in handle_update
OSError: [Errno 13] Permission denied

Any ideas?

like image 847
Nagra Avatar asked Feb 20 '26 23:02

Nagra


1 Answers

Inside your terminal, use cd to yourProjectName/CloudCode/ then type in

curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

This worked for me. Hope it will help others.

like image 65
JIANG Avatar answered Feb 27 '26 09:02

JIANG



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!