Skip to content

Replace Faker with @faker-js/faker #3231

@cybersonic

Description

@cybersonic

What are you trying to achieve?

Replace the faker js library as the author has deleted this libarry from github and npm.

What do you get instead?

If you try to installer faker as per the instructions:

npm install faker
you get and empty library with the following:
Screenshot 2022-02-05 at 10 02 59

Provide console output if related. Use --verbose mode for more details.

# paste output here
npm install faker
up to date, audited 2 packages in 375ms
found 0 vulnerabilities
ls node_modules/faker
Readme.md    package.json
cat node_modules/faker/Readme.md
What really happened with Aaron Swartz?%

The library has now been taken over to https://fakerjs.dev/ and the new install instructions should be reflected in the codecepjs documentation.

npm install @faker-js/faker --save-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions