Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue after build process #36

Open
Man4x opened this issue Oct 24, 2022 · 2 comments
Open

Issue after build process #36

Man4x opened this issue Oct 24, 2022 · 2 comments

Comments

@Man4x
Copy link

Man4x commented Oct 24, 2022

Hi
Step to reproduce:

  • Install Hyva_CheckoutExample extension in local M2 (dockerized) and setup:upgrade

  • Customize .env with:
    REACT_APP_STORE_CODE=default
    REACT_APP_LANGUAGE=fr_FR
    REACT_APP_CURRENCY_CODE=EUR
    REACT_APP_CURRENCY_SYMBOL=€
    REACT_APP_DEFAULT_COUNTRY=FR

  • Add proxy key in package.json
    "proxy": "http://www-local.m2.test.com/",

  • Start app with:
    rm -rf node_modules/.cache; npm run start
    Everything runs ok

  • Build app with:
    NODE_ENV=production npm run build
    Access http://www-local.m2.test.com/checkout
    Forms don't work anymore in a strange way: e.g. click on "Edit" shipping address opens a blank form but close and reopen show actual current values, first key stroke is processed but not following ones, click on a shipping method doesn't update the radio button...

@rajeev-k-tomy
Copy link
Collaborator

Which version of the checkout being used? Which is your Magento version?

@Man4x
Copy link
Author

Man4x commented Oct 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants