Encountering errors while using the deploy.sh script. During the Executing views process, it complains of not being able to find the modules.
In the executeViews.coffee file, does the 'require' command knows where to find the modules, since the node_modules directory is under _attachments?
I have tried installing the request module as global but still getting the error. Apparently I need to install them local to project.
Furthermore, in order for executeViews to find the modules, I need to change the paths as follows:
request = require '../_attachments/node_modules/request'
glob = require '../_attachments/nodemodules/glob'
= require '../_attachments/node_modules/underscore'
Encountering errors while using the deploy.sh script. During the Executing views process, it complains of not being able to find the modules.
In the executeViews.coffee file, does the 'require' command knows where to find the modules, since the node_modules directory is under _attachments?
I have tried installing the request module as global but still getting the error. Apparently I need to install them local to project.
Furthermore, in order for executeViews to find the modules, I need to change the paths as follows: request = require '../_attachments/node_modules/request' glob = require '../_attachments/nodemodules/glob' = require '../_attachments/node_modules/underscore'
Is this the right way to go about it?