Giter Site home page Giter Site logo

Comments (3)

rottmann avatar rottmann commented on May 24, 2024

Can you provide the details when you run apidoc --debug

from apidoc-core.

rottmann avatar rottmann commented on May 24, 2024

Seems you use an older node version. Node v6 is needed.

from apidoc-core.

tylerbwoodridge avatar tylerbwoodridge commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.