Skip to content

UNKNOWN_VALUE #1

Description

@downgoon
  • 容易搞错
$ cpmd README.md subdir/
/usr/local/lib/node_modules/cpmd/node_modules/command-line-args/dist/index.js:1345
        throw err
        ^

UNKNOWN_VALUE: Unknown value: README.md
    at commandLineArgs (/usr/local/lib/node_modules/cpmd/node_modules/command-line-args/dist/index.js:1342:21)
    at Object.<anonymous> (/usr/local/lib/node_modules/cpmd/cpmd.js:16:17)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
    at internal/main/run_main_module.js:17:11 {
  name: 'UNKNOWN_VALUE',
  value: 'README.md'
}
  • 正确指令
$ cpmd -s README.md -d subdir/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions