webpack / react-starter

[OUTDATED] Starter template for React with webpack. Doesn't focus on simplicity! NOT FOR BEGINNERS!
2.21k stars 320 forks source link

deploy with Dokku #71

Open olegakbarov opened 9 years ago

olegakbarov commented 9 years ago

I have some trouble deploying this kit with Dokku:

=====> test container output:
       > react-starter@0.0.0 start /app
       > node lib/server-production
       module.js:338
           throw err;
                 ^
       Error: Cannot find module '../build/prerender/main.js'
           at Function.Module._resolveFilename (module.js:336:15)
           at Function.Module._load (module.js:278:25)
           at Module.require (module.js:365:17)
           at require (module.js:384:17)
           at module.exports (/app/lib/server.js:11:3)
           at Object.<anonymous> (/app/lib/server-production.js:1:82)
           at Module._compile (module.js:460:26)
           at Object.Module._extensions..js (module.js:478:10)
           at Module.load (module.js:355:32)
           at Function.Module._load (module.js:310:12)

Not quite sure how to fix it. Any tips?