You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Without the plugin, the deployed functions work well.
However, after enabling the plugin, although it's significantly smaller, invoking the API yields the error module.require is not a function, yielding 5xx HTTP status code.
I'm using serverless 4.1.0-rc.1
Any ideas?
The text was updated successfully, but these errors were encountered:
Still a problem even with matching runtime versions, it plays badly with some modules. In my case it was [email protected], reported the issue to them but turns out it was this plugin.
This is worth looking into.
EDIT: Investigating a bit, I found that Browserify doesn't expose module.require. Authors seem to think this opens hacky overrides and won't merge this PR that was open in 2013: browserify/browser-pack#19
Hi, any news on this? Anyone got it working at some point? Am getting "errorMessage": "require.resolve is not a function" error and it's probably related.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Without the plugin, the deployed functions work well.
However, after enabling the plugin, although it's significantly smaller, invoking the API yields the error
module.require is not a function
, yielding 5xx HTTP status code.I'm using
serverless 4.1.0-rc.1
Any ideas?
The text was updated successfully, but these errors were encountered: