dependencies

When installing packages with Yarn, what does “incorrect peer dependency” mean?

本小妞迷上赌 提交于 2019-12-18 12:44:43
问题 I'm just cloned a repo, which recommends the use of Yarn to install dependencies. When I run yarn install , it seems to be okay, but it provides this warning: yarn install v0.20.3 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... warning "sass-loader@4.0.2" has incorrect peer dependency "node-sass@^3.4.2". [4/4] 📃 Building fresh packages... ✨ Done in 77.59s. I've looked online to find out exactly what "has incorrect peer dependency" means. But all I

When installing packages with Yarn, what does “incorrect peer dependency” mean?

。_饼干妹妹 提交于 2019-12-18 12:43:57
问题 I'm just cloned a repo, which recommends the use of Yarn to install dependencies. When I run yarn install , it seems to be okay, but it provides this warning: yarn install v0.20.3 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... warning "sass-loader@4.0.2" has incorrect peer dependency "node-sass@^3.4.2". [4/4] 📃 Building fresh packages... ✨ Done in 77.59s. I've looked online to find out exactly what "has incorrect peer dependency" means. But all I

Dependency map for Java classes and methods

北城余情 提交于 2019-12-18 12:29:08
问题 I have a Java project that I've been working on for a while. The design started out pretty good but slowly degraded as changes were made. I'm looking for some sort of tool that will analyze the project. It'd be really nice to have a map of the dependencies of different classes/methods. I feel like certain methods are only in there to fulfill a very specific goal. I'd like to eliminate unnecessary code and make my design better. Any suggestions would be great! Thanks! 回答1: You may want to

Maven multi-module: aggregate common dependencies in a single one?

旧时模样 提交于 2019-12-18 12:24:23
问题 I have searched for such a question without finding anything, so here I go. I have a multi-module maven project. Multiple modules all inherit the same parent, where common dependencies are defined. Among them, there is one my own modules, a 'common' one, where some common functionality is implemented. My question is: What would be a better practice for common dependencies: Define them all explicitly in the parent, like I currently do? Or define them in a 'common' module, which other modules

Gradle projects depending on artifacts created by sibling projects

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-18 12:21:50
问题 I have this Gradle setup with four projects, a parent with three children, where a Java Servlet JSON 'backend' is built into a war-file, and then a static HTML5 'frontend' consuming this is built into a zip. Both these "installs" their artifcats to the local maven repo. The third sibling project 'merger' depends on these two artifacts, to build a "merged" war by simply "zipping them together". However, once I had this up and running as intended, I obviously had to test the bootstrap-scenario

Why do we need `Imported Packages` when we have `Required Plug-ins` in Eclipse plugin dependencies?

一曲冷凌霜 提交于 2019-12-18 11:54:00
问题 In developing Eclipse application, the dependencies tab in MANIFEST.MF has two columns. One is Required Plug-ins and the other is Imported Packages . Why do we need Imported Packages when we have Required Plug-ins ? The comment has it that "this plug-in depends without explicitly identifying their originating plug-in" , but I'm not sure in what case one doesn't want to explicitly identify their originating plug-in, and what's the advantage of it? ADDED Related question - What's the difference

Lazy data-flow (spreadsheet like) properties with dependencies in Python

假装没事ソ 提交于 2019-12-18 11:52:38
问题 My problem is the following: I have some python classes that have properties that are derived from other properties; and those should be cached once they are calculated, and the cached results should be invalidated each time the base properties are changed. I could do it manually, but it seems quite difficult to maintain if the number of properties grows. So I would like to have something like Makefile rules inside my objects to automatically keep track of what needs to be recalculated. The

Maven - deploy dependencies to remote repository

淺唱寂寞╮ 提交于 2019-12-18 11:51:49
问题 I have a few projects with LOTS of maven dependencies. When I invoke the command mvn deploy (or some variation of it), I would like to not only have the project itself deployed to the remote repository, but also all of its dependencies as well. Is this possible? I see many 'similar questions' on this site, but I can't seem to find anything that is as simply put as this. Everything else I've seen seems to expect some additional functionality. I simply want to deploy my project, plus all of its

tool to generate graph data for class dependencies [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-18 10:51:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Is there some tool that is able to analyze Java source files , construct a graph from it and provide the graph's data in some standard / understandable format ? It definitively does not need to have GUI, I'd prefer a command line thing so I can process the output by various tools (for segmentation, visualization,.

What are unused/undeclared dependencies in Maven? What to do with them?

风流意气都作罢 提交于 2019-12-18 10:06:52
问题 Maven dependency:analyze complains about the dependencies in my project. How does it determine which are unused and which are undeclared? What should I do about them? Example: $ mvn dependency:analyze ... [WARNING] Used undeclared dependencies found: [WARNING] org.slf4j:slf4j-api:jar:1.5.0:provided [WARNING] commons-logging:commons-logging:jar:1.1.1:compile [WARNING] commons-dbutils:commons-dbutils:jar:1.1-osgi:provided [WARNING] org.codehaus.jackson:jackson-core-asl:jar:1.6.1:compile ...