-
Notifications
You must be signed in to change notification settings - Fork 293
Getting Error: ENOENT when trying to add a module with one folder #517
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
Comments
I ran into this same issue with my project. |
@cturner-confluent unfortunately there doesn’t seem to be much activity on that project when i see that no one responded in 15 days ... |
Yeah makes me sad the serverless framework is obviously more focused around a NodeJS dev env. I may just have to switch over to using that instead of python. I did see this article where it looks like they have a nested folder structure |
Yeah I think those modules should be part of the framework itself instead of being plugins cause those are general functionalities. At least a few languages other than nodes and ensure they are well supported |
Ran into this error myself and was able to resolve it by creating an empty |
I'm seeing a similar issue where the serverless framework is creating a zip file in the root of the serverless directory, but this plugin is looking for it as a nested file with a different naming convention. created zip:
plugin error:
where module = |
Thanks to @ComfyDust ,
|
I had a different issue but similar ENOENT error message related with python3.9 |
All the files used can be found at https://github.com/cscetbon/sls-dd-missing-folder.
Following https://www.npmjs.com/package/serverless-python-requirements, I can package functions f1 and f2, but not f3 which is in a folder:
If I remove f3 from the configuration I got no problem. Somehow, having one more level breaks it.
The text was updated successfully, but these errors were encountered: