-
-
Notifications
You must be signed in to change notification settings - Fork 510
Error: Cannot find module 'memdown' #413
Comments
which version of node are you using?
|
Hi Matteo, aptitude installs node 0.10.25. |
I would suggest at least 0.10.36 on the 0.10.x line. But I'd suggest you to
|
I already tried to use v4 but with no luck:
|
I am pretty sure that in either case your In your pasted code for node4 it says: So the better question would probably be: what Docker base image are you using? |
Ok so instead of use apt repo for install node i tried to use "n":
With this version mosca working fine. If instead i try to use last node version:
I receive this error:
Base image is ubuntu:14.04, with build-essential installed (for install redis). Thanks for support guys. |
I'm trying with various versions.
But container start and mosca working. |
if you are not using zmq there is nothing to worry about. |
Ok so i stay with node 5.2. |
Getting same error with node v5.6.0 |
It's npm problem: deleting |
I am having this problem with mosca not finding memdown. memdown is installed and in the node_modules directory. I am trying to run the basic example with no backend DB so it should use internal memory...Here is the code...var mosca = require('mosca') var moscaSettings = { var server = new mosca.Server(moscaSettings); server.on('clientConnected', function(client) { // fired when a message is received // fired when the mqtt server is ready node version...node --version Run the code....node server.js resultmodule.js:340 |
I did not mean for the formatting on that to yell out.. with bold type etc... sorry, markdown false trigger..LOL |
So, update your version of NPM and node. Something went wrong in your installation phase. |
Pulling my hair out on this one. I've tried the latest 0.12 release and had this error, saw that @mcollina recommended v4, so I'm now on v4.4.3 and still have this error. I've avoided installing the standard Ubuntu package as recommended. Not sure where to go next. |
Hi, i'm using mosca with a custom dockerfile, where I install node and mosca as follow:
Every time i rebuild the docker image it installs version 0.32.1 of mosca.
So i added @latest to mosca npm module and now it installs correct version 1.0.2.
But when i start the container it doesn't stay up, and i read in log this error:
Any Ideas?
The text was updated successfully, but these errors were encountered: