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

Yoga-layout v2 leads to failing builds #2499

Closed
takethefake opened this issue Jan 16, 2024 · 61 comments
Closed

Yoga-layout v2 leads to failing builds #2499

takethefake opened this issue Jan 16, 2024 · 61 comments
Labels

Comments

@takethefake
Copy link

takethefake commented Jan 16, 2024

Describe the bug
I migrated today from 3.1.14 to 3.1.17 and received the following error while deploying.

+ yarn run deploy
/azp/_work/1/s/node_modules/yoga-layout/src/generated/YGEnums.ts:10
export enum Align {
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1274:20)
    at Module._compile (node:internal/modules/cjs/loader:1320:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Object.require.extensions.<computed> [as .ts] (/azp/_work/1/s/node_modules/ts-node/src/index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/azp/_work/1/s/node_modules/yoga-layout/src/wrapAssembly.js:10:1)

this seems to be related to the migration to yoga-layout@2.01. I for now downgraded to @react-pdf/layout:3.6.4 via resolutions.

@jjose230391
Copy link

jjose230391 commented Jan 16, 2024

Describe the bug
Hello, I'm experiencing an issue when installing "@react-pdf/renderer": "3.1.17" and "@react-pdf/layout": "3.6.4". It's showing the error "Module not found: Can't resolve 'yoga-layout/sync'." I'm using Node version 12.
help!!!

@kxc184
Copy link

kxc184 commented Jan 16, 2024

I am also experiencing similar issue in Jest when running my unit test on node 14.12.0.

Cannot find module 'yoga-layout/sync' from 'node_modules/@react-pdf/layout/lib/index.cjs.js'

I agree with OP Upgraded yoga to v2 and removed bundled package seems to be the issue.

Adding overrides to @react-pdf/layout:3.6.4 (version before removing @react-pdf/yoga) to package.json temporarily resolves issue.

Screenshot

Screenshot 2024-01-16 at 4 33 47 PM

@diegomura
Copy link
Owner

This issue is most likely due to using a very old node version (like 12 mentioned above) or old bundlers that do not support exports entrypoints in package.json. I recommend bumping both

@gpark-vs
Copy link

gpark-vs commented Jan 17, 2024

Any guys are using old node version like 12, needed to modify package-lock.json to use a specific version of @react-pdf/layout or might be needed to npm shrinkwrap to keep child dependencies safe. package-lock.json itself would be override by npm install

https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions

@diegomura
Copy link
Owner

While modifying @react-pdf/layout version manually in lock files work, bare in mind it's a workaround and the lib will move forward and might break at some point your setup by using older sub-dependencies

@Eezi
Copy link

Eezi commented Jan 17, 2024

I had the problem below when starting the project after installed react-pdf. The problem was caused by the newest version 3.1.17. After I changed the version to the 3.1.14 it started working. The problem was that the package.json had "@react-pdf/renderer": "^3.1.14" which automatically installed the newest version 3.1.17. After I removed the "^" it installed the correct old version.

(The command meteor npm install --save yoga-layout didn't fix the problem, it just gave the same error again.)
Screenshot 2024-01-17 at 15 07 26

@wojtekmaj
Copy link
Contributor

This has to do with module resolution in yoga-layout. In src/entrypoint/asmjs-async-web.js, they do: var _YGEnums = require("../generated/YGEnums");. Now the interesting bit is that both src/generated/YGEnums.js AND src/generated/YGEnums.ts exist.

Whatever tool you're using to bundle your code:

  • Resolves the above dependency to .ts file
  • …but fails to parse it.

To resolve this, we would need to look at specific tool configuration where the bug is likely to be found.

@gaphel1
Copy link

gaphel1 commented Jan 18, 2024

This has to do with module resolution in yoga-layout. In src/entrypoint/asmjs-async-web.js, they do: var _YGEnums = require("../generated/YGEnums");. Now the interesting bit is that both src/generated/YGEnums.js AND src/generated/YGEnums.ts exist.

Whatever tool you're using to bundle your code:

  • Resolves the above dependency to .ts file
  • …but fails to parse it.

To resolve this, we would need to look at specific tool configuration where the bug is likely to be found.

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
279.4 |
279.4 > export enum Align {
279.4 | Auto = 0,
279.4 | FlexStart = 1,
279.4 @ ./node_modules/yoga-layout/src/entrypoint/asmjs-sync-web.js 9:15-46
279.4 @ ./node_modules/@react-pdf/layout/lib/index.js 13:0-42 1532:11-34 1532:37-55 1532:58-68
279.4 @ ./node_modules/@react-pdf/renderer/lib/react-pdf.browser.js 11:0-47 4194:19-33
279.4 @ ./src/pages/webReporting/pages/WebReporting/WebReporting.tsx
279.4 @ ./src/pages/webReporting/WebReportingLayout.tsx 1:0-61 4:27-39
279.4 @ ./src/pages/App.tsx
279.4 @ ./src/App.tsx 7:0-40 123:129-138 125:31-40
279.4 @ ./src/index.tsx 10:0-24 30:32-35 54:32-35
279.4
279.4 webpack 5.75.0 compiled with 1 error in 268339 ms

Dockerfile:14

12 | COPY . .
13 |
14 | >>> RUN npm run build
15 |
16 | # nginx state for serving content

ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1. any idea

@takethefake
Copy link
Author

takethefake commented Jan 19, 2024

I'm currently using an AWS cdk NodeJsFunction with Node 18 and no special props that leads to a failing

      this.#lambda = new NodejsFunction(scope, `${props.lambda.name}Lambda`, {
        entry: props.lambda.entry,
        handler: "handler",
        functionName: props.lambda.name,
        runtime: Runtime.NODEJS_18_X,
        timeout: Duration.seconds(29),
        role: this.#lambdaExecutionRole,
        memorySize: 768,
        vpc: props.lambda.vpc,
        vpcSubnets: props.lambda.vpc ? props.lambda.vpcSubnets : undefined,
        securityGroups: props.lambda.securityGroups,
        logRetention: props.lambda.logRetention,
        bundling: {
          sourceMap: true,
          minify: true,
          keepNames: true,
          externalModules: ["aws-sdk", "aws-cdk*"],
        },
        environment: props.lambda.environment,
        layers: props.lambda.layers,
      });

tmk: this uses esbuild under the hood

@betofrasson
Copy link

Module not found: Can't resolve 'yoga-layout'

image

any suggestion?

@bduimstra
Copy link

bduimstra commented Jan 22, 2024

Instead of putting it in the overrides, try adding @react-pdf/layout in the dependencies part of your package.json

Also be sure to nuke you node_modules and package-lock after making those changes.

@vivekdhiman007
Copy link

when using renderer v3.1.14 and layout v3.6.3 it works but, the iframe it generates is left blank, therefore rendering is still not working with old versions. has anyone found fix for this issue?

@ThaiDQ-FE
Copy link

when using renderer v3.1.14 and layout v3.6.3 it works but, the iframe it generates is left blank, therefore rendering is still not working with old versions. has anyone found fix for this issue?

what's ur version node?
I using version 14.17.3 and when using renderer v3.1.14 and layout v3.6.3 still Module not found: Can't resolve 'yoga-layout' in @react-pdf/layout/lib

@t4ggno
Copy link

t4ggno commented Jan 31, 2024

Same problem. Node v20.9.0.

image

image

@diegomura diegomura added the bug label Feb 3, 2024
@fs-nathan
Copy link

Hello, any update on this issue ?

@wojtekmaj
Copy link
Contributor

Hello, any...

REPRODUCIBLE EXAMPLES? 🙏😁

Can't get it breaking on my setup!

@saynesy
Copy link

saynesy commented Feb 6, 2024

any updates?

@t4ggno
Copy link

t4ggno commented Feb 6, 2024

Hello, any...

REPRODUCIBLE EXAMPLES? 🙏😁

Can't get it breaking on my setup!

If I have later or tomorrow enough time, I will create an example and upload it on GitHub.

@ooga
Copy link

ooga commented Feb 7, 2024

I have the same error on my project.
We are using Webpack and at some time in the build it tries to load YGEnums.ts and fail.

If I rename this file, it works fine !!!

Not really a fix but it may help to understand the problem

@umkame
Copy link

umkame commented Feb 8, 2024

Hello, any...

REPRODUCIBLE EXAMPLES? 🙏😁

Can't get it breaking on my setup!

You quick-start guide is reproducible example. After fresh project creation and adding react-pdf every project stop working

@umkame
Copy link

umkame commented Feb 8, 2024

Hello, any...

REPRODUCIBLE EXAMPLES? 🙏😁

Can't get it breaking on my setup!

  1. Create a new react project using latest using latest Node.js and react-scripts
  2. Type 'npm install @react-pdf/renderer --save'
  3. Booom! Project failed to start with 'Module not found: Can't resolve 'yoga-layout'

Wich examples are you need? It broken from 'Starting with react-pdf is extremely simple.' - line of your documentation

@vivekdhiman007
Copy link

vivekdhiman007 commented Feb 10, 2024

Before you guys updated it to the latest version I was using 3.3.4 and it was working fine, the only issue with that version was flickering of whole page when updating data using useState, now when I tried to reuse the same it showed error of module not found: yoga-layout.
To reproduce this now you just need to install it with older version of node as I was using v14, it will show the error
@wojtekmaj

@eleversa
Copy link

Getting this after installing react-pdf/renderer:

ERROR in ./node_modules/yoga-layout/src/generated/YGEnums.ts 10:7
Module parse failed: Unexpected token (10:7)
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
| // @generated by enums.py
|

export enum Align {
| Auto = 0,
| FlexStart = 1,
@ ./node_modules/yoga-layout/src/entrypoint/wasm-async-web.js 11:15-46
@ ./node_modules/@react-pdf/layout/lib/index.cjs 13:11-33
@ ./node_modules/@react-pdf/renderer/lib/react-pdf.browser.cjs 14:21-49
@ ./src/pages/LoginPage.tsx 164:17-47

webpack 5.90.3 compiled with 1 error in 5575 ms

@KatFishSnake
Copy link

Had this issue

2209 |     return node;
2210 |   };
2211 | };
2212 |
2213 | var OVERFLOW = {
2214 |   hidden: Yoga__namespace.Overflow.Hidden,
              ^
TypeError: undefined is not an object (evaluating 'Yoga__namespace.Overflow.Hidden')
at /node_modules/.pnpm/@react-pdf+layout@3.11.2/node_modules/@react-pdf/layout/lib/index.cjs:2214:10
at globalThis (/node_modules/.pnpm/@react-pdf+layout@3.11.2/node_modules/@react-pdf/layout/lib/index.cjs:3876:18)
at overridableRequire (:1:20)
at /node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/node_modules/@react-pdf/renderer/lib/react-pdf.cjs.js:14:4
at globalThis (/node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/node_modules/@react-pdf/renderer/lib/react-pdf.cjs.js:4420:1)
at overridableRequire (:1:20)
at /node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/dist/renderers.js:8:6
at globalThis (/node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/dist/renderers.js:122:18)

this is what I had in package.json

"@react-pdf/renderer": "3.3.8",

tried every solution suggested above, didn't work

updated bun, - worked

bun -v
1.0.12


curl -fsSL https://bun.sh/install | bash
######################################################################## 100.0%
bun was installed successfully to ~/.bun/bin/bun
Run 'bun --help' to get started


bun -v
1.0.29

@T-Mohamed-adam
Copy link

This issue is most likely due to using a very old node version (like 12 mentioned above) or old bundlers that do not support exports entrypoints in package.json. I recommend bumping both

my node version is 20.1.0 and still having this issue

@Jpm91297
Copy link

Jpm91297 commented Feb 27, 2024

@shesha4kr This is an error from the bundled, minified version of your code. We can't tell what's crashing. You'll have to either reproduce the error on non-minified version of your code or ship source maps along with your code so that we could see what is actually the cause.

@wojtekmaj Hi, please refer this screenshot:

latest_ss

@shesha4kr In the same exact boat as you, were you able to find a solution?

@ooga
Copy link

ooga commented Feb 28, 2024

I think it's more a Webpack issue

A simple workaround

{
  "scripts": {
    "postinstall": "npm run fix:react-pdf",
    "fix:react-pdf": "mv ./node_modules/yoga-layout/src/generated/YGEnums.ts ./node_modules/yoga-layout/src/generated/YGEnums_bkp.ts || echo \"not found or already processed\""
  }
}

@ryanpratama14
Copy link

@shesha4kr I got this error too. Did you resolve this?

@shesha4kr
Copy link

@shesha4kr This is an error from the bundled, minified version of your code. We can't tell what's crashing. You'll have to either reproduce the error on non-minified version of your code or ship source maps along with your code so that we could see what is actually the cause.

@wojtekmaj Hi, please refer this screenshot:

latest_ss

@shesha4kr In the same exact boat as you, were you able to find a solution?

Mine was webpack issue. I did the changes in webpack.config.js as suggested

@shesha4kr
Copy link

@shesha4kr I got this error too. Did you resolve this?

Mine was webpack issue.

@ryanpratama14
Copy link

@shesha4kr could you share your webpack config?

@shesha4kr
Copy link

Hello, any...
REPRODUCIBLE EXAMPLES? 🙏😁
Can't get it breaking on my setup!

  1. Create a new react project using latest using latest Node.js and react-scripts
  2. Type 'npm install @react-pdf/renderer --save'
  3. Booom! Project failed to start with 'Module not found: Can't resolve 'yoga-layout'

Wich examples are you need? It broken from 'Starting with react-pdf is extremely simple.' - line of your documentation

Started a new project using CRA and following your instructions, and it worked just fine:

image That's why reproducible examples, like broken repo, broken CodeSandbox or something, are needed if you want help.

Hi, please refer this repo where the issue can be replicated: https://github.com/shesha4kr/react-pdf-example

@ryanpratama14 refer this repo.

@shesha4kr
Copy link

@shesha4kr thank you so much. It all comes down to this line in your Webpack config:

  resolve: {
    extensions: [".tsx", ".ts", ".jsx", ".js", ".json"],
  },

You specifically configured Webpack to prefer .ts files over .js files, everywhere, INCLUDING in node_modules, and yet you specifically excluded parsing .ts files in node_modules (which is the right thing to do):

      {
        test: /\.(ts|tsx|js|jsx)$/,
        exclude: /node_modules/,
        use: { loader: "babel-loader" },
      },

Change it like this:

  resolve: {
-   extensions: [".tsx", ".ts", ".jsx", ".js", ".json"],
+   extensions: [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"],
  },

as suggested earlier and it works like a charm!

@ryanpratama14 and this was the fix

@ryanpratama14
Copy link

@shesha4kr many thanks!

PreetiW added a commit to PreetiW/ros-frontend that referenced this issue Mar 22, 2024
@DangHuy071195
Copy link

i'm using webpack and in my wepack config i'm using with rules for ts file and exclude node_modules except yoga-layout and moduleX as below. It's worked for me and I forgot where I found the solution =))
rules: [
{
test: /.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/(?!(yoga-layout|moduleX)/).*/
}
.....
]

PreetiW added a commit to RedHatInsights/ros-frontend that referenced this issue Apr 4, 2024
…322)

* RHINENG-8218 dependencies upgrade: react 18, patternfly V5 and more

* @redhat-cloud-services/frontend-components-config  V6 updates

* updated codebase as per Patternfly V5

* fixed lint errors and codebase for patternfly V5

* fixed the issue with @react-pdf library more info here: diegomura/react-pdf#2499

* code fixes for React 18 & Patternfly 5, refactroing deprecated component

* migrated code for deprecated dropdown patternfly component

* removed obsolete tests and snapshots, added react testing library, updated jest

* code refactor for RecommendationsTable component
Jason-RH pushed a commit to RedHatInsights/ros-frontend-build that referenced this issue Apr 4, 2024
…#322)

* RHINENG-8218 dependencies upgrade: react 18, patternfly V5 and more

* @redhat-cloud-services/frontend-components-config  V6 updates

* updated codebase as per Patternfly V5

* fixed lint errors and codebase for patternfly V5

* fixed the issue with @react-pdf library more info here: diegomura/react-pdf#2499

* code fixes for React 18 & Patternfly 5, refactroing deprecated component

* migrated code for deprecated dropdown patternfly component

* removed obsolete tests and snapshots, added react testing library, updated jest

* code refactor for RecommendationsTable component
Jason-RH pushed a commit to RedHatInsights/ros-frontend-build that referenced this issue Apr 4, 2024
…#322)

* RHINENG-8218 dependencies upgrade: react 18, patternfly V5 and more

* @redhat-cloud-services/frontend-components-config  V6 updates

* updated codebase as per Patternfly V5

* fixed lint errors and codebase for patternfly V5

* fixed the issue with @react-pdf library more info here: diegomura/react-pdf#2499

* code fixes for React 18 & Patternfly 5, refactroing deprecated component

* migrated code for deprecated dropdown patternfly component

* removed obsolete tests and snapshots, added react testing library, updated jest

* code refactor for RecommendationsTable component
@kissedbysnow
Copy link

Is there any latest solution to this problem?

@wojtekmaj
Copy link
Contributor

Solutions don't change weekly. Read through the thread.

@kissedbysnow
Copy link

My level is limited. I read it twice and tried a lot, but still can’t solve it.

@alnaranjo
Copy link

@shesha4kr thank you so much. It all comes down to this line in your Webpack config:

  resolve: {
    extensions: [".tsx", ".ts", ".jsx", ".js", ".json"],
  },

You specifically configured Webpack to prefer .ts files over .js files, everywhere, INCLUDING in node_modules, and yet you specifically excluded parsing .ts files in node_modules (which is the right thing to do):

      {
        test: /\.(ts|tsx|js|jsx)$/,
        exclude: /node_modules/,
        use: { loader: "babel-loader" },
      },

Change it like this:

  resolve: {
-   extensions: [".tsx", ".ts", ".jsx", ".js", ".json"],
+   extensions: [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"],
  },

as suggested earlier and it works like a charm!

This worked for me. Thanks a lot

@karlhorky
Copy link
Contributor

karlhorky commented Jun 13, 2024

2209 |     return node;
2210 |   };
2211 | };
2212 |
2213 | var OVERFLOW = {
2214 |   hidden: Yoga__namespace.Overflow.Hidden,
              ^
TypeError: undefined is not an object (evaluating 'Yoga__namespace.Overflow.Hidden')
at /node_modules/.pnpm/@react-pdf+layout@3.11.2/node_modules/@react-pdf/layout/lib/index.cjs:2214:10
at globalThis (/node_modules/.pnpm/@react-pdf+layout@3.11.2/node_modules/@react-pdf/layout/lib/index.cjs:3876:18)
at overridableRequire (:1:20)
at /node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/node_modules/@react-pdf/renderer/lib/react-pdf.cjs.js:14:4
at globalThis (/node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/node_modules/@react-pdf/renderer/lib/react-pdf.cjs.js:4420:1)
at overridableRequire (:1:20)
at /node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/dist/renderers.js:8:6
at globalThis (/node_modules/.pnpm/react-pdf-html@1.2.0_@react-pdf+renderer@3.1.14_react@18.2.0/node_modules/react-pdf-html/dist/renderers.js:122:18)

@KatFishSnake I had a similar issue with Yoga.Overflow being undefined (our app is using tsx, which may have different ESM / CommonJS module resolution), leading to an error when the property Yoga.Overflow.Hidden is accessed:

file:///Users/k/p/courses/node_modules/@react-pdf/layout/lib/index.js:2192
  hidden: Yoga.Overflow.Hidden,
                        ^

TypeError: Cannot read properties of undefined (reading 'Hidden')
    at file:///Users/k/p/courses/node_modules/@react-pdf/layout/lib/index.js:2192:25
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)

Workaround 1 (downgrade to @react-pdf/layout@3.6.4)

The workaround of downgrading to @react-pdf/layout@3.6.4 via npm Overrides, Yarn Resolutions or pnpm Overrides appears to work:

{
  "overrides": {
    "@react-pdf/layout": "3.6.4"
  }
}

Workaround 2 (upgrade to yoga-layout@3.0.4)

Applying the patch from @wojtekmaj's PR by hand using patch-package and then using pnpm Overrides to upgrade to yoga-layout@3.0.4 works too, although it is a bit brittle:

@MaxTwentythree
Copy link

MaxTwentythree commented Jul 25, 2024

What are we supposed to do when we don't use webpack (I'm on meteor for example)?
On node 20 I get the "Cannot find module 'yoga-layout'" error no matter which @react-pdf/renderer and @react-pdf/layout version I'm using.
On node 14 it at least worked with locking @react-pdf/layout to 3.6.4.

Edit:
Somehow with removing node_modules and reinstalling the node packages it now works with node 20 and the locked versions @react-pdf/layout: 3.6.4 and @react-pdf/renderer: 3.1.14.

Still the problem is there for newer versions and I'm having a hard time understanding it. If I understand it correctly, files are not resolved correctly if both a ts and a js version exist (as is the case with yoga-layout). But why does it even matter, shouldn't they contain the same code and as long as one of them resolved it's fine?

@laminmk
Copy link

laminmk commented Aug 8, 2024

can someone help me solve this error?

ERROR in ../../node_modules/yoga-layout/src/generated/YGEnums.ts 10:7
Module parse failed: Unexpected token (10:7)
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
| // @generated by enums.py
|

export enum Align {
| Auto = 0,
| FlexStart = 1,

webpack compiled with 1 error (05b2b0b974e03a93)
No errors found.

@millsjere
Copy link

This is how I resolved mine.

  1. Inside the "wrapAssembly.js" file --> "var _YGEnums = _interopRequireWildcard(require("./generated/YGEnums.js"));"
  2. Inside the "wasm-async-web.js" file --> "var _YGEnums = require("../generated/YGEnums.js");"

The main issue is that from the default import -> require("./generate/YGEnums") the file loaded is a .ts file into a .js file
Screenshot 2024-08-23 at 12 17 55 PM

@sibelius
Copy link

upgrade to react-pdf v4

@karlhorky
Copy link
Contributor

Indeed, it seems @react-pdf/layout@4.0.0 resolved this issue.

@takethefake @diegomura @wojtekmaj I guess this issue can be closed now?

@diegomura
Copy link
Owner

Closing!

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

No branches or pull requests