Remove `node_modules` dir early fail check

Reviewed By: @vjeux

Differential Revision: D2464127
This commit is contained in:
Martin Bigio 2015-09-21 17:46:42 -07:00 committed by facebook-github-bot-4
parent e3f7a3933c
commit 9daabfa30c
1 changed files with 0 additions and 10 deletions

View File

@ -16,16 +16,6 @@ var isAbsolutePath = require('absolute-path');
var getFlowTypeCheckMiddleware = require('./getFlowTypeCheckMiddleware');
if (!fs.existsSync(path.resolve(__dirname, '..', 'node_modules'))) {
console.log(
'\n' +
'Could not find dependencies.\n' +
'Ensure dependencies are installed - ' +
'run \'npm install\' from project root.\n'
);
process.exit();
}
var chalk = require('chalk');
var connect = require('connect');
var ReactPackager = require('./react-packager');