dependencies

installing laravel dependencies with composer not working

不问归期 提交于 2019-12-12 02:03:40
问题 I'm trying to install Laravel Excel using this guide I have included the line in my composer.json; "require": { "laravel/framework": "4.2.*", "maatwebsite/excel": "1.*" }, I am then attempting to update composer using the command composer update . This results in the following messages.... Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version. Loading composer repositories with

requirejs anonymous dependency not defined

懵懂的女人 提交于 2019-12-12 01:59:34
问题 I have a problem with requirejs and a dependency being undefined. My setup is the following: var lib = function (){...}; define(function() { return lib; }); And the modules are define like this var mod = function (){ ... lib('para') ... }; define(["lib/lib"], function(lib) { return mod; }); In my main.js I have this require(['lib/lib'], function(lib){ lib('para').mod(); }) The Problem: Lib is available in main.js but for mod I get an error Uncaught ReferenceError: lib is not defined 回答1: So

How to import eclipse project ,libs and dependancy in studio android

邮差的信 提交于 2019-12-12 01:47:31
问题 I am very new on using android studio. I am having one eclipse project having Facebook SDK, Google play service, and some other libs as dependencies of my project. I want to ask how to import that project in studio? I have made gradle file of my project but when i import gradle file in studio Facebook and GCM service error occurs. Please can some body tell me the steps so i can import and run project in studio? 回答1: Migrating from Eclipse to Android Studio requires that you change the

Official guidelines for using functions newly added to base R

元气小坏坏 提交于 2019-12-12 01:44:08
问题 I am writing a package that performs a statistical analysis while handling missing values. I am using the wonderful, life-changing function anyNA which was added sometime after 3.0 (commit). Another recently added function that people might want to use is OlsonNames . So as I am using this function, my package won't work on older versions of R. I see four options for dealing with this. Make the whole package depend on R >= 3.1 in DESCRIPTION. Redefine the function in my source. Redefine the

Maven is not downloading jars

≯℡__Kan透↙ 提交于 2019-12-12 01:38:54
问题 I'm using Maven but so after declaring dependencies , i can't find the jars . So I'm getting the "cannot be resolved to a type" error What's the cause , can it be internet connection problem? Is there a maven command that downloads jars? Any idea please Here's the pom.xml : <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org

How to integrate an application using dependencies on a build server?

十年热恋 提交于 2019-12-12 01:36:56
问题 I would like to activate continuous integration for a Prism application on a TFS build server. Actually the build controller is not able to compile the application because it does not have the Prism Library. Prism is registered in my Visual Studio on my developing machine and the project simply reference it. I was wondering if I should checkin the library within the project or should I install the library on the build server. So what practice do you use to integrate application using

UnityContainer. how to register a class constructor with parameters

╄→гoц情女王★ 提交于 2019-12-12 00:25:09
问题 Im new with Microsoft Unity Container, so my question may be trivial. I got to register and resolve instances for classes with only one parameterless constructor. Now I wish to learn how to register and resolve a class with a simple constructor. Here is my class. public class MyClass { private string a1; public string A1 { get { return a1; } set { a1 = value; } } private int a2; public int A2 { get { return a2; } set { a2 = value; } } public MyClass() { this.a1 = "aaaaa"; this.a2 = 1; }

Getting error inflating CardView despite of using last version

旧时模样 提交于 2019-12-11 22:08:19
问题 I have a problem which is wasting my time. I was working on my project very well until yesterday. When I started to work last morning I have faced this problem ; "Binary XML file line #2: Error inflating class android.support.v7.widget.CardView" I have suddennly googled and I have seen that some other people faced either. But answers about these problem is not my solution. It hasnt fixed my problem. Pls save my day :) here is my gradle ; dependencies { implementation fileTree(include: ['*.jar

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-messaging:17.1.0

旧时模样 提交于 2019-12-11 21:50:49
问题 Currently, I am working on an android chat application. I want to add FCM in my app. But I am always getting this gradle error. From what I have read, the firebase auth, database and messaging dependency version should match. I have tried every version, still, the same error occurs. 回答1: To solve this, please change the following line of code: com.google.firebase:firebase-auth:16.0.1 to com.google.firebase:firebase-auth:16.0.2 and add: com.google.firebase:firebase-core:16.0.1 Which is