GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Better error warnings? · Issue #61 · coderoad/coderoad-cli

Better error warnings? #61

New issue
Copy link
New issue
Copy link
Open
Open
Better error warnings?#61
Copy link
Assignees
ShMcKargemiront

Description

@moT01
moT01
opened on May 14, 2020
Issue body actions

I am realizing that my tutorials may be hundreds of lessons long. This makes for a very large markdown file. If I, or anyone, mistypes something - like forgetting a space when I want to omit the "short description", I get a generic error message...

TypeError: Cannot read property '0' of null
    at removeHash (/Users/tom/Documents/coderoad-tutorial-parser/tutorial-parser.js:6:58)
    at createLevel (/Users/tom/Documents/coderoad-tutorial-parser/tutorial-parser.js:98:19)
    at parseTutorial (/Users/tom/Documents/coderoad-tutorial-parser/tutorial-parser.js:160:30)
    at Object.<anonymous> (/Users/tom/Documents/coderoad-tutorial-parser/tutorial-parser.js:179:20)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47

I'm not having any problems, and I can handle finding an error like this. Just wanted to point it out. If the markdown file is huge, this may be challenging for some.

Activity

  1. moT01
    assigned
    ShMcK
    on May 14, 2020
  2. ShMcK commented on May 15, 2020

    @ShMcK
    ShMcK
    on May 15, 2020
    Member
    More actions

    @moT01 is then when using the builder found here: https://github.com/coderoad/builder. We'll be testing a branch called "feature/error-messages" and hope to merge it in soon.

  3. moT01 commented on May 15, 2020

    @moT01
    moT01
    on May 15, 2020
    ContributorAuthor
    More actions

    No, I am using the script you gave me a while ago. I haven't tried the builder yet, is the structure of the markdown basically the same?

  4. ShMcK
    assigned
    argemiront
    on May 15, 2020
  5. ShMcK
    transferred this issue fromcoderoad/coderoad-vscodeon Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ShMcK
    ShMcK
  • @argemiront
    argemiront

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.