Comments (8)
Please try npm i -g grunt-cli
before install
from abao.
Thanks cybertk. Done it and npm install
works now in the cloned repo, but when I try to run abao api.raml --names
I just get command not found
back. Do I miss anything?
from abao.
Please invoke abao with bin/abao
if you clone the repo.
Use abao
only when you install from npm via npm i -g abao
from abao.
I first tried to install abao with npm only, but was not able to run abao from my command line so I've cloned the repo.
When I run bin/abao ~/Downloads/api.raml --names
now I get Error: Must specify api endpoint.
back, but in your docu you got an example using abao on a single RAML file without api endpoint with --names
to get a summary of your spec.
from abao.
@sichvoge when you install abao with npm, you must provide -g
to npm. README has been updated by PR #10
For --names
error, it's a known defect and tracked by #6.
from abao.
Got it. Now I can type in abao
into my console from everywhere :) Next problem I got is:
abao Downloads/api.raml --names
module.js:340
throw err;
^
Error: Cannot find module 'coffee-script/register'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/abao/lib/add-hooks.js:6:3)
at Object.<anonymous> (/usr/local/lib/node_modules/abao/lib/add-hooks.js:46:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
I had to install coffee-script via npm install -g coffee-script
. That is missing in the README, right?
from abao.
@sichvoge Fixed in v0.2.3. Please reinstall abao
from abao.
#6 is fixed in v0.2.4
from abao.
Related Issues (20)
- Make wrapper level for raml-parser
- Add RAML hook to skip tests HOT 4
- Make log-statements in hookfiles output reporter-specific content HOT 2
- Support For OpenAPI / swagger HOT 4
- First test case response time included beforeAll execute time HOT 1
- Rewrite in ES7 HOT 12
- Does not support resourceTypes
- ES7 Migration - Linting HOT 1
- ES7 Migration - CHANGELOG HOT 3
- ES7 Migration - CONTRIBUTING HOT 5
- ES7 Migration - Fixing package versions HOT 1
- Fails silently on valid RAML, even with names option HOT 10
- body disappears when header is added HOT 2
- Replace `tv4` JSON Schema validator
- Remove 'banUnknown' JSON Schema option
- Add error handling to request invocation
- Remove asserts from library source HOT 1
- Add standard User-Agent header
- Abao Tests Not Running HOT 28
- "before all" hook: TypeError: callback is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abao.