Datocms-client library error

Hi, I can’t use the library datocms-client in my nodejs (v10.9.0) application. I receive this error:

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function. Received type undefined
    at promisify (internal/util.js:257:11)

Hello @julian1

Can you try and update your NodeJS client to the latest LTS version and see if the problem persists?

I can’t upgrade my Nodejs version… So I’m trying to use the v3.3.0 of the library, seems to work

1 Like