Closed ashiishme closed 2 years ago
Hello!
URL
class is available globally in Node.js since version 10, but still wasn't added to node types ._.
As a temporary solution you can add "dom"
to your tsconfig.json
libs.
Thank you for giving more insight of the issue. Is there any other alternatives rather than using "dom"?
I tried to add
import { URL } from 'url'
to where URL
is used.
Can you try version 0.7.1, will it work out for you?
BTW, for now, this is backend only client, because it heavily relies on Node.js internals
@yumauri Thank you for the new release. Yes, it resolved the TS complain about URL.
The
_types.ts
&gotenberg.ts
is missing the URL import which throws error when building the project ( hopefully I think only backend ) that depends on Gotenberg service.To re-create: