Tag: bower install

如何运行基于Nodejs的项目,当得到像无响应脚本的消息?

当运行nodejs项目时,消息像Unresponsive脚本 我在基于angularjs-rickshaw的 git-hub上获得了一个项目。 它基于nodejs,bower。 项目: ngyewch /angular人力车 以上项目演示 : DEMO 我想在我的本地系统上面运行项目。 我成功安装了每个东西(nodejs,npm,bower)。 但是,当我inputhttp://localhost:3000/我什么也没有得到,我在Nodejs中是新的, 请帮助我。 什么将是正确的url? [neelabh@localhost angular-rickshaw]$ node server.js connect.multipart() will be removed in connect 3.0 visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives connect.limit() will be removed in connect 3.0 Server running at http://localhost:3000/ 我得到以下types的消息,如果我运行1. http:// localhost:3000 /或2. http:// localhost:3000 /#/ home server.js 'use strict'; var fs =require('fs'); […]

无法使用企业代理服务器的bower,如何解决?

我正在尝试使用我的办公室代理服务器安装凉亭。 我有错误 然后我试图安装在我的“C”驱动器。 它被安装,但我有很多304状态。 后来我试图search骨干使用鲍尔,这一次我得到了这样的问题:如何解决这个问题,以及我的networking代理或pipe理员权限等问题? 这是我得到的错误: C:\Bower>bower search backbone bower retry Request to https://bower.herokuapp.com/packages/search/backb one failed with ETIMEDOUT, retrying in 1.1s bower retry Request to https://bower.herokuapp.com/packages/search/backb one failed with ETIMEDOUT, retrying in 2.6s bower retry Request to https://bower.herokuapp.com/packages/search/backb one failed with ETIMEDOUT, retrying in 5.3s bower retry Request to https://bower.herokuapp.com/packages/search/backb one failed with ETIMEDOUT, retrying […]

在Mac OSX上安装Bower时,path.join的参数必须是string

尝试在Mac OSX Mavericks上安装Bower时遇到以下错误。 Craig-R-Mortons-MacBook:crmpicco crmpicco$ node_modules/bower/bin/bower cache clean Craig-R-Mortons-MacBook:crmpicco crmpicco$ node_modules/bower/bin/bower install bower not-cached git://github.com/angular/bower-angular-mocks.git#~1.2.9 bower resolve git://github.com/angular/bower-angular-mocks.git#~1.2.9 bower not-cached git://github.com/angular/bower-angular-resource.git#~1.2.9 bower resolve git://github.com/angular/bower-angular-resource.git#~1.2.9 bower not-cached git://github.com/angular/bower-angular.git#~1.2.9 bower resolve git://github.com/angular/bower-angular.git#~1.2.9 bower not-cached git://github.com/angular-ui/ui-router.git#0.2.7 bower resolve git://github.com/angular-ui/ui-router.git#0.2.7 bower not-cached git://github.com/jashkenas/underscore.git#~1.5.2 bower resolve git://github.com/jashkenas/underscore.git#~1.5.2 bower error Arguments to path.join must be strings Stack trace: TypeError: Arguments to […]

鲍尔在公司代理隧道错误

我尝试使用ember-cli设置新的Ember应用程序,但即使在更新“C:… \ bower \ node_modules \ bower-config \ lib \ util \ defaults.js”中的代理后也会收到此错误。 通过npm安装工具包。 创build新应用程序时出错 删除生成的目录./ember-quickstart请求https://bower.herokuapp.com/packages/ember-cli-shims失败:tunnelin g socket无法build立,原因=写入EPROTO 101057795:错误:140770FC:S SL例程:SSL23_GET_SERVER_HELLO:未知协议:openssl \ ssl \ s23_clnt.c:794: 错误:请求https://bower.herokuapp.com/packages/ember-cli-shims失败:无法build立unneling套接字,原因=写入EPROTO 101057795:错误:140 770FC:SSL例程:SSL23_GET_SERVER_HELLO:未知协议: OpenSSL的\ SSL \ s23_clnt。 C:794: 在createError(C:\ Users \ user \ AppData \ Roaming \ npm \ node_modules \ ember-cli \ no de_modules \ bower \ lib \ node_modules […]

npm bower安装失败(挂在同一个地方)

我一直试图重复安装凉亭几天。 安装挂在同一点 – npm verb about to build C:\Users\spjbd\AppData\Roaming\npm\node_modules\bower\no de_modules\insight npm info build C:\Users\spjbd\AppData\Roaming\npm\node_modules\bower\node_module s\insight npm verb linkStuff [ true, npm verb linkStuff 'C:\\Users\\spjbd\\AppData\\Roaming\\npm\\node_modules', npm verb linkStuff false, npm verb linkStuff 'C:\\Users\\spjbd\\AppData\\Roaming\\npm\\node_modules\\bow er\\node_modules' ] npm info linkStuff insight@0.4.3 npm verb linkBins insight@0.4.3 npm verb linkMans insight@0.4.3 npm verb rebuildBundles insight@0.4.3 npm verb rebuildBundles [ '.bin', […]

鲍尔 – 给注册包不同的path

我有我自己的克隆git存储库。 ( 我将使用克隆的jquery来简化 ) 我想能够链接一个注册的包名称给定的path,所以我可以这样做: “jquery”:“1.0.0” 我知道这是可能的只是给path,即 凉亭安装myJqueryPath 或者 ,添加到bower.json的依赖项 “jquery”:“myJqueryPath” 但是,再次,这些解决scheme不是我所期待的。 我想让鲍尔知道不要从github安装jquery(或任何其他包)。 但要从给定的存储库安装到它。 谢谢 :) (我知道这是可能的,我不知道如何)

错误:运行“bower install”时找不到模块“js-yaml”

我正在通过AngularJS应用程序的基本设置(刚入门),目前正在尝试为应用程序安装Bower组件。 当我从terminal运行bower install ,出现以下错误: Error: Cannot find module 'js-yaml' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object.<anonymous> (Path\bower\node_modules\configstore\index.js:9:12) at Module._compile (module.js:425:26) at Object.Module._extensions..js (module.js:432:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) 我没有在我的脚本中的任何地方指定js-yaml模块(据我所知),所以不知道这个依赖来自哪里。 我已经尝试删除node_modules文件夹,清除npmcaching,包括package.json文件中的js-yaml ,然后重新运行npm install,但运行bower install时出现同样的错误 如果有帮助,我的bower.json和package.json文件如下所示: Bower.json { "name": "starter-node-angular", "version": "1.0.0", "dependencies": […]

无法安装Bower软件包

我有一个使用Visual Studio 2015 IDE开发的Cordova应用程序。 为了pipe理库和依赖,我尝试使用NuGet。 但看起来,NuGet无法pipe理客户端脚本,即CSS。 所以我探索了BOWER。 我使用命令npm installl -g bower安装了npm installl -g bower ,现在我可以访问所有Bower命令。 当我尝试添加jQuery和jQuery Mobile之类的依赖项时,它会尝试提取并失败。 它给出的错误是, PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\Bower.cmd" install –force-latest bower retry Request to https://bower.herokuapp.com/packages/jquery-mobile failed with ECONNRESET, retrying in 1.5s bower retry Request to […]

bower安装后缺lessbower_components文件夹

在个人项目中,我跑了今天早上npm install && bower install svn结帐后。 所有的软件包似乎都下载并没有错误地安装,所有的火灾都是绿色的。 但安装后, bower_components文件夹仍然丢失。 我testing了一个bower cache clean但没有效果。 此外,我更新了我的凉亭版本# npm -g update bower ,但它没有更多的影响。 任何想法 ? 这里是凉亭安装输出: bower exifreader#* not-cached git://github.com/mattiasw/ExifReader.git#* bower exifreader#* resolve git://github.com/mattiasw/ExifReader.git#* bower geolocationmarker#* not-cached git://github.com/shahariaazam/geolocationmarker.git#* bower geolocationmarker#* resolve git://github.com/shahariaazam/geolocationmarker.git#* bower angular#1.2.27 cached git://github.com/angular/bower-angular.git#1.2.27 bower angular#1.2.27 validate 1.2.27 against git://github.com/angular/bower-angular.git#1.2.27 bower cryptojslib#~3.1.2 cached git://github.com/sytelus/CryptoJS.git#3.1.2 bower cryptojslib#~3.1.2 validate 3.1.2 […]

Bower问题:未创buildbower_components

我在我的项目根目录中创build了一个bower.json文件,但是当我运行: $ bower install 我得到以下输出: bower not-cached https://github.com/mirceasinteanu/nanoScrollerJS.git#master bower resolve https://github.com/mirceasinteanu/nanoScrollerJS.git#master bower not-cached http://jamesallardice.github.io/Placeholders.js#* bower resolve http://jamesallardice.github.io/Placeholders.js#* bower download http://jamesallardice.github.io/Placeholders.js bower cached http://github.com/davatron5000/FitVids.js.git#1.1.0 bower validate 1.1.0 against http://github.com/davatron5000/FitVids.js.git#* bower cached git://github.com/jquery/jquery.git#1.10.2 bower validate 1.10.2 against git://github.com/jquery/jquery.git#~1.10.0 bower cached git://github.com/gfranko/jquery.selectBoxIt.js.git#3.8.1 bower validate 3.8.1 against git://github.com/gfranko/jquery.selectBoxIt.js.git#* bower cached git://github.com/chrisabrams/commonjs.git#0.2.0 bower validate 0.2.0 against git://github.com/chrisabrams/commonjs.git#0.2.0 bower cached git://github.com/components/jqueryui.git#1.11.2 […]