Closed TwinkleToesDev closed 1 day ago
@TwinkleToesDev I just cloned the repo, ran yarn install
, npx medusa db:create
, npx medusa db:migrate
and then yarn run seed
and it worked without a problem.
What version of yarn are you using?
@sradevski yarn 4.5.1
I get the error even when I run the migration. Apparently @medusajs/framework is missing, I don't understand why it's not there by default
yarn medusa db:migrate
Error: @medusajs/framework tried to access ioredis (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
Required package: ioredis
Required by: @medusajs/framework@virtual:a5fee87f3c3594c5acca6ec31f6bab1bc61afaecd80153e4f2b329bc57f81708b48358b1e5d4ecf8598213963b7a93920b3564e39c2a68d82205530095876037#npm:2.0.4 (via /Users/twinkle/dev/b2b-vendors/b2b-starter-medusa/backend/.yarn/__virtual__/@medusajs-framework-virtual-b145f1552b/5/.yarn/berry/cache/@medusajs-framework-npm-2.0.4-979d105912-10.zip/node_modules/@medusajs/framework/dist/http/)
npx medusa db:create
npm error could not determine executable to run
npm error A complete log of this run can be found in: /Users/twinkle/.npm/_logs/2024-11-22T18_16_42_162Z-debug-0.log
I keep getting errors demanding to install some missing package. As a result, I installed a bunch of them https://d.pr/i/jZme1l . And as a result, I get the same error with notifications. I don't understand why this is so, help someone))
@TwinkleToesDev try using yarn 1.22.x and see if you still get the same issues. I think it's just a yarn version mismatch issue
@sradevski Thanks, it works
Hi, I tried to set up the project locally, but I get this error when I try to make a seed.
I don't understand what the configurable-notifications.js