w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Error installing karma on Windows 7
I ended up uninstalling node. Then used chocolatey to install it. That gave me a couple of errors but as I debugged, it turned out that for some reason, the npm config file had the wrong registry address to look up the packages. So when I executed npm install -g karma it would try to connect to the registry and couldn't. After fixing the address, everything worked smoothly. I was starting to question if my previously installed programs had changed any system config files or network settings. Evidently, there was no proxy issue encountered.

Categories : Node Js

Error on installing karma test runner
Keep Calm and Continue Using Karma Here's the Karma owner's (Vojta Jina) comment on the issue: this is just optional compilation of native module to speed things up. Even without native module it will still work. In any case, not a Karma issue, so closing. If you want to compile native modules, use linux/mac ;-) Btw. regarding your getting the same error even after SDK install, possibly VCBuild.exe and/or C++ compiler is not added to path.

Categories : Node Js

Python error while installing NodeJS on OpenSuse 12.3
(1) Your post is dated 1 Jul 2013 and back then, the latest stable version of nodejs was v0.10.12, which was introduced on 19 Jun 2013. As of today, 13 Mar 2014, the latest stable source code version of node js v0.10.26 As of today, your source code version of nodejs is definitely not the latest. (2) In the nodejs directory that I extracted from my downloaded nodejs tarball, there is a first-level tools directory [root@new-host node-v0.10.26]# pwd /usr/src/node-v0.10.26 [root@new-host node-v0.10.26]# ls -F AUTHORS ChangeLog config.mk deps/ LICENSE node.gyp src/ vcbuild.bat benchmark/ common.gypi configure* doc/ Makefile out/ test/ BSDmakefile config.gypi CONTRIBUTING.md lib/ node@ README.md tools/ And within that tools/ directory, ther

Categories : Node Js

Nodejs npm install karma
I had a similar error (on Linux though). The thing is this: PhantomJS comes with it's own "installer" install.js that is fetching the precompiled PhantomJS binaries to a temporary directory and unzips them to somewhere inside your node_modules directory. I had to export the TMPDIR variable because /tmp was not writable. In your case it looks like the mp fallback doesn't cut it (it's Windows after all). Try setting TMPDIR to point to an existing directory and run npm install again. Good luck! PS: Can anyone extend this answer with instructions on how to set environment variables on Windows?

Categories : Node Js

nodejs conflicts with node (re installing nodejs)
You may be able to use my pre-built packages which are available here: https://launchpad.net/~chris-lea/+archive/node.js They install a /usr/bin/nodejs binary and then create a symlink from that to /usr/bin/node. If you are going to use these, be sure to remove any vestiges of any previous installs so that the system is using the correct binaries.

Categories : Javascript

Rails installing mysql - Error installing mysql2: ERROR: Failed to build gem native extension
I've been so annoyed by the same problem, and finally succeeded in installing mysql2. Kudos to odiszapc@github. It appears any other solution I've found via Google than below doesn't work to me. Copied and pasted from here. So no credit to me. gem uninstall mysql2 Download last MySQL connector from http://cdn.mysql.com/Downloads/Connector-C/mysql- connector-c-noinstall-6.0.2-win32.zip Extract it to C:connector-6.0.2 gem install mysql2 --platform=ruby -- '--with-mysql-lib="C:connector-6.0.2lib" --with-mysql-include="C:connector-6.0.2include" --with-mysql-dir="C:connector-6.0.2"' Additional info on mine. ruby 1.9.3p392 (2013-02-22) [i386-mingw32] Rails 3.2.13 MySQL Server 5.6 mysql2-0.3.13 P.S Even if you successfully installed mysql2, you may still need some work (e.g. mysql2

Categories : Mysql

Installing NodeJS via Maven
You could try the frontend-maven-plugin (via http://stackoverflow.com/a/19600777/1024571). According the docs: This plugin downloads/installs Node and NPM locally for your project, runs NPM install, Grunt and/or Karma Basically it allows you to use Node as part of your build process without requiring it to be installed globally on the build machine.

Categories : Javascript

Installing Mongoose in NodeJS 0.10.8
This is not actually an error. If you check the builderror.log files in the bson and kerberos module folders, you'll see that the logs are empty. Try spooling up your MongoDB server instance and launch your Node.JS app. If you have any more error feedback, please post as an edit and I will add more information. I had the same exact issue. Here is a link to my StackOverflow question.

Categories : Node Js

Installing nodejs on Debian 6
I don't know the steps you took to compile from source. This is what I used and It worked well on multiple servers: sudo apt-get install git build-essential sudo apt-get install wget wget (link to node.js source -> found on nodejs.org/download/) tar xvf node(press tab to auto load the version you're on) pushd node(again, use tab) ./configure make sudo make install TO TEST: node 0.1 + 0.2 You should receive a response. All set.

Categories : Node Js

cannot locate .npmrc file after installing nodejs and npm on ubuntu 12.04
There can be per-user, global and built-in npmrc configs. So don't worry about if there is no .npmrc file in your home directory. userconfig may or may not exist. You can check the documentation on npm configuration files. userconfig is not created for all users. To check if user config is there and its location you can do : npm config ls -l | grep config My output comes out as ; cli configs ; userconfig /home/ubuntu/.npmrc globalconfig = "/data/storage/node-v0.8.8-linux-x64/etc/npmrc" userconfig = "/home/ubuntu/.npmrc" The global npmrc exists where the npm is installed. And user's has its own. The userconfig file has higher priority over global config, when searching for keys. But if it is absent globalconfig is used.

Categories : Node Js

karma command not found when karma already installed
Try re-installing node.js. There are lots of ways to install it, but I recommend downloading from nodejs.org If that doesn't work, you may try to re-install karma.

Categories : Osx

Karma unknown provider error
Ok, I found this post, which allowed me to resolve the issue. By adding an "inject" property to my TypeScript classes (with the appropriate values in the array), Angular knows how to handle the DI. The only drawback I see is the potential for error in the order the dependencies are listed, or omission in the event a new dependency is added at a later time.

Categories : Angularjs

AngularJS - Karma (e2e) : Executed 0 of 0 ERROR
I'm not exactly clear on this either, but after running into this issue I removed the file angular-scenario from loading and was able to get the tests to run. I believe the problem is the difference between unit testing and e2e testing configuration.

Categories : Angularjs

Error when running angularjs karma sample
You need to change the files key array of the config block and add a frameworks key. the files key looks like this: files: [ ANGULAR_SCENARIO, ANGULAR_SCENARIO_ADAPTER, 'test/e2e/**/*.js' ] Remove the ANGULAR_SCENARIO, and ANGULAR_SCENARIO_ADAPTER lines. So, in the end, it just looks like this: files: [ 'test/e2e/**/*.js' ] Then add a framkeworks key with an array and one value of ng-scenario: frameworks: ['ng-scenario'] Hope that helps.

Categories : Angularjs

grunt-karma RangeError Maximum error
Someone else had this issue and ask about this on IRC. Reinstalling node.js and npm helped them resolve this issue. Also make sure you clear npm cache. You can also try to get npm install grunt-karma into a temporary directory, then npm install in that directory and run the tests using grunt test. This way you can make sure it's an issue with the plugin. If running the rests fails, please file an issue on the plugin page, state your OS and node version. Plugin page: https://github.com/karma-runner/grunt-karma

Categories : Javascript

Getting error regarding slice during Karma/AngularJS unit test config
I had the same problem, but I was running this in Cygwin. I don't know if you were. I first uninstalled and reinstalled nodejs. When I brought up the rxvt window again to try installing karma, it failed with this: /c/Program Files/nodejs/npm: line 2: $' ': command not found /c/Program Files/nodejs/npm: line 4: $' ': command not found /c/Program Files/nodejs/npm: line 5: syntax error near unexpected token `$'in '' 'c/Program Files/nodejs/npm: line 5: `case `uname` in This is apparently because of my using it in Cygwin, although I don't know why I didn't get this error before. The following talks about this: https://github.com/isaacs/npm/issues/3710 . So, I then just opened up a plain "cmd" window, and I found that the package install completed, and "karma init" worked well enough to

Categories : Angularjs

node.js/karma/end-to-end testing: failed to proxy /app/index.html (Error: connect ECONNREFUSED)
The error you're seeing indicates that you haven't started the webserver. Since you are using ./scripts/e2e-test.sh to run your e2e tests, you need to have your webserver serve the app from localhost:8000 and the docroot needs point to the angular-phonecat folder, not the app folder. This can be done by simply running ./scripts/web-server.js (see step-00) Note that there is a second way to run your e2e tests. You can just visit http://localhost:8000/test/e2e/runner.html

Categories : Node Js

npm install -g karma error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found
If you don't have Visual Studio installed at all, then you definitely need the answer at http://stackoverflow.com/a/18779641/530967. Basically you have to install some version of Visual Studio 2010 (Express version is free), then the Windows SDK, then VS SP1, then a VC++ compiler update, all in that order. After that this problem should disappear (as it did for me.)

Categories : Angularjs

ERROR: Error installing jquery-rails: activesupport requires Ruby version >= 1.9.3. in Ubuntu 10.04
sudo gem install jquery-rails is probably using your system's built-in Ruby (which is likely 1.8, or 1.9.2). This is because you're using sudo. With RVM, get rid of the sudo and it'll use RVM instead: gem install jquery-rails

Categories : Ruby On Rails

Redis in Nodejs on Cloud9 IDE: [Error: Auth error: undefined]
You can run the redis-server using your own config file.You can create your own config like below. //port and ip of ur redis server port 6371 bind 127.0.0.1 //password for this server requirepass ucanmentionurpwd //storing snapshots of the data save 60 1 dbfilename dump.rdb dir /tmp/db //starting redis server redis-server //ur config file location See this link for redis configuration https://raw.github.com/antirez/redis/2.6/redis.conf If you mention requirepass with your password means only you need to do client.auth('urPwd'); Otherwise no need to call the client.auth method.

Categories : Node Js

Error installing Ruby on Rails 4.0.0 - error compiling atomic_reference.c
I had this exact same problem today. I was able to fix it, but I'm not entirely sure what caused the problem initially, or even how I solved it. What I do know is it finally worked after I updated ruby gems to the latest version, instead of getting version 2.0.0 as the tutorial suggests. gem update instead of gem update --system 2.0.0 Try that and let me know if it helps.

Categories : Ruby On Rails

Error installing Ruby on Rails 4.0 - atomic_reference.c Error 71
Had the very same problem, coming from that same tutorial. Got it to work following this post. Ran a few command to compare gemsets with the post but what seem to fix the problem was gem update --system (without the "2.0.0" from tutorial, updated me to 2.0.3) gem update gem install rails (again without specifying the version) And finally it installed properly

Categories : Ruby On Rails

Why this error happend? nodejs Error: write EIO
I have just been playing with Unicode support in Windows command prompt, using the code-page 65001 I can't get npm to install, giving me the above error. Changing the code-page to 850 chcp 850 and running the exact same npm command it then works fine. Thus your problem could very well be related to the encoding your environment is in.

Categories : Node Js

Error installing PIL on Mac OS 10.8.4
I somewhat remember this exact problem. Have you installed the Xcode command line tools? That cured my headaches. You can find it here.. https://developer.apple.com/xcode/ From Xcode's Preferences menu, install the Command Line Tools (Downloads/Components tab). supporting references: gcc-4.2 failed with exit status 1 I can't install 'pip install pil' in Osx

Categories : Python

Error installing OpenCV: Error 1, 2
Looks like you can't install it on Snow Leopard, at least without some additional manipulations with sources.The reason is OpenCL version. Take a look at this thread for additional info

Categories : Osx

Installing OpenCV on mac error
If you use default settings, opencv files will be inside /usr/local/lib and /usr/local/include, there should be no doubt about that. For Xcode settings, I use: create command line tool project. add code as you did. add lib files, right click your project name, select "Add files to..", when the new dialog window appears, press key "/", then input "/usr/local/lib", select dylib files as you need (I select all for simplicity). add lib: double click you project name for project settings, in "Build Settings", add "/usr/local/lib" (recursive) for "Library Search Paths". add header: add “/usr/local/include” (non-recursive) for "Header Search Paths" also in "Build Settings" tab, filter by "c++ standard library", and set this parameter to libstdc++ (GNU C++ standard library). If you follo

Categories : Xcode

Error installing rails-4.0.0
Can't tell you where that error comes from, but considering how useless installing ri and rdoc actually is, I would just do: gem install rails --no-ri --no-rdoc You'll also get a much faster install by skipping the docs. In fact, this is what the official release page recommends: http://weblog.rubyonrails.org/2013/6/25/Rails-4-0-final/

Categories : Ruby On Rails

Error Installing binding_of_caller-0.6.8 Gem
You need to update to v0.7.1 to get Ruby 2.0.0 support. https://github.com/banister/binding_of_caller/issues/16#issuecomment-14028817 This comment would be a solution.

Categories : Ruby On Rails

Error installing YAF Framework on Mac OS
I have exactly the same problem. And this tutorial solved it http://lifeofadev.com/2011/03/09/mac-os-x-pcre-h-no-such-file-or-directory/

Categories : PHP

Error installing phonegap via npm on Mac OS X
Looks like this was an issue with node version 0.10.14 but was fixed at 0.10.15 as can be seen here: https://github.com/isaacs/npm/issues/3703

Categories : Cordova

Error installing heroku
You should install the heroku gem directly into the RVM environment and gemset you want to use it in: gem install heroku If you do not have RVM this is a linux command to install the heroku Toolbelt! wget -qO- toolbelt.heroku.com/install-ubuntu.sh | sh If you do not have a Ruby Version manager I would install one.

Categories : Ruby On Rails

Why do I get a 404 error installing Ruby 1.9.3?
The Ruby-Lang.Org service is currently down. Status is at http://www.ruby-lang.org/en/news/2013/08/06/status-issue/ EDIT: More timely updates and use of mirrors guidance at https://github.com/ruby/www.ruby-lang.org/issues/259 FINAL EDIT: The status page indicates the service is back up. I also just successfully ran rvm install 1.9.3

Categories : Ruby On Rails

Error while installing Cyberlink for C++
FileInputStream.h is listed on that command line twice. install appears to be balking at that. That appaers to be a makefile error of some sort. That repository certainly seems to be out of date. The subversion repo however appears to match that changelog.

Categories : C++

Error while installing spree
If you're using Rails 3.2 you should use all gems with that branch too, i.e.: Gemfile: gem https://github.com/rails/sass-rails.git, branch: '3-2-stable' You can see branches listed on GH next to green compare button (with new layout). What if specific gem doesn't have branches? Well, you can fork it, modify the gemspec,see what fails and fix it.

Categories : Ruby

Error Installing Atomic
The error messages don't give the slightest clue as to what the real problem is. Bundler or a component it calls does not properly handle directory names with spaces in them. In my case it was .../Data RAID/... that caused the problem. Once I moved the project to a different drive where there would be no spaces in the path, everything worked fine. It appears it may be only the location of the gems that are the issue. In an earlier attempt, I created a project where the gems weren't located in a path containing spaces, but the project was. It didn't have any problems as far as I went with it. Notice also that the gem install atomic was successful.

Categories : Ruby

"pip list" error 124 - Installing on Mac OS x
Try the solution suggested here on GitHub: It happens when you install distribute using http://python-distribute.org/distribute_setup.py script. Running pip install -U distribute fixes the problem. The bug reproduces only in pip==1.4.

Categories : Python

error in installing DotNetNuke
I have resolved this issue. Here's what I found. I was attempting to connect to a SQL Server instance where case-sensitivity is enforced. The script files provided with DNN 7.00.06 have a number of inconsistencies in regards to case. An example is the parameter @ParentId, which is declared @ParentID. I was not permitted to alter the settings on the remote SQL Server so I ended up installing a local SQL Express (with case-sensitivity off) as a work-around. I hope my experience helps if anyone else comes across this issue.

Categories : Sql Server

GCC error when installing ncurses on OS X 10.8
--no-cpp-precomp is an obsolete Apple GCC option it should generate a warnning not an error but if -Werror flag is passed to the compiler it will fail on warnings, either way, you will have to remove it manually from the build scripts and then run autoreconf or you could just remove it from the configure script directly.

Categories : Gcc

R: Installing Quantstrat Error
Try installing from source, CRAN is not up to date and the latest fixes are only available by installing from source. I have R-3.2.1 x64, installed fine form source. Use the following in this order from your R console or RStudio: install.packages("FinancialInstrument", repos="http://R-Forge.R-project.org") install.packages("blotter", repos="http://R-Forge.R-project.org") install.packages("quantstrat", repos="http://R-Forge.R-project.org") Hope this helps.

Categories : R

Error installing symfony CMF
You get a Generic document when no specific document is at that position in the content repository. PHPCR being a tree, there sometimes are nodes added in between so that a child node can have a parent. Those nodes do not map to any document, in which case the Generic document is used. If you simply installed the sandbox from git and followed all the steps in order, this should not happen. You first set up the repository, then load the fixtures. If this is what you did, please open an issue at https://github.com/symfony-cmf/cmf-sandbox

Categories : Symfony2



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.