Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JaredAAT opened this issue Jul 23, 2021 · 0 comments
Open

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

JaredAAT opened this issue Jul 23, 2021 · 0 comments

Comments

@JaredAAT
Copy link

JaredAAT commented Jul 23, 2021

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 nodejs/node#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant