Node.js based forum software built for the modern web
updated error code for missing package.json @pitaj
Julian Lam2c8cef6e9229
diff --git a/src/cli/index.js b/src/cli/index.jsindex f5b2075166..07efaadf5e 100644--- a/src/cli/index.js+++ b/src/cli/index.js@@ -10,7 +10,7 @@ var dirname = require('./paths').baseDir;try {require('../../package.json');} catch (e) {- if (e.code === 'ENOENT') {+ if (e.code === 'MODULE_NOT_FOUND') {console.warn('package.json not found.');console.log('Populating package.json...');