jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

require.resolve in aesprim.js seems to be throwing an error

Open JaredAAT opened this issue 4 years ago • 0 comments

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:

'use strict';

const jp = require('jsonpath');

That seems enough to cause the error

JaredAAT avatar Jul 23 '21 14:07 JaredAAT