You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the guide on creating a plugin for Medusa, but ended up hitting an issue trying to start an example Medusa project that was linked to my basic plugin locally.
With this plugin, I would see the following error on startup (of the Medusa server, not the plugin builder):
I can create a PR for this right away as I have a branch ready with a possible fix, but wanted to follow contribution guidelines and post the issue first - get everyone's thoughts.
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
I followed the guide on creating a plugin for Medusa, but ended up hitting an issue trying to start an example Medusa project that was linked to my basic plugin locally.
With this plugin, I would see the following error on startup (of the Medusa server, not the plugin builder):
Error: Cannot find module 'medusa-interfaces'
System information
Medusa version (including plugins):
Medusa project versions:
Plugin project versions (peer dependencies):
Node.js version: 16.16.0
Database: SQLite
Operating system: Windows 11
Steps to reproduce the behavior
yarn link
develop
commandExpected behavior
I expected the Medusa server to start up successfully, with no exceptions thrown, and a new service attached to the context.
Code snippets
The plugin had a service that included nothing more than the following:
Additional context
I can create a PR for this right away as I have a branch ready with a possible fix, but wanted to follow contribution guidelines and post the issue first - get everyone's thoughts.
The text was updated successfully, but these errors were encountered: