-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
using node21.3 and the latest 7 of your lib I am seeing this error when using it. Not a *.lock isue.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /usr/local/saga/node_modules/socket.io-amqp0/package.json
const socket_io = require('socket.io')();
const { createAdapter } = require('socket.io-amqp0');
const RabbitMQ = require('../queue/rabbitmq');
const os = require('os');
module.exports = socket_io.adapter(createAdapter({
instanceName: `${os.hostname()}-${process.pid}`,
amqpConnection: RabbitMQ.getConnection
}));Anything I need to do make it work? I reverted to an older version and works fine.
Metadata
Metadata
Assignees
Labels
No labels