Skip to content
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

fix: handle no node_modules directory #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

perrin4869
Copy link

@perrin4869 perrin4869 commented Jan 11, 2021

This PR fixes #210
Not all projects have a node_modules directory in them

@perrin4869 perrin4869 changed the title Handle no node_modules directory fix: Handle no node_modules directory Jan 11, 2021
@perrin4869 perrin4869 changed the title fix: Handle no node_modules directory fix: handle no node_modules directory Jan 11, 2021
@perrin4869 perrin4869 force-pushed the bugfix/no-node_modules branch 4 times, most recently from 9a1d51c to 83f70a8 Compare January 12, 2021 06:20
@31i0t
Copy link

31i0t commented Jun 13, 2022

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!

@john-tipper
Copy link

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

@AndrewBenzSW
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors if no node_modules folder exist
4 participants