Mend & Defend Community
Mend's developer community is a place to share insights and ask questions about dependencies, security risks, and AppSec solutions.
Recent Questions
I updated to the latest Node version and now I'm getting ENOENT fails in React Native. How do I fix this?
I was using npm v6.14 and node v14, and after updating node to 16, my React Native project doesn't get run - I get an ENOENT error message. How do I fix it?Asked 8 months ago
1
Answers
1.1k
Views
Why isn't OpenAPI generated APIModule not working when it's declared inside node_modules?
So, I have a problem that might look simple for someone who's experienced with npm, but I'm having quite a hard time. Namely, each time I try to fetch OpenAPI data while they're in the node_modules I get an error. Why does this happen?Asked 8 months ago
1
Answers
1.5k
Views
npm install keeps rewriting the package-lock.json file. Why does it keep doing that?
Every time I run the npm install command, the package-lock.json removes many of the dependencies I've already installed. However, if I delete the node_modules and run the command again, the installation proceeds as expected. What's the problem?Asked 8 months ago
1
Answers
1.4k
Views
Is there a way to override nested dependency versions in npm?
There's a specific dependency for my new React Native application I'd like to install called "boost", but I think the current version has some bugs which prevent it from properly installing. How can I override this nested dependency?Asked 8 months ago
1
Answers
1.9k
Views
How do you set the custom location for a local installation of package when using npm?
Hello, so I have a specific package that I'd like to install in a directory that isn't the default one (node_modules). What's the best way to handle this?Asked 8 months ago
1
Answers
1.2k
Views
I can't use npm --version in windows 11. Is there a way to fix this?
I'm a newbie to web development and I'm having a bit of a hard time determining my version of npm. If I write npm --version in my terminal, I get an error message. Does it have to do with Windows 11? Thanks.Asked 8 months ago
1
Answers
647
Views
I've got an Angular peer dependency conflict with @angular/[email protected]. How do I fix this?
Hi everyone, so I've got an angular web app and I'm having problems with peer dependencies. I get a conflict with the CLI Compiler under the message "The installed Angular CLI version is outdated". Any ideas would be appreciated.Asked 8 months ago
1
Answers
964
Views
How do I stop circular importing in python for Flask?
I'm building a web-application with Flask (I'm a bit new to it, although I have experience with Python), and I keep getting the message: AttributeError: partially initialized module 'a' has no attribute 'A'. Is it a circular import error? Thanks.Asked 8 months ago
1
Answers
999
Views
I keep getting 'Pybind11: "ImportError: DLL not found" ' - what does this mean?
I'm building a relatively large Python project that has multiple libraries, and I keep getting the message: "ImportError: DLL not found". Is it a directory-related problem? ThanksAsked 8 months ago
1
Answers
829
Views
I got this error while trying to deploy Python in Docker - "ModuleNotFoundError: No module named 'FolderInStructure'" - what am I doing wrong?
I have an application that I'd like to deploy, and I'd like to connect all the different parts of the project. However, I keep getting the same error - ModuleNotFoundError - No module named "FolderInStructure". What can I do about it?Asked 8 months ago
1
Answers
714
Views