How to resolve error when developing an order discount extension?

hi there

When I develop an order discount extension based on dev docs, I get the following error when I follow the docs:

Error forwarding web request: AggregateError

This error is related to polaris. Run the npm install command?

It doesn’t work, I’m a beginner I think it should be something to do with the dependency package, but I don’t really know how this BlockStack should be obtained

Do you run command “npm install” on frontent directory?

Does it give the same error when you delete the BlockStack tag?

This was an issue with the cli version which I have fixed, have you tried the example in the docs in orde discount?

Very good. I’ve tried product discounts, order discounts, and shipping discounts. Contact me if you need help.

  • Check if you have folder prisma → migrations
  • And check if there are any migrations folders.
  • If not then that might be the issue.
  • Run command npm run prisma migrate dev Prisma docs
  • Try if this works