Boss Machine Projcect: when ever I require a function from db file I get and Error running the server

inside the minions file when I require a function from db file I face an error in the terminal I tried to stackoverflow it and search on Google tried some stuff but did not work. Here is the Error below:
const adj = faker.company.bsAdjective();
^

TypeError: Cannot read properties of undefined (reading ‘bsAdjective’)
at C:\Users\moaze\Downloads\project-4-boss-machine-solution\project-4-boss-machine-solution\server\db.js:9:31
at Array.map ()
at createMinion (C:\Users\moaze\Downloads\project-4-boss-machine-solution\project-4-boss-machine-solution\server\db.js:6:43)
at Array.map ()
at Object. (C:\Users\moaze\Downloads\project-4-boss-machine-solution\project-4-boss-machine-solution\server\db.js:80:42)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)

Node.js v18.16.0
[nodemon] app crashed - waiting for file changes before starting…

you should debug on faker.company since faker.company.bsAdjective(); returns undefined.

It’s not clear where your db call is so bsAdjective() itself might be the problem or only a surface problem.