You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\MyWorks\parse-server-example\node_modules\parse-server\lib\PromiseRouter.js:5
1
throw _iteratorError;
^
ReferenceError: Symbol is not defined
at PromiseRouter.merge (D:\MyWorks\parse-server-example\node_modules\parse-s
erver\lib\PromiseRouter.js:34:40)
at new ParseServer (D:\MyWorks\parse-server-example\node_modules\parse-serve
r\lib\index.js:137:10)
at Object. (D:\MyWorks\parse-server-example\index.js:16:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
var port = process.env.PORT || 1337;
var api = new ParseServer({
//databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
databaseURI: databaseUri || mongoConStr,
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
appId: process.env.APP_ID || appKey,
masterKey: process.env.MASTER_KEY || masterkey, //Add your master key here. Keep it secret!
fileKey: fileKey,
serverURL: 'http://localhost:' + port + '/parse'
});
These keys are initialised, actually error is on this part
PromiseRouter.prototype.merge = function (router) {
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
Yeah right i have two version of node js 0.10.28 and initially it was running with previous version 0.10.28, and now run with 4.3 it is working fine. Thanks you for the help
D:\MyWorks\parse-server-example\node_modules\parse-server\lib\PromiseRouter.js:5
1
throw _iteratorError;
^
ReferenceError: Symbol is not defined
at PromiseRouter.merge (D:\MyWorks\parse-server-example\node_modules\parse-s
erver\lib\PromiseRouter.js:34:40)
at new ParseServer (D:\MyWorks\parse-server-example\node_modules\parse-serve
r\lib\index.js:137:10)
at Object. (D:\MyWorks\parse-server-example\index.js:16:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
npm ERR! [email protected] start:
node index.js
On npm start , i am getting this , my index.js
var port = process.env.PORT || 1337;
var api = new ParseServer({
//databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
databaseURI: databaseUri || mongoConStr,
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
appId: process.env.APP_ID || appKey,
masterKey: process.env.MASTER_KEY || masterkey, //Add your master key here. Keep it secret!
fileKey: fileKey,
serverURL: 'http://localhost:' + port + '/parse'
});
These keys are initialised, actually error is on this part
PromiseRouter.prototype.merge = function (router) {
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
};
Please help me .
The text was updated successfully, but these errors were encountered: