`pubsweet new` only works second time around
Using pubsweet new for the first time results in (independent of using --dev):
error: OpenError: IO error: db/production/LOCK: No such file or directory
at /Users/username/src/pubsweet/node_modules/levelup/lib/levelup.js:119:34
at /Users/username/src/pubsweet/node_modules/leveldown/node_modules/abstract-leveldown/abstract-leveldown.js:39:16
It's because it's trying to read a configuration file before it exists:
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Second time around, works without an issue, since the configs are in place.