"node":"0.10.41","npm":"1.4.29"
This is basically a version mismatch of squel library with node. So you just need to downgrade the squel version or upgrade the nodjs version. Upgrading over 0.10.X in RHEL 6.7 is tough without custom build or some online rpm.
Error:
/usr/eyeball/auth_server/node_modules/squel/squel.js:167 throw _iteratorError2; ^ReferenceError: Symbol is not defined at _registerValueHandler (/usr/eyeball/auth_server/ node_modules/squel/squel.js: 148:36) at Object._buildSquel.cls. registerValueHandler (/usr/eyeball/auth_server/ node_modules/squel/squel.js: 294:5) at _buildSquel (/usr/eyeball/auth_server/ node_modules/squel/squel.js: 1222:7) at /usr/eyeball/auth_server/node_ modules/squel/squel.js:2971:13 at object (/usr/eyeball/auth_server/ node_modules/squel/squel.js:5: 22) at Object.<anonymous> (/usr/eyeball/auth_server/ node_modules/squel/squel.js:9: 2) 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)error: Forever detected script exited with code: 8
Solution:
Remove the previous squel by,
npm uninstall squelThen install the correct version
npm install squel@4.3.3Thats it!
No comments:
Post a Comment