-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
troubles to run basic.js example #1
Comments
@camous sorry about that, my fault entirely! The example was the last thing I worked on for this project, but then I left on holiday and just got back. As such, it's not entirely in a finished state as of yet. I'll look into this tonight and get back to you. Apologies again! |
@camous I've fixed & updated the basic example on master - please let me know if you have any further issues, or questions about how to use. I'll close this issue for now, since it resolves your original issue. However, please do free to open more if you run into problems. finally, since you're one of the early discoverers of this library, I'd love to hear any feedback you may have on the api/documentation/etc. |
@CacheControl I'm now able to run the example. that's cool. Right now, I figured out that what I was trying to achieve was simpler than expected and might not requires a rules engine. However if my assumption is wrong in the future, I will give another try: I like the clear rules definitions and the event based actions. However, and maybe nothing can be done here, the number of dependencies is high. |
@camous cool, glad it worked for you! re: the dependencies, when you install this as an npm package, it will be far smaller (640K in fact). When you do a git checkout of the entire repo, it downloads all the dev-dependencies, which are substantial. |
I'm farirly new to node world but I'm facing troubles running the basic.js example. I'm sure I'm just looking in the wrong direction.
I've followed the script from travis (https://travis-ci.org/CacheControl/json-rules-engine) in order to copy-cat the setup of the json-rules-engine. I've successfully ran into unit test with success.
however, how I could run basic.js ? if I go in ./examples folder and run node basic.js. I'm getting following message
any idea or direction to look for ?
many thanks.
The text was updated successfully, but these errors were encountered: