Questions tagged [nodejs]
Use it for questions about integrating Drupal with Node, the JavaScript runtime built on Chrome's V8.
11 questions
0 votes
1 answer
150 views
How can I install Dragula, a Layout Paragraphs module dependency?
After creating a content type with a Layout Paragraphs reference and marking it as a layout section and trying to Add Content caused an error indicating that "the dragula library was not found&...
3 votes
1 answer
245 views
Correctly configure the JavaScript tools
I am trying to configure eslint for Drupal in PHPStorm, and it's really confusing. For example, I have installed the node dependencies that comes in the web/core/package.json file. In PHPStorm, in the ...
1 vote
1 answer
690 views
Integrating websockets server to the database [closed]
I'm running a headless Drupal+Angular application where I want to run a server with some clients using WebSockets (and Ratchet). I managed to make a server script detached from Drupal sending messages ...
1 vote
2 answers
1k views
nodejs server set up
UPDATE: The node.js server is now running correctly at Openshift. The node.js server and the socket.io script can now be accessed publicly. Running cron in Drupal, I see that it can also access the ...
2 votes
1 answer
745 views
How to implement Instant Notifications to 'follow' or 'like' nodes?
My employer has a social intranet site with 1000s of users, groups, communities and blogs. Users are free to 'follow' or 'like' nodes, blogs and other users, subscribe to communities, join groups etc. ...
1 vote
0 answers
33 views
Refresh page only for flagged node author
I'm trying to refresh page for only the flagged node author with rules and views_nodejs. What is the right rule configuration to make this happen?
0 votes
3 answers
896 views
Nodejs integration for Chatroom
I am following the Nodejs integration documentation to set up Chatroom, but am a little confused. In step 2, do we cd to the folder of nodejs installation, or the drupal nodejs module? Also, what ...
0 votes
1 answer
392 views
Private Message with node.js issues setting up
I have followed the suggested video tutorials https://www.youtube.com/watch?v=u1sxDaH3Z-U and https://www.youtube.com/watch?v=f8XAT1oB1eA Im using the node.js watchdog submodule for debugging. That's ...
0 votes
1 answer
41 views
Limit node.js updates if the view is active
I have a Facebook style news feed view which updates via node.js and rules when new content is created. This all works fine however if one user is in the process of commenting on a node teaser (...
1 vote
0 answers
703 views
How to configure node.js module on localhost
I am trying to setup node.js module on my localhost environment. I have tried different configurations but still not found correct way to make it work. In my log messages I get: nodejs.config.js ...
0 votes
1 answer
639 views
drupalchat with nodejs
I need to run drupalchat with nodejs locally but I get error loading the socket.io.js client library (404 not found) nodejs server is running the file exist in that path : sites/all/modules/nodejs/...