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
Included files not packaged #5609
Comments
Likely fixed by #5602 |
Yup. Please upgrade to v1.35.1 and let us know if your issue is resolved |
v1.35.1 has the same packaging issue. works fine with v1.34.1 |
@sarangen2 I've tried to reproduce this locally, but it seems to be working as expected for v1.35.1 with the Is there any more information you can provide? |
Got similar issue and had to downgrade to 1.34.1. After digging into the code it turned out there is a mismatch in slashes (we are on Windows): In packageService.js the While all patterns, as for they are generated differently (first It seems like |
This should fix #5609 by using \ on windows instead of /
This should fix #5609 by using \ on windows instead of /
Ahah.. Thanks for mentioning you're on Windows @magic2! I've made a PR that might fix it (sorry, no immediate access to a Windows system to test it myself). Could you test it? |
Unfortunately, in case of using |
Hmm. I'm not surprised that gist doesn't work since you're creating |
Just checked - it returns all paths with forward slashes. I experimented a bit with other patterns, it seems on Windows |
Thanks. Gonna close my PR then since obviously it won't work then. |
This is a Bug Report
Description
When deploying serverless functions(packaged individually), included files are ignored(except for package.json, package-lock.json and node_modules).
The files stated under
include:
should be included. This does work in version 1.34.1No error message is provided, but the files are ignored
Similar or dependent issues:
Additional Data
1.35.0
Ubunut 18.04.1
The text was updated successfully, but these errors were encountered: