dependencies

Adding an extra-deps that doesn't exist yet

左心房为你撑大大i 提交于 2021-02-11 15:53:32
问题 In the process of solving this tricky build situation, I have now encountered a problem with depending on a Cabal package that I generate myself (the full package, package.yaml and Setup.hs and source code and dependant C libraries and all). I have a stack.yaml and a package.yaml which together describe an environment where I can run my code generator, so this works: Set up the environment, make sure all dependencies are available: stack build In this environment, I can now execute a build

Latest dependency versions of various Apache libraries from maven suddenly use a very old version

南楼画角 提交于 2021-02-11 15:23:20
问题 So I've been using various Apache commons libraries for a while and all was fine until suddenly when using the mvn versions:use-latest-versions command or the LATEST version tag uses/places a very old version of various Apache libraries into the <version> tag: <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>20030805.205232</version> <!-- Note: 2003! --> </dependency> If we take a look at the maven repository of commons-net , we can tell that this is

NuGet packages project dependencies as nuget dependencies

一曲冷凌霜 提交于 2021-02-11 12:52:24
问题 I have 3 class library projects (all .NET Standard 2.0) that are all in the same solution. I want to package them into a single nuget and use the code in other repos. However, when I package them into a NuGet package two of them are added as a nuget dependency to the third one, instead of being directly referenced as dlls. Here is an example of my setup. The 3 projects - A .csproj, B .csproj, C .csproj (All Class Libraries, All .NET Standard 2.0) A is set as a startup project and references B

maven repository setup not working

岁酱吖の 提交于 2021-02-11 12:49:32
问题 I am referencing a repository in my POM.xml to add the ojdbc.jar to my project but Maven (I use the STS plugin) keeps telling me it can't find the jar. I am showing below my repositories and jar dependency as defined in my POM.xml. Anyone has an idea as to why the jar can't be found? Is my POM.xml not setup properly? Note the vaadin repo works fine as the vaadin jars are correctly added to my project. <repositories> <repository> <id>myrepo</id> <url>http://mvnrepository.com/</url> <

Install & access a local folder as a npm module

你说的曾经没有我的故事 提交于 2021-02-11 12:32:27
问题 The file structure looks like this: = (main-folder) - package.json - ... = server - index.js - ... = deploy-abc // new server = src - index.js = src - index.js - ... I am trying to install 'deploy-abc' as a module within the main-folder app. So, I ran : yarn add "/var/www/main-folder/deploy-abc" . It installed correctly & I can see the 'deploy-abc' dependency listed in package.json. However, when I try to access the deploy-abc's exported object, I get node error Error: Cannot find module

npm start fails with unexpected token in file from local dependency

三世轮回 提交于 2021-02-11 08:58:23
问题 I made first-app with create-react-app where a component makes use of some material-ui components, and it is working fine when started with npm start . From this application I extracted that nice-component component in a new nice-component folder, with its package.json , the component is in a .js file that export default the component class - in Visual Studio Code I can succesfully navigate to its sources, so I would guess the setup / folder configuration is correct. In final-app application,

error in process sentinel: Could not start nREPL server: java.lang.NumberFormatException: Invalid number

十年热恋 提交于 2021-02-10 18:18:00
问题 I've looked at all of the similar questions on stack overflow. This one is different enough to warrant a separate question. Basically, I can't start a repl server because I get the error below. It's been pointed out that this is typically a dependency issue, but I'm updated, to my knowledge. What am I getting wrong here? Here's the full error: error in process sentinel: Could not start nREPL server: java.lang.NumberFormatException: Invalid number: 0.8.3 at clojure.lang.LispReader.readNumber

Error creating excel file with java dependencie

三世轮回 提交于 2021-02-10 15:49:05
问题 I found dependencies from here : https://poi.apache.org/download.html and the compilation was done at intellij idea without any error and my programm runs fine but when it tries to create the .xlsx file it gives this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/math3/util/ArithmeticUtils at org.apache.poi.poifs.property.RootProperty.setSize(RootProperty.java:59) at org.apache.poi.poifs.property.DirectoryProperty.<init>(DirectoryProperty.java:52) at org

.net core project dependencies - yellow triangle

故事扮演 提交于 2021-02-10 06:47:39
问题 My .Net Core project has a yellow triangle on dependencies, but when I open it up, none of the child entries have a yellow triangle. When I hover over dependencies, I don't see any tooltip telling me what's wrong. How can I check to see what is causing this yellow triangle to show up? I did what @oandreeeee suggested and increased the log level of my build and I noticed this: C:\Program Files\dotnet\sdk\2.2.104\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(41,5):

npm-force-resolutions not working when installing a new package

两盒软妹~` 提交于 2021-02-08 13:15:28
问题 I'm using the scripts section of the package.json to force resolutions: "preinstall": "npx npm-force-resolutions" in the resolutions section, I have entered graceful-fs with a specified version: "resolutions": { "graceful-fs": "^4.2.4", }, When i run npm i everything is installed correctly, the set versions are taken in to account. But later on when I install an additional module, e.g. npm i random-package , my set versions are being thrown away and I endup with graceful-fs@1.2.3 and other