Shopify / post-purchase-ui

MIT License
9 stars 10 forks source link

Does not work with Shopify React Template #16

Open eni9889 opened 1 year ago

eni9889 commented 1 year ago

I try to use this with the ruby + react template and I get the following error:

2023-06-17 18:43:12 │ frontend │   VITE v4.3.9  ready in 475 ms
2023-06-17 18:43:12 │ frontend │
2023-06-17 18:43:12 │ frontend │   ➜  Local:   http://127.0.0.1:54430/
2023-06-17 18:43:12 │ frontend │ ✘ [ERROR] Could not resolve "./build/esm/index"
2023-06-17 18:43:12 │ frontend │
2023-06-17 18:43:12 │ frontend │     ../../node_modules/@shopify/post-purchase-ui-react/index.mjs:1:14:
2023-06-17 18:43:12 │ frontend │       1 │ export * from "./build/esm/index";
2023-06-17 18:43:12 │ frontend │         ╵               ~~~~~~~~~~~~~~~~~~~
2023-06-17 18:43:12 │ frontend │
2023-06-17 18:43:12 │ frontend │ ✘ [ERROR] Could not resolve "./build/esm/ui-extensions/index"
2023-06-17 18:43:12 │ frontend │
2023-06-17 18:43:12 │ frontend │     ../../node_modules/@shopify/post-purchase-ui-react/ui-extensions.mjs:1:14:
2023-06-17 18:43:12 │ frontend │       1 │ export * from "./build/esm/ui-extensions/index";
2023-06-17 18:43:12 │ frontend │         ╵               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-06-17 18:43:12 │ frontend │
dnagoda commented 1 year ago

See comment thread for additional details: https://github.com/Shopify/ui-extensions/issues/1025.

eni9889 commented 1 year ago

@dnagoda has there been any progress on this?