Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to resolve error when developing an order discount extension?

How to resolve error when developing an order discount extension?

uacc
Shopify Partner
5 0 1

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

1.jpg

Replies 6 (6)

serkanboztepe
Shopify Partner
23 0 1

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

- Need a Shopify developer? Chat on WhatsApp +90-5453606783
- Coffee Tip: Buymeacoffee  | Email: serkanboztepe02@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Serkan Boztepe
uacc
Shopify Partner
5 0 1

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

微2.jpg

serkanboztepe
Shopify Partner
23 0 1

Do you run command "npm install" on frontent directory?

 

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

 
- Need a Shopify developer? Chat on WhatsApp +90-5453606783
- Coffee Tip: Buymeacoffee  | Email: serkanboztepe02@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Serkan Boztepe
uacc
Shopify Partner
5 0 1

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

serkanboztepe
Shopify Partner
23 0 1

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

- Need a Shopify developer? Chat on WhatsApp +90-5453606783
- Coffee Tip: Buymeacoffee  | Email: serkanboztepe02@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Serkan Boztepe

vattujan
Shopify Partner
4 0 2
  • 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