Skip to main content

bud doctor

$ bud doctor --help
Check project for common errors

━━━ Usage ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ bud doctor

━━━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

--basedir,--cwd #0 Set project base directory
--cache Utilize compiler's filesystem cache
--clean Clean artifacts and distributables prior to compilation
--color,-c Colorize output
--debug Enable debug mode
--dry Run in dry mode
--filter #0 Limit command to particular bud instances
--force,--flush Force clearing all caches
--ignore-errors,--ignoreErrors Ignore errors
--input,-i,--@src,--src #0 Source directory (relative to project)
--log Enable logging
--mode #0 Compilation mode
--output,-o,--@dist,--dist #0 Distribution directory (relative to project)
--publicPath #0 Public path to serve assets from
--storage #0 Storage directory (relative to project)
--use #0 Enable an extension
--verbose Log verbose output

━━━ Details ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The `bud doctor` command will:

1. validate the `production` configuration with `webpack`

2. check bud.js related `dependencies` and `devDependencies` are the version
bud.js expects.

━━━ Examples ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Check project for common configuration issues
$ bud doctor