When dependencies are nested inside other dependencies, they form a dependency tree. Use this tag when a dependency tree is an important aspect of the question's problem setting.
Questions tagged [dependency-tree]
35 questions
28
votes
7 answers
create-react-app dependency version issues with React 18
npx create-react-app my-project results in the following dependency errors:
npx version: 8.5.0
Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While…

hayata_suenaga
- 642
- 1
- 5
- 16
20
votes
3 answers
Running 'npm audit fix --force' downgrades react-scripts
I have a huge problem with my project in React.
I'm trying to update the libraries on my project, but something goes
wrong.
This is the package.json.
Note that the react-scripts version is set to "^4.0.3".
{
"name": "server",
"version":…

Jonny Chuck
- 343
- 1
- 3
- 8
7
votes
3 answers
Fixing NPM vulnerabilities
I am following a TypeScript tutorial.
Unfortunately, the packages are outdated and I got a warning about
vulnerabilities.
I followed a bunch of suggestions from
npm check and update package if needed, namely:
npm audit fix
npm audit fix --force
npm…

Thomas Weller
- 55,411
- 20
- 125
- 222
6
votes
1 answer
Android Flavor Specific Dependency Tree
My Android app has a number of flavors: Production, Staging, Review, etc. as well as Release and Debug build types. When I run ./gradlew app:dependencies it naturally returns a dependency tree with each flavor/build…

hopeman
- 2,778
- 3
- 18
- 33
5
votes
1 answer
How exclude all test jars* from mvn dependency:tree
is there any way to exclude dependencies used during test goal?
For example I would like to avoid having all *:tests jar printed by mvn dependency:tree.
[INFO] Building test 1.0-SNAPSHOT
[INFO]…

Prisco
- 653
- 1
- 15
- 30
4
votes
2 answers
How to sort and chunk a dependency tree of actions, so you can batch as many actions as possible together at each step?
Say you have a bunch of actions for creating/inserting records into a bunch of different database tables. You have some records which can be inserted without any dependency on the output of any other insert. You have some which need to wait for one…

Lance
- 75,200
- 93
- 289
- 503
3
votes
1 answer
Unable to resolve dependency tree, I no longer can install packages with node package manager
I'm developing a react native application. Throughout the project I have used Node package manager to install the packages. But I ran into this dependency problem first time when I try to install react-native-styled-components with npm, so I…

Nawaz Mohamed
- 145
- 10
2
votes
1 answer
Unable to resolve dependency tree when using npm install error
So when I cloned a project and ran npm install in my bash terminal, it gave me this "unable to resolve dependency tree" error. I checked to see if I wasn't in any subfolder and I deleted my node_modules and package-lock.json as well. I have node…

Kevin W
- 21
- 3
2
votes
1 answer
TypeScript merged and exported namespace error
I'm working at the app which using TS and OpenLayers.
I'm trying to build dependency tree so into all app I put import and export statements into my *.ts files.
I've got file 'openlayers.ts' which extended base OpenLayers library.
It extended for…

Presto
- 888
- 12
- 30
2
votes
0 answers
Dependency Parse Tree Matching in python
I am working on Answer Sentence Selection Problem, and I want to compare dependency trees of two sentences. I am retrieving the dependency tree from spaCy and now I want to compare dependency trees. Is there any way or library in Python that I could…

Parvez Khan
- 537
- 7
- 15
2
votes
0 answers
Does NLTK have its own Dependency Parser that gives similar results as Stanford Parser?
I want to know, does NLTK has its own Dependency Parser (I am not talking about Stanford Dependency Parser in NLTK) that produces somewhat similar results as of Stanford parser. If yes, please let me know what parser in NLTK gives similar results as…

Lucky
- 875
- 1
- 9
- 19
1
vote
1 answer
Gradle does not display all plugins in dependency tree
Use Case
I am trying to generate a dependency tree containing all plugins and dependencies for all configurations, but org.sonarqube is not included in the tree. I am working with a basic, single-module project and am using Gradle…
user17544628
1
vote
0 answers
How to get maven dependency tree for specific project
I have created two projects (myproject1 and myproject2). myproject1 has some 3PPs and myproject2 also having some 3PPs. 3PPs could be same or not as we don't have control on this. myproject1 is using myproject2 as compile time dependency. Can I get…

Ravi Kant Sharma
- 11
- 2
1
vote
0 answers
How to get all files in a project that depend on a target file in Javascript
Dependency tree takes a target file and returns an object tree of dependencies for the target file, e.g. files the target file is dependent on. I'm looking to take a target file and return an object/tree/structure of file(s) that depend on the…

Scrooged
- 21
- 2
1
vote
0 answers
React 18.1.0 Dependency Tree Errors- can't resolve dependency tree
I am currently having trouble solving dependency tree error with React 18. Initially, I couldn't start a new react project with npx-create-react-app my-app (a template was not provided). I fixed that and can now start a new project, but I have two…

Andrea Everett
- 349
- 2
- 4
- 4