-
Notifications
You must be signed in to change notification settings - Fork 41
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
"Cannot find modules" when compiling a TypeScript project #30
Comments
We are experiencing this same issue. |
I don't use TypeScript unfortunately! I'm open to PRs of course. Don't you have to compile your .ts files in to .js files? Are those not referenced by serverless.yml or does it support TS directly? |
Serverless compiles TS into JS in <PROJ_ROOT>/.build |
any workaround this plugin? Inspite of having file at said path, error msg pops up saying |
I was also having this issue. However, I managed to get it working by installing the npm package 'serverless-plugin-typescript' |
@env-poehler, do you have both |
I can confirm removing |
@denis-ryzhkov I can confirm it too! |
Experiencing a similar issue, any updates on this? |
When I try to deploy a serverless project with the
serverless-plugin-include-dependencies
plugin I get the following error:With the following stacktrace:
I think the bug is that it is looking for a file
src/function
(that does not exist), while the file it should be looking for issrc/function.ts
that exists.Here is my configuration:
Here is the version of the plugin that I use:
The text was updated successfully, but these errors were encountered: