Comments (3)
Can you provide the details when you run apidoc --debug
from apidoc-core.
Seems you use an older node version. Node v6 is needed.
from apidoc-core.
I changed the line to use indexOf and was able to continue without issues, but here is the debug output:
verbose: apidoc-generator name: apidoc verbose: apidoc-generator version: 0.17.5 verbose: apidoc-core version: 0.8.2 verbose: apidoc-spec version: 0.3.0 debug: No plugins found. debug: load parser language: .clj, ./languages/clj.js debug: load parser language: .coffee, ./languages/coffee.js debug: load parser language: .erl, ./languages/erl.js debug: load parser language: .ex, ./languages/ex.js debug: load parser language: .exs, ./languages/ex.js debug: load parser language: .litcoffee, ./languages/coffee.js debug: load parser language: .lua, ./languages/lua.js debug: load parser language: .pl, ./languages/pm.js debug: load parser language: .pm, ./languages/pm.js debug: load parser language: .py, ./languages/py.js debug: load parser language: .rb, ./languages/rb.js debug: load parser language: default, ./languages/default.js debug: load parser: api, ./parsers/api.js debug: load parser: apidefine, ./parsers/api_define.js debug: load parser: apidescription, ./parsers/api_description.js debug: load parser: apierror, ./parsers/api_error.js debug: load parser: apierrorexample, ./parsers/api_error_example.js debug: load parser: apiexample, ./parsers/api_example.js debug: load parser: apiheader, ./parsers/api_header.js debug: load parser: apiheaderexample, ./parsers/api_header_example.js debug: load parser: apigroup, ./parsers/api_group.js debug: load parser: apiname, ./parsers/api_name.js debug: load parser: apiparam, ./parsers/api_param.js debug: load parser: apiparamexample, ./parsers/api_param_example.js debug: load parser: apipermission, ./parsers/api_permission.js debug: load parser: apisuccess, ./parsers/api_success.js debug: load parser: apisuccessexample, ./parsers/api_success_example.js debug: load parser: apiuse, ./parsers/api_use.js debug: load parser: apiversion, ./parsers/api_version.js debug: load parser: apisamplerequest, ./parsers/api_sample_request.js debug: load parser: apideprecated, ./parsers/api_deprecated.js debug: load worker: apierrorstructure, ./workers/api_error_structure.js debug: load worker: apierrortitle, ./workers/api_error_title.js debug: load worker: apigroup, ./workers/api_group.js debug: load worker: apiheaderstructure, ./workers/api_header_structure.js debug: load worker: apiheadertitle, ./workers/api_header_title.js debug: load worker: apiname, ./workers/api_name.js debug: load worker: apiparamtitle, ./workers/api_param_title.js debug: load worker: apipermission, ./workers/api_permission.js debug: load worker: apisamplerequest, ./workers/api_sample_request.js debug: load worker: apistructure, ./workers/api_structure.js debug: load worker: apisuccessstructure, ./workers/api_success_structure.js debug: load worker: apisuccesstitle, ./workers/api_success_title.js debug: load worker: apiuse, ./workers/api_use.js debug: load filter: apierror, ./filters/api_error.js debug: load filter: apiheader, ./filters/api_header.js debug: load filter: apiparam, ./filters/api_param.js debug: load filter: apisuccess, ./filters/api_success.js verbose: run parser error: Object /home/woodridge/code/laravel/app/Http/Controllers/MobileController.php has no method 'startsWith' debug: TypeError: Object /home/woodridge/code/laravel/app/Http/Controllers/MobileController.php has no method 'startsWith' at /usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/utils/find_files.js:142:20 at Array.map (native) at FindFiles.search (/usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/utils/find_files.js:141:19) at Parser.parseFiles (/usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/parser.js:91:27) at /usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/index.js:213:24 at Array.forEach (native) at Object.parse (/usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/index.js:208:25) at Object.createDoc (/usr/lib/node_modules/apidoc/lib/index.js:113:22) at Object.<anonymous> (/usr/lib/node_modules/apidoc/bin/apidoc:113:12) at Module._compile (module.js:456:26)
from apidoc-core.
Related Issues (20)
- OpenAPI support HOT 2
- logger is undefined HOT 2
- @apiPrivate parser returns string, causing strange data in output. HOT 1
- Change default language checker HOT 2
- Field out of order for object parameter HOT 1
- Trying to get in touch regarding a security issue HOT 1
- Support the runtime doc generation HOT 1
- FR: OpenAPI support? HOT 4
- Unable to use a dot in parameter names HOT 3
- Unable to use a @ in parameter names
- include filename in warning HOT 2
- Apidoc special comment closing symbols. HOT 1
- Little improvement of @apiGroup request HOT 1
- Nullable param types using char "?" HOT 1
- @apiPrivate Parser? HOT 2
- Delete route seems not working HOT 1
- @apiPrivate not working HOT 1
- Error in the documentation about erlang parser HOT 1
- Problems with apiPrivate and Empty parser result. HOT 4
- Hooks are synchronous, but plugins depend on asynchronous code HOT 1
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 apidoc-core.