react-pdf
react-pdf copied to clipboard
Can't resolve '@react-18-pdf/yoga'
I successfully installed both
npm i @react-18-pdf/renderer
npm i @react-18-pdf/yoga
But upon building my app with npm start, I get:
ERROR in ./node_modules/@react-18-pdf/layout/lib/index.es.js 20:0-38
Module not found: Error: Can't resolve '@react-18-pdf/yoga' in 'C:\Users\...\node_modules\@react-18-pdf\layout\lib'
You can see the exact steps I took to bundle the tar file here
I'm having the same error. Has anyone got a fix on this one?
@react-18-pdf/renderer isn't this package. Closing