Sails js runs test tasks in ubuntu

I am new to nodejs and after setting sails when I try to start it using sails lift command it gives me below error. Need help fixing it.

/usr/lib/node_modules/sails/node_modules/waterline/node_modules/lodash/index.js:692
  function runInContext(context) {
                   ^
  illegal access

      

+3


source to share


1 answer


This is a node version issue when I was using v0.11.13 . I changed the version and it started working.



+4


source







All Articles