Cannot setup db with latest pubsweet cli
When I try running the command pubsweet setupdb ./ --dev
, I get the following error.
(node:26353) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2):
Error: Cannot find module '<app_root>/node_modules/pubsweet-server/src/models/Collection'
The dev folder in the api
folder is empty afterwards.
Using pubsweet 0.2.0
.