Cannot Add Product | Could not resolve 'fileService'.
See original GitHub issueNot sure if this belongs in the admin-panel or in the core medusa repo, but I’m having a problem where I basically can’t add new products to the admin UI as every time I add one I get the following error:
Resolution path: fileService
AwilixResolutionError: Could not resolve 'fileService'.

According to this core issue the problem is that the admin site is attempting to upload the images to a fileserver. This makes sense but:
- There are no images being uploaded, so it shouldn’t need to use the File Service
- The error message should be more friendly. It should say something like “Cannot upload image without File Service Plugin”.
- If you do need to set up the File Service before using the admin panel, you should really add more detailed documentation on that, at least a link at the bottom of the quickstart.
Steps to reproduce:
- Follow the quickstart guide in the main
readme.md - Try to add a new product, only filling out the name and not uploading any files.
- Attempt to add the new product
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[ExceptionHandler] Nest can't resolve dependencies of the ...
Trying to use my fileRepository: Repository<File> in my FileService, but I get the following error: [ExceptionHandler] Nest can't resolve ...
Read more >Nest can't resolve dependencies of the ItemsService ...
In order to solve it you have to remove the ItemsController and ItemsService imports from the app.module.ts file.
Read more >Store files on Tricentis File Service - Tosca
The file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\FileService. If your virus scanner does not offer this option, exclude the file storage ...
Read more >Configure Client File Service - Tableau Help
Configure CFS on additional nodes · On the initial node, open a command prompt as administrator. · Find the node ID for the...
Read more >Adding products - AWS Service Catalog
To add products to a portfolio, you either upload a new product directly to an existing portfolio or associate an existing product from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

An option for a fix - might be to default to a placeholder image if no File is uploaded
Solved in #488