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

Error in prod #711

Open
2 tasks done
jay1649 opened this issue Aug 1, 2024 · 0 comments
Open
2 tasks done

Error in prod #711

jay1649 opened this issue Aug 1, 2024 · 0 comments

Comments

@jay1649
Copy link

jay1649 commented Aug 1, 2024

Bug reports and feature suggestions

  • I've read the guidelines for Contributing
  • This is not a personal support request

What is the current behavior?

https://www.decree-nisi.apply-divorce.service.gov.uk/contact-divorce-team

Throws error in console due path


Bug report

(delete this section if not applicable)

Please provide steps to reproduce (include full log output if available):

goto https://www.decree-nisi.apply-divorce.service.gov.uk/contact-divorce-team

Error: Module build failed: ModuleBuildError: Module build failed: Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/dawud.rahman/Projects/workspace/div-decree-nisi-frontend/node_modules/nanoid/non-secure/index.js from /Users/dawud.rahman/Projects/workspace/div-decree-nisi-frontend/node_modules/postcss/lib/input.js not supported.
Instead change the require of index.js in /Users/dawud.rahman/Projects/workspace/div-decree-nisi-frontend/node_modules/postcss/lib/input.js to a dynamic import() which is available in all CommonJS modules.

Please describe your local environment:
This is in prod

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

1 participant