dalekjs / dalek-cli

[unmaintained] Command line runner for dalekjs testing framework
MIT License
25 stars 7 forks source link

No local DalekJS installation found #1

Closed vevmesteren closed 11 years ago

vevmesteren commented 11 years ago

Hey! Demo's looking good, so much so that I could not resist trying it out. Following the installation guide on your site, and writing my first test, I am told that "No local DalekJS installation found". This is rather confusing, since I get this too: "$ dalek -v DalekJS CLI Tools Version: 0.0.1 Brought to you with love by: Sebastian Golasch (@asciidisco) 2013".

I'll be watching further development though.

OS: Ubuntu 13.04, $ node -v v0.10.15 $ npm -v 1.3.7

thanks

asciidisco commented 11 years ago

Hey.

Looks like you're in the wrong directory, or missed to install the local dalekjs testing framework additionally to the cli tools.

If you are familiar with grunt, dalek follows the same way, the dalek-cli is only the global cmd command, the "real" logic of dalek is within the dalekjs package.

Your directory layout should look smth. like this:

myProject --node_modules -- --dalekjs

package.json yourTest.js

Just to recap the steps:

  1. npm install dalek-cli -g
  2. Go to your projects directory (the one where you will place your tests)
  3. npm install dalekjs
  4. dalek -v (Should now also output all the CLI switches, that your output is missing)

I did most of the tests with MacOSX and briefly checked Dalek on WinXP, Ubuntu 12.

If you could also report your current node version & your operating system with version, I can try to reproduce the issue.

Thanks for taking the burdon of being an early user & reporting bugs, that means a lot to me.

Best Regards Sebastian

asciidisco commented 11 years ago

Closing. User error, missing local install.