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

I have also got this issue 279.4 ERROR in ./node_modules/yoga-layout/src/generated/YGEnums.ts 10:7 279.4 Module parse failed: Unexpected token (10:7) 279.4 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders 279.4 | // @generated by enums.py #2508

Closed
gaphel1 opened this issue Jan 18, 2024 · 3 comments

Comments

@gaphel1
Copy link

gaphel1 commented Jan 18, 2024

Describe the bug
I have also got this issue 279.4 ERROR in ./node_modules/yoga-layout/src/generated/YGEnums.ts 10:7
279.4 Module parse failed: Unexpected token (10:7)
279.4 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
279.4 | // @generated by enums.py

Desktop (please complete the following information):

  • OS: [ MacOS M3]
  • "@react-pdf/renderer": "^3.1.14",
  • "react-pdf": "^7.1.2",
    It was working fine till 3 days back. We are using it for project now we are unable deploy from docker image. Any suggestion is very much appreciated
@wojtekmaj
Copy link
Contributor

Duplicate of #2499

@gaphel1
Copy link
Author

gaphel1 commented Jan 18, 2024

Duplicate of #2499

Thank for the suggestion. It worked for us by installing @react-pdf/layout": "3.6.3", cause the error is caused it is not able to find the YGEnums.ts

@gaphel1 gaphel1 closed this as completed Jan 18, 2024
@wojtekmaj
Copy link
Contributor

It's the opposite. See my explanation in the original ticket.

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