You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lecture 37 when i run node pubsub.js i get the following error in the console. I believe I installed redis correctly. I get "Configuration loaded" after running redis-server --daemonize yes. I will also include my code from the pubsub class. Thanks for any help.
josh@Josh:~$ node pubsub.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/home/josh/pubsub.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Lecture 37 when i run
node pubsub.js
i get the following error in the console. I believe I installed redis correctly. I get "Configuration loaded" after runningredis-server --daemonize yes
. I will also include my code from the pubsub class. Thanks for any help.josh@Josh:~$ node pubsub.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/home/josh/pubsub.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
The text was updated successfully, but these errors were encountered: