The plugin, while in development phases work fine (APIs are callable, modules are loaded, subscribers are loaded,...) when compiled, it fails directly to load everything.
Expected behavior
The content of my plugin should be loaded, simply. I could then have access to my created endpoints.
Actual behavior
I get the error:
Unable to find the plugin "@vymalo/medusa-printful".
Then I located the file resolve-plugin.ts and still couldn't make it to work, after two days in total of editing.
Package.json file
Node.js version
20
Database and its version
PostgreSQL 17 (Docker)
Operating system name and version
MacOS
Browser name
No response
What happended?
So I've written a plugin for integrating printful APIs into product creation (and more), it's available on npm https://npmjs.com/package/@vymalo/medusa-printful.
The plugin, while in development phases work fine (APIs are callable, modules are loaded, subscribers are loaded,...) when compiled, it fails directly to load everything.
Expected behavior
The content of my plugin should be loaded, simply. I could then have access to my created endpoints.
Actual behavior
I get the error:
Then I located the file
resolve-plugin.ts
and still couldn't make it to work, after two days in total of editing.Link to reproduction repo
https://github.com/vymalo/web-store