Questions tagged [dependencies]

A dependency exists between two elements if changes to the definition of one element may cause changes to the other.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 views

C++ Makefile Dependencies: What Files Do Object Files Depend On?

I'm a little confused on the Makefile dependencies for .cpp files. For example, say I have a file main.cpp that includes Point.h and Rectangle.h. I would think that the Makefile dependency line for ...
0
votes
1answer
25 views

At what inheritance level to store a dependency pointer when both dependency and dependent are polymorphic?

I'm currently dealing with a situation where a polymorphic object has an injected dependency which is also polymorphic. My question is about the best way for the first family of classes to have ...
0
votes
1answer
15 views

I am not able to use other packages in dependencies in flutter

I have just started using flutter and I am using flutter packages like material.dart , cupertino.dart but when it come to use other packages like image_picker, english_words, I am not able to use it ...
0
votes
0answers
30 views

Error while creating an angular application

I have installed node js and angular app trying to create a new application using the below command ng new a3 3 getting the below error npm ERR! Unexpected end of JSON input while parsing near '..."},...
0
votes
0answers
19 views

How to find maven dependency that comes somewhere from the parent pom?

I have a big maven project. pom file of the project has a parent pom which has a dependencies that have sometimes their parent pom defined inside. In the effective pom of my project I see Lombok ...
0
votes
2answers
24 views

How to avoid dependency about at dependent objects

I have a question about Spring Environment. If I have a controller and that controller has lots of services inside in it which is dependent each other and if I change something on that controller what ...
0
votes
0answers
11 views

Same groupid, artifactid, and version but different packaging Type

I have a pom that has packaging type of ear. The pom includes 2 dependencies. One of them is a war file that has the same groudId, artifactId, and version as the pom being built but it has a packaging ...
0
votes
0answers
14 views

How to force npm to install package and node_modules required within this package

I published on some private repo an npm package I created. When I create an empty project (npm init -y) I use .npmrc to install my published package but: - the node_modules contains my package which ...
1
vote
2answers
177 views

Flutter: Error: Getter not found: 'suspending'. case AppLifecycleState.suspending

I just upgraded Flutter on Stable Channel and got the following StackTrace, when trying to launch an App (on local iOS Simulator). Running unit-tests with flutter test are also affected. Launching ...
0
votes
0answers
40 views

Missing Spyder Dependencies qtconsole >= 4.6.0: 4.5.1

I upgraded to Spyder 4 using Anaconda today, but I got an error saying "You have missing dependencies! qtconsole >=4.6.0: 4.5.1. (NOK). I tried upgrading qtconsole and Spyder using conda, but neither ...
0
votes
1answer
34 views

ReasonML cycle dependency

I'm working on a bucklescript binding to leafletjs based on this project . With leaflet a Map has a function to add layer and a Layer has a function to add itself to a map. This is what I would like ...
0
votes
0answers
24 views

duplicate value for resource

I'm getting this error AAPT: error: duplicate value for resource 'attr/textColor' with config ''. after adding this dependency implementation 'com.jarvanmo:exoplayerview:2.1.3' this dependency is ...
0
votes
0answers
10 views

Should I add npm-shrinkwrap.json, package-lock.json or yarn.lock?

I am shipping a package that I only compile using tsc ( typescript compiler ) and I am expecting the consumers to get dependencies installed when they install my package using npm or yarn. I don't ...
1
vote
0answers
16 views

Maven build in github continuous integration action

I am using Github actions to set up a continuous integration workflow for a Maven app. The Maven app depends on some external dependencies as well as a couple other repositories that we built. In my ...
0
votes
0answers
6 views

Package created with “mythical” dependency on a lower package/project reference

Some backstory: we have a single solution in a single repo that allows us to publish multiple packages at a time. This is to maintain rapid development instead of having the developer bounce around ...
0
votes
0answers
16 views

Eletron's devDependency can't find module 'child_process'

I have project S1 that has devDependency S2 that has dependency child_process. S1 is electron app. How can I add child_process to build? UPD: Ok, got that child_process is internal thing. Then ...
1
vote
1answer
46 views

Should I pass parameters or inject them to the place where they are needed?

I have two components in my app. Component 1 is a "model builder". It's feeded with data every few milliseconds and returns a complex model, which is passed to Component 2. Component 2 analyzes the ...
-1
votes
0answers
18 views

Build Dependencies Tree from Data of two MySQL tables with php [closed]

I have two tables(building and researches) for a techtree of a game like TABLE A: (Buildings) +id+building_name+research_needed+building_needed+ TABLE B: (Researches) +id+research_name+...
0
votes
0answers
21 views

Dependency version from configuration file

I have a maven project in which I need to read some dependency version from some configuration file instead of hardcoding it in the pom. How to achieve that?
0
votes
0answers
38 views

detect Vulnerability OWASP with maven

In my project , i want to detect vulnerabilities by using dependency-check-maven plugin: so I added this piece of code in the POM.XML <build> <plugins> <plugin> ...
-1
votes
0answers
9 views

npm WARN @angular/[email protected] requires a peer of [email protected]>= 5.5.7 <7 but none is installed. You must install peer dependencies yourself [duplicate]

Can anyone help me how to resolve this and what it means? I am quite new with Angular and would like to understand what it means. Any documentations and recommendations would help. Thank you in ...
0
votes
1answer
28 views

Laravel abandoned dependency issue

So I just took over a laravel 5.2 based project with some dependency hell. The backend is build on a smarch/watchtower package which has been abandoned and laravel 5.3 is the highest version it ...
0
votes
2answers
37 views

File dependency in Airflow

I have a Airflow DAG and I want to trigger it on particular day of each month. It is a table migration task so I don't want to move it unless tables in directory have been updated. How can I do ...
0
votes
0answers
12 views

Install NuGet package with dependencies into same folder

I have a project (a PowerShell module) that relies upon a NuGet package, whose assemblies are loaded into my module via the Add-Type cmdlet. I would like to install this package via NuGet instead of ...
0
votes
1answer
37 views

java: package org.springframework.dao and org.springframework.jdbc.core does not exist

Just started dealing with maven and spring. When i'm try to create a DAO and ResultSet and then run the application throws errors: Error:(4, 31) java: package org.springframework.dao does not exist ...
0
votes
1answer
20 views

How to skip dependency with vcpkg?

I am trying to install cgal with vcpkg and getting an error that mpfr dependency can't be installed, because it's site is unavailable. Can I skip this dependency? Additional packages (*) will be ...
0
votes
1answer
20 views

Installing a dependency in PyCharm conda environment using PyCharm terminal

I have created a conda env using conda create env command in PyCharm. After running conda activate <env_name>, I can also see the name of the environment in my shell before username in ...
-5
votes
0answers
54 views

C++ Dependencies - Linking [closed]

I am working on a project that uses the code from Gist. Gist is able to use one of three different FFT libraries and requires the use of dependencies. For the use of FFTW, it requires linking ...
0
votes
0answers
15 views

Why does NPM delete existing, crucial modules of a Gatsby.JS instance?

I set up a basic Gatsby instance using NPM and the Gatsby CLI. While the basic Gatsby instance works fine, the simple installation of an addition plugin like 'Transition Links' via NPM using: npm ...
1
vote
1answer
22 views

Gradle Kotlin DSL: Inspection “Newer Library Versions Available” not working

I have converted my Gradle build scripts to the Kotlin DSL. Since I was starting with a small new project, everything went according to plan. When referencing more and more dependencies I wanted to ...
0
votes
0answers
6 views

How to map which methods are being used from a Nuget package

We have a legacy .NET solution that includes many projects. Most of those projects have a reference to a Nuget package that we wrote to provide a lot of shared functionality across the entire app (...
0
votes
0answers
6 views

How to force .NET Core projects to check dependency in a common directory?

My projects uses mostly the same nuget-packages and I have several projects in the solution. I was "forced" to add the same packages in all in my solution to make it work, with the result that the ...
0
votes
1answer
27 views

How do I configure the MVN POM files for provided library in distributable assembly for different submodules

after searching through all the related posts, I was still unable to find an answer to my exact problem, so I hope someone here can help me out. What I have is a project with 3 modules, where 2 ...
0
votes
0answers
10 views

npm's peerDependency priority

Cannot find information about npm dependency types priority. What is more prioritized dependency or peerDependency ? e.g. dependency: my-lib: - dep: 0.1 peerDependency: - dep: 0.3 What ...
0
votes
1answer
20 views

Is there an effective way to diff two dependencies-tree populated by `npm list`?

Before the project release, we need to check which dependencies updated which may impact other pages. We can leverage npm list to populate the full-dependencies-tree. How to effectively perform diff ...
0
votes
1answer
63 views

How to exclude a dependency from nuget package in Visual studio

I have a solution that consume a nuget that have all DTO classes(DataObjects). When developing I want to create new DTO's. To avoid to have to add the DTO to the external project DataObjects and ...
0
votes
2answers
48 views

Switch between dependencies

I have a code which solves differential equations by means of the finite element method. To that end, I use Eigen so I don't have to implement matrices by myself. Now, in the future, I would like to ...
0
votes
0answers
30 views

The primary reference "System.Web.Http, Version=4.0.0.0 could not be resolved because it has an indirect dependency

Good day, I am facing dependency resolution issue. I have imported a .NET Framework 4.0.0 project in Visual Studio 2019. I have also installed the reference for Microsoft.Net.Http through Reference ...
0
votes
1answer
16 views

Cannot creating Session Beans in Netbeans 11.1

My goal is to work with (stateless) session beans in NetBeans 11.1. I'm working on the OS Ubuntu-Mate 18 and I'm using the GlassFish 5.1.0 server. I tried to implement a session bean like in the ...
1
vote
0answers
11 views

Is there a way to specify in composer.json that a binary must be available?

I know that when creating the composer.json I can define which php extensions need to be installed to get my application running. Can the same be done for a binary that should be executed via exec() ...
1
vote
0answers
21 views

Shaded dependencies' dependencies in Maven

Lets say there exists a library x.y.z-1.0, x.y.z-2.0, x.y.z-3.0 that uses a.b.c-1.0, a.b.c-2.0, a.b.c-3.0 respectively. I am currently writing another library (com.mysdk) that uses x.y.z-2.0. But I ...
0
votes
0answers
35 views

Is there a way to run an mvn site to generate a report for the dependencies created from Tycho maven?

I just started working on a large multi-module eclipse-based Tycho maven project with a large number of dependencies. This project predates me and has been in the works for a decade and several ...
0
votes
0answers
13 views

When I add navigation tip me this, please help me [duplicate]

When I add navigation tip me this, please help me This operation requires the libraries androidx.navigation:navigation-fragment:+, androidx.navigation:navigation-ui:+. Problem: ...
0
votes
0answers
21 views

Not able to download Jars from nexus

I have project A which is dependency of project B. Since project B should get latest jar version of Project A . I purge Project A jar from local so Project B will get Project A jar from nexus since it ...
0
votes
0answers
27 views

Add node_modules in aar library of a 'react-native android' project

Is there a way to include node_modules in aar library so that a new android project using this aar library doesn't have to add these dependencies at their end as well? I wanted to create a react ...
0
votes
1answer
28 views

Cyclic dependency error J2OBJC archive build?

I am having cyclic dependency issues with my Ionic/iOS project using J2OBJC as a internal Xcode settings built in. I've set my build rules and settings in my ionic project as stated in the J2OBJC ...
-2
votes
1answer
72 views

Why am I needing to replace List.of() with Arrays.asList()? [duplicate]

I've read What is the difference between List.of and Arrays.asList? What I'm not getting is why, after some dependency upgrades in my Maven pom.xml, suddenly all my List.of(FLIGHT1_SPEND_AGG, ...
2
votes
1answer
44 views

Resolve circular include of 3 classes in C++

I have 3 classes which I am going to refer to as A, B and C (names in this example are arbitrary). All 3 of these classes consist of a header-file and a cpp-file each. I have the following ...
0
votes
0answers
43 views

Maven multi-project hierarchy dependencies problem

I have a multi project with inner dependencies. When I try to build all the projects from the parent pom I get this error: Could not resolve dependencies for project com:model:jar:1.00.00-SNAPSHOT: ...
0
votes
1answer
47 views

cmake dependency not trigged

I try to use cmake in my project (actually move from make to cmake). I bump into a problem that I can't solve. I try to streamline my architecture like this (hope this is not too streamlined). I use ...