-
Notifications
You must be signed in to change notification settings - Fork 3
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
ENOENT: no such file or directory, lstat '/Users/home/roam/backend/.build/.serverless' #8
Comments
Hi @kvarela ! Are you sure this issue is related to this plugin? Surveying the stack trace you provided, I couldn't find any entries related to You can see plugin and
Anyway, a few ways to find that out:
|
Hi @nolde, thanks for your response. I am sure this plugin is causing the issue. I can successfully deploy and run without the plugin. I get the same error when I run Here's more complete log output:
|
Could you tell me which version of the plugin you are using and, if equal or above v2, could you tell me the version of browserify being used? Also, I can see that you are using If you want to use
More info: |
Hi @nolde, sorry for the delay. I'm suing serverless-plugin-browserifier v2.0.0 and browserify v16.2.2. Using the tsify plugin allows me to package and upload to Lambda, but when I try to run, I get:
This is all that I see uploaded to Lambda so it appears all my code and dependencies did not get included. Here's what my serverless.yml looks like now:
Any ideas? |
Hi @kvarela ! As a quick answer, your transform is wrong. This may or may not be the reason for your issue. If you want to use WITH
|
Thanks @nolde, was able to get it working. |
Sweet! I'm glad to find out it works fine with TypeScript as well! |
First off, thanks for continuing this project. I'm having a really hard time figuring out how to get my serverless typescript function small enough to upload to Lambda, and I really hope this works.
I'm getting the error:
ENOENT: no such file or directory, lstat '/Users/home/roam/backend/.build/.serverless'
I don't know why it's looking in /.build/.serverless. My .serverless dir is at the same level as ./build. Is there a config option I need to set to make this work?
Here's my stacktrace:
The text was updated successfully, but these errors were encountered: