HuayraLinux / repo-backend

API Backend para reprepro
MIT License
0 stars 1 forks source link

error al iniciar el servicio #8

Closed ftoledo closed 8 years ago

ftoledo commented 8 years ago

El sevicio no inicia. si lo ejecuto manualmente tengo este error:

repo@reprepro:/usr/share/repo-backend$ node index.js 

module.js:340
    throw err;
          ^
Error: Cannot find module './config'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/usr/share/repo-backend/debian_packages.js:5:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
iglosiggio commented 8 years ago

Desde acá no puedo solucionarlo, pero tenés que instalar config.prod.js como config.js

El 17 oct. 2016 4:31 PM, "Fernando Toledo" notifications@github.com escribió:

El sevicio no inicia. si lo ejecuto manualmente tengo este error:

repo@reprepro:/usr/share/repo-backend$ node index.js

module.js:340 throw err; ^ Error: Cannot find module './config' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/usr/share/repo-backend/debian_packages.js:5:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HuayraLinux/repo-backend/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGeeMMv47x_P3-IB_LuR-54ZQnjVdpbks5q080DgaJpZM4KZAso .