Open mushketyk opened 5 years ago
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?
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
any workaround this plugin?
Inspite of having file at said path, error msg pops up saying Cannot find module
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 serverless-plugin-include-dependencies
and serverless-plugin-typescript
in serverless.yml
and both are working? I had to delete serverless-plugin-include-dependencies
to make it work.
I can confirm removing serverless-plugin-include-dependencies
helped with this.
@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: