Skip to content

Cannot read properties of undefined #1877

Closed Answered by Shinigami92
jigujigu asked this question in Q&A
Discussion options

You must be logged in to vote
- const faker = require('@faker-js/faker/locale/en');
+ const { faker } = require('@faker-js/faker/locale/en');

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@matthewmayer
Comment options

@Shinigami92
Comment options

Answer selected by Shinigami92
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants