Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'markov' #1

Open
nylki opened this issue Apr 30, 2015 · 1 comment
Open

Error: Cannot find module 'markov' #1

nylki opened this issue Apr 30, 2015 · 1 comment

Comments

@nylki
Copy link

nylki commented Apr 30, 2015

Hey there,
Just cloned node-markov and wanted to try the example. I am getting this error:

  node-markov git:(master) node example/qwantz.js
module.js:336
    throw err;
          ^
Error: Cannot find module 'markov'
    at Function.Module._resolveFilename (module.js:334:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)
    at Object.<anonymous> (/home/tom/gits/node-markov/example/qwantz.js:4:14)
    at Module._compile (module.js:428:26)
    at Object.Module._extensions..js (module.js:446:10)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Function.Module.runMain (module.js:469:10)
@mk-pmb
Copy link

mk-pmb commented Nov 6, 2016

Try naming the repo directory markov and its parent directory node_modules. Or you could make a subdirectory node_modules and put a symlink markov in it that points to .. (your repo dir).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants