serverless-plugin-typescript icon indicating copy to clipboard operation
serverless-plugin-typescript copied to clipboard

fix: handle no node_modules directory

Open perrin4869 opened this issue 4 years ago • 3 comments

This PR fixes https://github.com/prisma-labs/serverless-plugin-typescript/issues/210 Not all projects have a node_modules directory in them

perrin4869 avatar Jan 11 '21 16:01 perrin4869

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!

31i0t avatar Jun 13 '22 21:06 31i0t

I'm in a similar position to @31i0t, please consider merging this PR.

john-tipper avatar Sep 03 '22 09:09 john-tipper

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.

AndrewBenzSW avatar Oct 18 '22 14:10 AndrewBenzSW