Expected behavior
Running “npm start” should start my admin panel seamlessly.
Actual behavior
Npm throws an error saying there is no valid entry
Failure Logs
Error: Cannot find module 'C:\Users\user\Desktop\projectName\node_modules\forest-express-mongoose\dist\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (internal/modules/cjs/loader.js:319:19) at Function.Module._findPath (internal/modules/cjs/loader.js:676:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:939:27) at Function.Module._load (internal/modules/cjs/loader.js:835:27) at Module.require (internal/modules/cjs/loader.js:1012:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (C:\Users\user\Desktop\projectNameapp.js:12:5) at Module._compile (internal/modules/cjs/loader.js:1123:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) at Module.load (internal/modules/cjs/loader.js:972:32) { code: 'MODULE_NOT_FOUND', path: 'C:\\Users\\user\\Desktop\\projectName\\node_modules\\forest-express-mongoose\\package.json', requestPath: 'forest-express-mongoose' }
Context
Running the latest version of lumber. Using mlab for my database. The connection setup works fine. Just that “npm start” is failing.
Please provide any relevant information about your setup.
- Package Version: 6.0.0 (forest-express-mongoose)
- Express Version: 4.16.3
- Database Dialect:
- Database Version:mongod version: 3.6.12 (MMAPv1)