草庐IT

require_dependency

全部标签

javascript - AssertionError [ERR_ASSERTION] : handler (func) is required in mongodb

我正在使用mongooose连接mongodb,但出现以下错误/Users/uchitkumar/api/node_modules/mongodb/lib/mongo_client.js:804throwerr;^AssertionError[ERR_ASSERTION]:handler(func)isrequiredatnewAssertionError(internal/errors.js:315:11)at_toss(/Users/uchitkumar/api/node_modules/assert-plus/assert.js:22:11)atFunction.out.(ano

javascript - AssertionError [ERR_ASSERTION] : handler (func) is required in mongodb

我正在使用mongooose连接mongodb,但出现以下错误/Users/uchitkumar/api/node_modules/mongodb/lib/mongo_client.js:804throwerr;^AssertionError[ERR_ASSERTION]:handler(func)isrequiredatnewAssertionError(internal/errors.js:315:11)at_toss(/Users/uchitkumar/api/node_modules/assert-plus/assert.js:22:11)atFunction.out.(ano

linux - 适用于 GNU/Linux 的 Depends.exe

我需要为GNU/Linux分发一个二进制文件...在Windows上,我可以运行一个名为“depends.exe”的实用程序来验证该文件具有的所有依赖项,因此我将能够知道该文件附带什么,以及我如何对GNU/Linux做同样的事情?澄清:我并不是说完全分发它(除非它是某个永远不会产生问题的特定库,例如...libThatOnlyMySoftwareUseVersion0.00042895.08421thatnoonehasKinda认为用户会需要...) 最佳答案 您在Linux上寻找的实用程序称为ldd。但是,帮您的用户一个忙,不要

linux - 插入 : missing `Required-Stop:' entry: please add even if empty

在/etc/init.d/myservice脚本中我有以下几行###BEGININITINFO#Provides:myserviced#Required-Start:$syslog#Required-Stop:$syslog#Should-Start:#Should-Stop:#Default-Start:#Default-Stop:#Short-Description:#Description:Bringup/downservice###ENDINITINFO尽管执行命令时省略了以下错误消息**/sbin/chkconfig--addmyservicedinsserv:scriptj

linux - 安装 dsc21 时出错 : "dsc21 : Depends: cassandra (= 2.1.8) but 2.2.0 is to be installed"

因此,我正在尝试使用过去几个月一直对我有用的方法来安装dsc21。我使用的命令如下echo"debhttp://debian.datastax.com/communitystablemain"|tee-a/etc/apt/sources.list.d/cassandra.sources.listcurl-Lhttp://debian.datastax.com/debian/repo_key|apt-keyadd-apt-get-q-yinstalldsc21今天这对我不起作用,我收到一条错误消息Readingpackagelists...DoneBuildingdependencytr

linux - 32 位 Linux 上的 PyInstaller - ImportError : The 'six' package is required

我正在使用Python2.7和Kivy1.9.2-dev制作一个程序,并尝试用PyInstaller-3.0打包它对于不同的系统作为单个可执行文件。我尝试打包的系统是这些:64位LinuxMint17.332位LinuxMint17(升级到17.1和17.3时也尝试过)32位WindowsXPSP3树莓派(树莓派)在所有这些系统上,程序在未编译的情况下仅使用Python运行时运行良好。(因此,所有Kivy依赖项也都很好)。但是,在使用PyInstaller制作的可执行文件中,只有在64位Linux上制作的可执行文件作为一个文件运行。Windows和Raspbian可执行文件大部分都可以

ruby - 无法使用 rvm 安装 nokogiri,收到 "nokogiri requires Ruby version >= 1.9.2"

如果我尝试安装nokogiri,我会收到以下错误:rvmsudogeminstallnokogiriERROR:Errorinstallingnokogiri:nokogirirequiresRubyversion>=1.9.2.如果我检查我的ruby​​版本,它告诉我我正在运行ruby​​1.9.3ruby-vruby1.9.3p448(2013-06-27revision41675)[i686-linux]如果我使用printenv,这些是我的环境变量:rvm_bin_path=/home/jenkins/.rvm/binGEM_HOME=/home/jenkins/.rvm/ge

linux - 如何在制作 GCC 4.9.1 时解决 "no usable dependency style found"错误

我想安装gcc4.9.1。所以我下载了tarball,安装了依赖项,然后运行配置-./configure--program-suffix=-4.9.1--disable-multilib效果很好。但是当我进行下一步并启动make时,我得到了以下错误:configure:error:nousabledependencystylefoundmake[2]:***[configure-stage1-gcc]Error1错误发生在make尝试检查/usr/bin的依赖样式时发现none。谁能解释一下checkingdependencystyleof/usr/bin是什么意思?知道这个问题何时出

linux - 围攻https错误: HTTPS requires libssl

我无法获取siege使用https。在预装OpenSSL1.0.2g和libssl-dev1.0.2g-1ubuntu4.6的Ubuntu16.04LTS上运行Siege4.0.2。错误当我运行它时,我遇到了很多这样的错误:[错误]HTTPS需要libssl:无法使用此协议(protocol)访问www.mysite.com:传输端点已连接还有一些[错误]描述符表已满sock.c:133:打开的文件过多然后终于必须安装libgcc_s.so.1才能使pthread_cancel工作[1]18421中止(核心转储)sudosiege-t5M-d1-c200-furls-f1.txt我的研

Android,搭建Linux编译环境,libgl1-mesa-glx :i386 package have unmet dependencies

我正在尝试为AOSP设置Linux构建环境。我有Ubuntu-12.04.4-desktop-amd64发行版。我按照给出的说明做所有事情here.我输入了终端命令来安装必要的包:$sudoapt-getinstallgitgnupgflexbisongperfbuild-essential\zipcurllibc6-devlibncurses5-dev:i386x11proto-core-dev\libx11-dev:i386libreadline6-dev:i386libgl1-mesa-glx:i386\libgl1-mesa-devg++-multilibmingw32tofr