Cannot find module 'pouchdb'

I am using the Ionic Cloud to build a new app and I get the error "Cannot find module ‘pouchdb’. ". IT compiles fine on my local machine but fails in the cloud.

It tells me to make sure I have a build script. I assume it is looking for a dependency for PouchDB but I can’t figure out how to configure it.

Thanks for the help.

Fixed it. In your package.json, Add the line " “pouchdb”: “^6.0.6”," under "Dependencies.