Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error when trying to run Sails.js app on Trireme

Not applicable

Hi all, I'm running into the following issue when I try to hit the main page of a plain vanilla Sails.js App on Trireme:

Error:

{
  "message": "Cannot call method \"call\" of undefined",
  "fileName": "/usr/local/lib/node_modules/sails/node_modules/glob/glob.js",
  "lineNumber": 310,
  "stack": "TypeError: Cannot call method \"call\" of undefined\n    at /usr/local/lib/node_modules/sails/node_modules/glob/glob.js:310
...}

Main Page

http://localhost:1337/ 

This app was generated by running the command:

sails new sails-plain-vanilla

I've tried to run it on multiple versions of native node: v0.10.32, v0.10.36, v0.10.40, and v0.10.40 and all of them worked with no issues.

This app can be executed either with:

$ sails lift <- works okay. displays "brand new app" on Sails.js

$ node app.js <- works okay. displays "brand new app" on Sails.js

However,

$ trireme app.js <- this one fails with the error above

Am I missing anything?

Thanks!

0 4 248
4 REPLIES 4