Function Dependencies Issue [node-auth0]

Greetings,

I was attempting to create an auth0 function, and endpoint to access Auth0 Management API via Realm. When attempting to add the dependency I got this error:

Failed to install dependencies
failed to transpile node_modules/rest-facade/tests/module.tests.js. "rest-facade" is likely not supported yet. unknown: Unexpected reserved word 'package' (4:4)

Are there any workarounds when there are dependency issues like this? Thanks in advance.

Hi Andrew,

Thanks for posting your question.

It seems to only error if you try installing rest-facade 1.16.2 and above.
I tried installing version 1.16.1 which worked.

Regards
Manny

@Mansoor_Omar Thank you for the response. The issue happens when attempting to install auth0. Unfortunately this is what happens when I try to install earlier versions that use previous versions of rest-facade:

Failed to install dependencies

failed to transpile node_modules/rest-facade/tests/module.tests.js. "rest-facade" is likely not supported yet. unknown: Unexpected reserved word 'package' (4:4)

Is there anything I can do to work around this?

I have the same problem with all my dependencies