serverless-plugin-typescript
serverless-plugin-typescript copied to clipboard
fix: handle no node_modules directory
This PR fixes https://github.com/prisma-labs/serverless-plugin-typescript/issues/210
Not all projects have a node_modules directory in them
I have this issue as well as my service is in a monorepo, currently including a node_modules with a README.md in it just to avoid the error. Would be great if this could get merged in!
I'm in a similar position to @31i0t, please consider merging this PR.
This is an issue for me as well. I'm using Yarn with PnP so there is no node_modules folder. It's not a problem when running locally, but when trying to build and bundle the app using Yarn.build, I get an ENOENT: no such file or directory on the node_modules link.