Cspell does not find any files
See original GitHub issueInfo
Kind of Issue
- [ X] runtime - command-line tools
- building / compiling
- security
- change in behavior
- crash / error
Which Tool or library
- [ X] cspell – the command-line spelling tool
- cspell-tools – used for building dictionary files
- cspell-lib – library that does the actual spell checking.
- cspell-trie – tool for working with trie files.
Which Version
Version: 5.13.4
Issue with supporting library?
- [X ] No
- cspell-glob – library for matching glob patterns
- cspell-io – thin file i/o library
- cspell-trie-lib - trie lib
- cspell-trie2-lib - trie lib alternate format
OS:
- Macos
- Linux
- [ X] Windows
- Other
version:
OS version if applicable. 7
Bug Description
Cspell does not find any files
To Reproduce
Steps to reproduce the behavior:
- Define package.json script: “cspell”: “cspell lint --no-progress --show-suggestions ‘**’”,
- Install cspell globally
- Add cspell location to PATH
- Execute npm run cspell
Result:
CSpell: Files checked: 0, Issues found: 0 in 0 files
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! …: cspell lint --show-suggestions -v '**' --config cspell.json
npm ERR! Exit status 1
Expected behavior
Cspell finds projects files and processes them.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Getting Started with CSpell
In the steps below we will create a cspell configuration file and setup a single custom ... --no-must-find-files Do not error if no...
Read more >VS Code: cspell checker stopped working, getting 'command ...
I used Code Spell Checker in VS Code for many months, and it's stopped working. I'm using 'Code Spell Checker' and 'Polish -...
Read more >Turn spell check on or off - Microsoft Support
To turn spell check off in Word, Click File > Options > Proofing, ... You're typing along, you make a mistake, and you...
Read more >Use the Grammar and Spell Check feature - Adobe Support
If the user manually rectifies a misspelled word, the spell check is required to re-run on the updated content of the current file....
Read more >Visual Studio Spell Checker (VS2022 and Later)
It can also spell check an entire solution, project, or selected items. ... tool window to find and fix spelling errors in 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
Yes, double quotes works just fine on the MacOS and Linux. So do the single quotes, which is why I asked about the original example.
cspell '**'
will work just fine on the Mac and in Linux, it just fails on Windows.cspell "**"
will work on all of them.@tomaszs,
As @nschonni said, single quotes
'
do not work on windows. You must use"
. Did you copy example code?