este error me da cuando ejecuto el comando node index.js
mm@MadMacBook-Pro src % node index.js
internal/modules/cjs/loader.js:329
throw err;
^
Error: Cannot find module '/Users/mm/Desktop/ddd/node_modules/faker/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:321:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:534:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.<anonymous> (/Users/mm/Desktop/ddd/src/index.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32) {
code: 'MODULE_NOT_FOUND',
path: '/Users/mm/Desktop/ddd/node_modules/faker/package.json',
requestPath: 'faker'
}