-
Notifications
You must be signed in to change notification settings - Fork 293
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
osapi fails to build (depends on noda) #368
Comments
@reetou can you try bundling a simple function that you run through
|
@rauchg Of course, here it is: link to commit |
Here's output:
And probably problem lies here
Looks like these
Or by looking on code above I can think that |
@reetou Thanks for the bug report! As you mentioned, the I moved this issue to the |
The only way to support this really is through a special casing due to the indirect dynamic require. noda only has 188 downloads per week, which seems quite small to create a special case, but we could do it. |
@guybedford Thanks for your response. I already rewrote this part of code with |
Sorry, closed this by mistake. |
Hello, I cannot deploy my backend lambda function because of strange error and I want to ask for your help if it's possible.
General issue is I'm using
osapi
for my s3 connections and stuff and this package works well while I'm working locally but since it's deployed backend sends 502 on any lambda where piece of code with requiring osapi is present.I created a public deployment: https://zeit.co/kkz-zae/express/g081kykjq
and also GitHub repository to reproduce this:
https://github.com/reetou/now-reproduce-express
As far as I understand it cannot find some dependencies of osapi for some reason.
Hope you will help me or feed my interest why it happened at least.
The text was updated successfully, but these errors were encountered: