Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

faker-cli uuid help shows error #3

Open

Description

@mkelley33

To reproduce issue install node v6.0.0, nvm, and faker-cli, then issue the following command:

faker-cli uuid help

Maybe an update to the README for node version compatibility would be helpful :)

Available options for undefined:
/Users/user.name/.nvm/versions/node/v6.0.0/lib/node_modules/faker-cli/index.js:207
  return Object.keys(faker[which]);
                ^

TypeError: Cannot convert undefined or null to object
    at module.exports.fields (/Users/user.name/.nvm/versions/node/v6.0.0/lib/node_modules/faker-cli/index.js:207:17)
    at printHelp (/Users/user.name/.nvm/versions/node/v6.0.0/lib/node_modules/faker-cli/bin/faker-cli.js:172:3)
    at print (/Users/user.name/.nvm/versions/node/v6.0.0/lib/node_modules/faker-cli/bin/faker-cli.js:182:9)
    at Object.<anonymous> (/Users/user.name/.nvm/versions/node/v6.0.0/lib/node_modules/faker-cli/bin/faker-cli.js:48:1)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Function.Module.runMain (module.js:575:10)

Activity

  1. lestoni commented on Sep 13, 2021

    @lestoni
    Owner

    @deanrad Sorry i haven't been paying much attention to this for some time (if not years :D ) , been on other things ! i'll check it out and if you can offer any contribution feel free : )

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions