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 51d2dd9 commit 622f970Copy full SHA for 622f970
src/ParseServer.js
@@ -144,6 +144,11 @@ class ParseServer {
144
objectIdSize = defaults.objectIdSize,
145
__indexBuildCompletionCallbackForTests = () => {},
146
}) {
147
+ // verify parse-server is running on node >= 4.6
148
+ if (process.versions.node < '4.6') {
149
+ throw 'You must run parse-server on node >= 4.6. Your current node version is ' + process.versions.node + '.';
150
+ }
151
+
152
// Initialize the node client SDK automatically
153
Parse.initialize(appId, javascriptKey || 'unused', masterKey);
154
Parse.serverURL = serverURL;
0 commit comments