[BUG] -n / --name arg not properly parsed. "Provided source folder ____ was not found in the current directory"
See original GitHub issueOverview 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
- Clone https://github.com/compodoc/compodoc-demo-todomvc-angular
- Run “npm install” from project root
- run “npm run docs”
Related issues
Suggest a Fix
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
using npm scripts, on Windows you need to escape quotes like " https://compodoc.github.io/website/guides/usage.html
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.