Closed kevinrobert3 closed 6 months ago
This is v1.2.1
Installed msw
and now build succeeds but get below
Which seems suspicious because i just installed the package with nothing else added. Don't know the implications of the error/warning
Checked and msw
is listed as a devDependency in plugin am guessing should be a dependency, can you push a fix for this kindly
Thank you. Also note the warning in image, again I don't know the implications of the package intercepting the Algolia or other requests. But hope it will be scoped to only Paystack requests
Yes the plugin isn't intercepting any requests, those were debug changes for tests that made it into the release. You shouldn't see the warnings anymore nor are any requests intercepted.
Seen fix. Working
Builds are failing all of a sudden and checking the logs it points to the plugin. Check the logs Railway
message="Initializing API" activity_id="01HSBPB3SX1V9764MZSB32W5DQ" config={} level="info" timestamp="2024-03-19 15:47:37" message="API initialized" activity_id="01HSBPB3SX1V9764MZSB32W5DQ" duration=76 level="info" timestamp="2024-03-19 15:47:37" message="Initializing defaults" activity_id="01HSBPB3X0QXY2NZEGGKSMP89X" config={} level="info" timestamp="2024-03-19 15:47:37" message="You don't have any notification provider plugins installed. You may want to add one to your project." level="warn" timestamp="2024-03-19 15:47:37" message="You don't have any taxProviders provider plugins installed. You may want to add one to your project." level="warn" timestamp="2024-03-19 15:47:37" message="Error starting server" level="error" stack=[{"columnNumber":15,"fileName":"node:internal/modules/cjs/loader","functionName":"Module._resolveFilename","lineNumber":1077,"methodName":"_resolveFilename","native":false,"typeName":"Module"},{"columnNumber":27,"fileName":"node:internal/modules/cjs/loader","functionName":"Module._load","lineNumber":922,"methodName":"_load","native":false,"typeName":"Module"},{"columnNumber":19,"fileName":"node:internal/modules/cjs/loader","functionName":"Module.require","lineNumber":1143,"methodName":"require","native":false,"typeName":"Module"},{"columnNumber":18,"fileName":"node:internal/modules/cjs/helpers","functionName":"require","lineNumber":119,"methodName":null,"native":false,"typeName":null},{"columnNumber":27,"fileName":"/app/node_modules/medusa-payment-paystack/dist/services/paystack-payment-processor.js","functionName":"new PaystackPaymentProcessor","lineNumber":76,"methodName":null,"native":false,"typeName":null},{"columnNumber":99,"fileName":"/app/node_modules/@medusajs/medusa/dist/loaders/helpers/plugins.js","functionName":"container.registerAdd.lifetime","lineNumber":14,"methodName":"lifetime","native":false,"typeName":"container.registerAdd"},{"columnNumber":20,"fileName":"/app/node_modules/awilix/lib/resolvers.js","functionName":"Object.resolve","lineNumber":295,"methodName":"resolve","native":false,"typeName":"Object"},{"columnNumber":37,"fileName":"/app/node_modules/awilix/lib/container.js","functionName":"Object.build","lineNumber":325,"methodName":"build","native":false,"typeName":"Object"},{"columnNumber":73,"fileName":"/app/node_modules/medusa-core-utils/dist/medusa-container.js","functionName":null,"lineNumber":8,"methodName":null,"native":false,"typeName":null},{"columnNumber":null,"fileName":null,"functionName":"Array.map","lineNumber":null,"methodName":"map","native":false,"typeName":"Array"}] timestamp="2024-03-19 15:47:38"
Local logs