We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e32ce5 commit 695ca75Copy full SHA for 695ca75
packages/create-react-app/index.js
@@ -36,21 +36,17 @@
36
37
'use strict';
38
39
-var chalk = require('chalk');
40
-
41
var currentNodeVersion = process.versions.node;
42
var semver = currentNodeVersion.split('.');
43
var major = semver[0];
44
45
if (major < 8) {
46
console.error(
47
- chalk.red(
48
- 'You are running Node ' +
49
- currentNodeVersion +
50
- '.\n' +
51
- 'Create React App requires Node 8 or higher. \n' +
52
- 'Please update your version of Node.'
53
- )
+ 'You are running Node ' +
+ currentNodeVersion +
+ '.\n' +
+ 'Create React App requires Node 8 or higher. \n' +
+ 'Please update your version of Node.'
54
);
55
process.exit(1);
56
}
0 commit comments