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 'nlp-syllables' #1

Closed
factormystic opened this issue May 16, 2016 · 1 comment · Fixed by #4
Closed

Error: Cannot find module 'nlp-syllables' #1

factormystic opened this issue May 16, 2016 · 1 comment · Fixed by #4

Comments

@factormystic
Copy link
Contributor

  1. copy/pasted the readme program to test.js
  2. ran it:
$ node test.js
module.js:440
    throw err;
    ^

Error: Cannot find module 'nlp-syllables'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.Module._load (module.js:386:25)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\--\Projects\nlp-lyrics\test.js:2:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)

env:

$ node -v
v6.1.0

using:

+-- nlp-syllables@0.0.2
+-- nlp_compromise@4.10.5
@factormystic
Copy link
Contributor Author

The installed package.json says:

  "main": "builds/nlp-syllables.es5.js",

but there's no file on disk named that. The builds folder just has nlp-syllables.js and nlp-syllables.min.js.

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

Successfully merging a pull request may close this issue.

1 participant