медуза-сервер-по умолчанию | ошибка: a.retrieveSubscribers не является функцией
Я создаю корзину (POST/store/carts) и получаю ошибку ниже.
medusa-server-default | error: _a.retrieveSubscribers is not a function
medusa-server-default | TypeError: _a.retrieveSubscribers is not a function
medusa-server-default | at /app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:152:124
medusa-server-default | at Array.filter (<anonymous>)
medusa-server-default | at EventBusService.<anonymous> (/app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:150:41)
medusa-server-default | at step (/app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:59:23)
medusa-server-default | at Object.next (/app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:40:53)
medusa-server-default | at /app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:34:71
medusa-server-default | at new Promise (<anonymous>)
medusa-server-default | at __awaiter (/app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:30:12)
medusa-server-default | at EventBusService.emit (/app/medusa/node_modules/@medusajs/medusa/dist/services/event-bus.js:129:16)
medusa-server-default | at CartService.<anonymous> (/app/medusa/node_modules/@medusajs/medusa/dist/services/cart.js:402:50)
medusa-server-default | ::ffff:172.18.0.1 - - [10/Aug/2023:09:01:19 +0000] "POST /store/carts HTTP/1.1" 500 86 "http://localhost:8000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
dependencies": {
"@medusajs/admin": "^6.0.5",
"@medusajs/cache-redis": "1.8.8",
"@medusajs/event-bus-redis": "1.8.9",
"@medusajs/medusa": "1.10.0",
"@medusajs/medusa-cli": "1.3.18",
"@medusajs/types": "1.8.3",
"@types/ioredis-mock": "^8",
"api": "^5.0.8",
"axios": "^1.4.0",
"cookie": "^0.5.0",
"medusa-file-s3": "^1.2.0",
"medusa-fulfillment-manual": "^1.1.31",
"medusa-interfaces": "^1.3.7",
"medusa-payment-manual": "^1.0.23",
"medusa-payment-stripe": "^3.0.0",
"qs": "^6.11.2",
"sqlite3": "^5.1.4",
"typeorm": "0.3.11"
}