yongjhih / docker-parse-server

Provide docker images and docker stack for parse-server npm versions and latest commit
https://hub.docker.com/r/yongjhih/parse-server/
Apache License 2.0
475 stars 166 forks source link

Error: Cannot find module "parse/cloud/main.js" #56

Open thailow opened 7 years ago

thailow commented 7 years ago

Hi yongjhih, I am trying to set up a project based on Parse Server Example, but I keep getting "Error: Cannot find module 'parse/cloud/main.js'". If I move the main.js out of my cloud folder to the base directory, it is found by the parse server. However, I get an "Error: Cannot find module 'parse-image'" then (that's caused by the first require in my main.js). Seems like it does not understand the example project and does not find package.json. Any ideas on that? Thanks in advance...

thailow commented 7 years ago

I played around a little more and posted a stackoverflow question based on my problem. Maybe it helps to understand what I am trying to do... http://stackoverflow.com/questions/38882043/cannot-find-module-parse-cloud-main-js-in-docker-parse-server