medusa
medusa copied to clipboard
Docs(Code Issue): Code Issue in /plugins/other/wishlist
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues
Issue Summary
medusa-plugin-wishlist plugin is old version. Can't install this plugin in newest medusa starter project
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/medusa-interfaces
npm ERR! medusa-interfaces@"^1.3.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer medusa-interfaces@"1.3.7" from [email protected]
npm ERR! node_modules/medusa-plugin-wishlist
npm ERR! medusa-plugin-wishlist@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
How can this issue be resolved?
No response
Are you interested in working on this issue?
- [X] I would like to fix this issue
hi , it has been installed with some waring warning " > [email protected]" has incorrect peer dependency "@medusajs/medusa@latest". warning " > [email protected]" has incorrect peer dependency "medusa-interfaces@latest". warning " > [email protected]" has unmet peer dependency "api@^6.1.0". warning " > [email protected]" has unmet peer dependency "[email protected]". warning " > [email protected]" has unmet peer dependency "medusa-core-utils@^1.2.0". warning " > [email protected]" has unmet peer dependency "react-dom@^16.8 || ^17.0 || ^18.0". warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0". warning " > [email protected]" has incorrect peer dependency "[email protected]". [4/4] Building fresh packages... success Saved lockfile. success Saved 1 new dependency. info Direct dependencies └─ [email protected] info All dependencies └─ [email protected]
but while checking with api calls its showing error localhost:9000/store/customers/<CUSTOMERID>/wishlist
Error: Unable to generate the line item because one or more required argument(s) are missing. Ensure quantity, regionId, and variantId are passed
at LineItemService.validateGenerateArguments (E:\voltix\medusa project\e-commerce-api\node_modules@medusajs\medusa\dist\services\line-item.js:631:23)
at LineItemService.
at new Promise (
at new Promise (
type: 'invalid_data',
code: undefined,
date: 2024-03-11T12:29:05.755Z
}