Common Issues
Config File Not Found
Error Message:.envcheck.yaml in the current directory by default.
Solutions:
Create a config file
Create a config file
Initialize a new config file in your project root:This creates a
.envcheck.yaml file with example configuration.Specify config path
Specify config path
Use the Or use a relative path:
--config flag to point to your config file:Check current directory
Check current directory
Make sure you’re running envcheck from the correct directory:
Invalid YAML Syntax
Error Message:.envcheck.yaml file has syntax errors.
Solutions:
Tool Not Found
Error Message:Install the tool
Install the tool
Install the missing tool:
Check PATH
Check PATH
Verify the tool is in your PATH:If not in PATH, add it to your shell profile:
Use verbose mode
Use verbose mode
Run with
--verbose to see more details:Version Mismatch
Error Message:Upgrade the tool
Upgrade the tool
Upgrade to a compatible version:
Update config requirement
Update config requirement
If the installed version is acceptable, update
.envcheck.yaml:Use version managers
Use version managers
Use version managers to switch between versions:
Environment Variable Not Set
Error Message:Set the environment variable
Set the environment variable
Set the variable in your shell:Or add to your shell profile for persistence:
Use a .env file
Use a .env file
Create a Load it using
.env file and load it before running envcheck:.env
source or export:Mark as optional
Mark as optional
If the variable is not critical, mark it as optional:
Port Already in Use
Error Message:Find the process using the port
Find the process using the port
Identify what’s using the port:
Stop the conflicting process
Stop the conflicting process
Kill the process using the port:
Use a different port
Use a different port
Configure your application to use a different port:
.envcheck.yaml
File Not Found
Error Message:Create the file
Create the file
Create the missing file:
Check file path
Check file path
Verify the path in your config is correct:
Mark as optional
Mark as optional
If the file is not critical:
Network Check Failing
Error Message:Check internet connection
Check internet connection
Verify you have internet access:
Check firewall/proxy
Check firewall/proxy
Corporate firewalls may block requests. Try:
Verify the URL
Verify the URL
Make sure the URL is correct and accessible:
Remove network check for offline development
Remove network check for offline development
If working offline, comment out network checks:
Debugging Tips
Use Verbose Mode
Enable verbose output to see detailed information:- Config file loading details
- Exact version numbers detected
- Full error messages
- Debug information
Use JSON Output
Get structured output for easier debugging:Check Config Location
envcheck searches for config in this order:- Path specified with
--configflag .envcheck.yamlin current directory.envcheck.yamlin parent directories (up to git root)
Validate Semver Requirements
Test your version requirements:">=18.0.0"- At least 18.0.0"^18.0.0"- Compatible with 18.x.x (18.0.0 to 18.99.99)"~18.0.0"- Approximately 18.0.x (18.0.0 to 18.0.99)"*"- Any version
Getting Help
GitHub Issues
Report bugs or request features
Configuration Reference
Review all configuration options
CLI Commands
See all available commands and flags
Examples
Check out working examples
If you encounter an issue not listed here, please open an issue on GitHub with:
- Output from
envcheck --verbose - Your
.envcheck.yamlconfig (remove any secrets) - Your environment (OS, shell, tool versions)
