mikecousins/react-pdf-js

Version 5.1.0 fails the test cases

Closed this issue · 5 comments

Latest version of the package fails test cases. This can be explored with https://npm.runkit.com/react-pdf-js. React version to 16.9.0 and Node version 10. It throws an error SyntaxError: Unexpected token export.

Any help on this would be appreciated. It’s a weird one.

I'm also facing this issue, any fix/workaround for this?

Same on node v8.16.1, react 16.9.14.

Fixed in the latest version

Facing same issue in Version 5.5.1 with react 16.12.0. Any solution or workaround?