Hello! I need to migrate a NodeJS application outside docker (because I’m having some trouble to implement puppeteer, check: HTML to PDF Action - NodeJS & PHP [Open Source])
Is there any easy way to target my application to NodeJS server on my machine?
I’ve tried creating a new NodeJS target but I’m receiving this error:
App listening at http://localhost:3000
events.js:292
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
Emitted 'error' event on ExpressRedisCache instance at:
at ExpressRedisCache.<anonymous> (/Users/carlitos/Documents/02 Wrappler/LiquidadorBTS/node_modules/express-redis-cache/lib/ExpressRedisCache.js:85:14)
at RedisClient.emit (events.js:315:20)
at RedisClient.on_error (/Users/carlitos/Documents/02 Wrappler/LiquidadorBTS/node_modules/redis/index.js:342:14)
at Socket.<anonymous> (/Users/carlitos/Documents/02 Wrappler/LiquidadorBTS/node_modules/redis/index.js:223:14)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'redis'
}
[nodemon] app crashed - waiting for file changes before starting...
Thanks!