mirror of https://github.com/status-im/metro.git
Remove `node_modules` dir early fail check
Reviewed By: @vjeux Differential Revision: D2464127
This commit is contained in:
parent
e3f7a3933c
commit
9daabfa30c
10
packager.js
10
packager.js
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue