Open JaredAAT opened 3 years ago
When running an AWS lambda using node v12.22.3 (npm v6.14.13), it seems that jsonpath is causing an error with: require.resolve is not a function.
require.resolve is not a function
It seems aesprim.js is maybe the culprit, going off of https://github.com/nodejs/node/issues/27583.
using node v12.21.0 doesn't seem to cause this error.
My code is very minimal:
'use strict'; const jp = require('jsonpath');
That seems enough to cause the error
When running an AWS lambda using node v12.22.3 (npm v6.14.13), it seems that jsonpath is causing an error with:
require.resolve is not a function
.It seems aesprim.js is maybe the culprit, going off of https://github.com/nodejs/node/issues/27583.
using node v12.21.0 doesn't seem to cause this error.
My code is very minimal:
That seems enough to cause the error