medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
25.92k stars 2.6k forks source link

Medusa Development Resources: Issue in File Module Providers - Medusa Development Resources #9833

Closed justinelut closed 5 days ago

justinelut commented 2 weeks ago

What Medusa version and documentation are you using?

v2

Preliminary Checks

Issue Summary

module.exports = defineConfig({ // ... modules: [ { resolve: "@medusajs/framework/file", options: { providers: [ { resolve: "./src/modules/my-file", id: "my-file", options: { // provider options... }, }, ], }, }, ] In teh docs, the resolve : "@medusajs/framework/file" is confusing to first timers developing file uploading modules.

How can this issue be resolved?

  1. Change the "@medusajs/framework/file" to "@medusajs/medusa/file"
  2. ...

Are you interested in working on this issue?

shahednasser commented 2 weeks ago

Nice catch! PR #9833 resolves the issue.