question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] -n / --name arg not properly parsed. "Provided source folder ____ was not found in the current directory"

See original GitHub issue
Overview of the issue

When providing the -n/–name argument, compodoc fails with “Provided source folder ____ was not found in the current directory” error. Easily reproduced by pulling down the official todo demo (https://github.com/compodoc/compodoc-demo-todomvc-angular) and running “npm run docs”

Specific error message: “Provided source folder Angular was not found in the current directory”

Removing -n attribute allows doc generation to complete as expected.

Operating System, Node.js, npm, compodoc version(s)

Node: 6.11.2 npm: 3.10.10 Compodoc: 1.0.0-beta.13

Angular configuration, a package.json file in the root folder

See project package.json

Compodoc installed globally or locally ?

Installed locally

Motivation for or Use Case

Running the official demo?

Reproduce the error
Related issues
Suggest a Fix

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
vogloblinskycommented, Aug 9, 2017

using npm scripts, on Windows you need to escape quotes like " https://compodoc.github.io/website/guides/usage.html

0reactions
lock[bot]commented, Oct 1, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I get the directory where a Bash script is located from ...
The present working directory is /home/matt [matt@server1 ~]$ cd /tmp [matt@server1 tmp]$ ... SCRIPT_PATH is given in full path, no matter how it...
Read more >
Project import errors – Support Portal | Snyk
While importing a project into the Snyk console, you may sometimes encounter an error; for example: Some common errors and suggested...
Read more >
Troubleshooting AWS CLI errors - AWS Command Line Interface
Diagnose and fix common AWS Command Line Interface (AWS CLI) errors. ... guide says is available, first confirm that your command is correctly...
Read more >
Command line argument parsing in Rust using Clap
Manually parse command line arguments in Rust apps using Clap, a library that provides functionality to generate parsing logic for ...
Read more >
Docker ARG, ENV and .env - a Complete Guide - vsupalov.com
env” named file in the same directory. ARG is only available during the build of a Docker image (RUN etc), not after the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found