parse-server-example icon indicating copy to clipboard operation
parse-server-example copied to clipboard

After changing to my original cloud code npm start will not run

Open sivi29y opened this issue 10 years ago • 4 comments

this is the error I get:

npm ERR! Linux 3.13.0-79-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "bugs" "parse-server-example" npm ERR! node v5.10.1 npm ERR! npm v3.8.3 npm ERR! path xdg-open npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn xdg-open

npm ERR! enoent spawn xdg-open ENOENT npm ERR! enoent spawn xdg-open ENOENT npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent

How can I check this. Please tell me if more data is needed

sivi29y avatar May 05 '16 16:05 sivi29y

The error message says there is a missing file somewhere. Check your cloud code file location.

drew-gross avatar May 06 '16 17:05 drew-gross

should this : var userQuery = new Parse.Query("_User"); be replaced with new Parse.Query(Some other location) ? What should that be if so?

sivi29y avatar May 08 '16 08:05 sivi29y

is Parse.Cloud.beforeDelete supported ?

sivi29y avatar May 08 '16 08:05 sivi29y

Hi Drew thanks, I think i spotted the problem (Parse.Cloud.job is not a function). But please still if you can answer my other questions do because I have to make it work ..

sivi29y avatar May 08 '16 09:05 sivi29y