-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Missing dependency on package.json #1
Comments
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
3 similar comments
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Same problem, package is a dependency of Quill and can't build my app. |
As a quick workaround you can just run In this way the dependency is fulfilled locally. |
Yes, we did the same on our project. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
@madpilot78 I tried and didn't work for me, I don't know too much about npm. It allows me to install a tool (cdktf) that uses this, but when I try to run it says it doens't found the module. Do I need to do another thing?
|
Yours is a completely different situation. You're installing your tool with the So, try with --global, but I'm not sure this can fix it in your use case. You'd better ask the cdktf people though. |
It worked! Thank you! |
@ljharb man, this is breaking a lot of builds that use |
This is the commit that broke things: |
He is sleeping. Its 4:40 AM at his location. I bet he merged it and went to sleep without testing it much 😄 |
@micreas i tested it plenty; all of the places I'm using it already had functions-have-names in node_modules, so I didn't notice this. I was indeed sleeping; v2.0.1 is now published, which should fix this issue. For everyone freaking out overnight, don't you people use lockfiles? |
At least some people (including me) were affected when installing CLI tools, such as |
Indeed, virtually nothing should be globally installed :-) CLI tools should be in package.json and invoked with npx. |
Thank you @ljharb it's greatly appreciated. |
For us, this was somewhat deep dependency chain: But oh well, anyway, thanks for the quick fix ❤️ |
FWIW, eslint-plugin-import has a |
@akx yes, thanks, i'm aware since i'm the maintainer for eslint-plugin-import. i haven't included it in my shared config yet because eslint v8.9 broke parsing for my use case, and I can't update. |
We have a monorepo setup that uses Lerna. We have one lockfile for the monorepo that works locally but for production, the services are being deployed individually without a lockfile because Lerna does not generate individual lockfiles for each service/package. We found out about it when our services started failing in production after deployment because the module was missing and our instances could not start. |
Error: Cannot find module 'functions-have-names'
Require stack:
The text was updated successfully, but these errors were encountered: