Main.js missing

I created a tar.gz file by following the custom deploy instructions and using the “meteor deploy” command. Then I used scp to copy the tar.gz to a server, untarred it, cd’ed to bundle/programs/server, ran “npm install”, set the MONGO_URL and ROOT_URL environment variables, and enter “node main.js”. But there is no “main.js” file in that directory. Any idea why that file is missing?

The main.js file is in the root of the bundle. After running npm install, you should run cd ../..

1 Like