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

Unit test failed #28

Closed
henrycaohao opened this issue Mar 7, 2016 · 4 comments
Closed

Unit test failed #28

henrycaohao opened this issue Mar 7, 2016 · 4 comments
Labels

Comments

@henrycaohao
Copy link

I run unit test on node-cld, and it not pass.

throw new assert.AssertionError({
^
AssertionError: { message: 'Failed to identify language' } == null
at D:\Projects\cld\test\runner.js:12:14
at Object.module.exports.detect (D:\Projects\cld\index.js:71:14)
at D:\Projects\cld\test\runner.js:11:9
at Function._.each._.forEach (D:\projects\cld\node_modules\underscore\underscore.js:153:9)
at runCoreTests (D:\Projects\cld\test\runner.js:10:5)
at Objects. (D:\Projects\cld\test\runner.js:135:1)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
npm ERR! Test failed. see above for more details.

I try some languages and it can't detect although it has in data in the unit test.
{ message: 'Failed to identify language'}

Some languages you can try: SOMALI, IGBO, HAUSA, ABKHAZIAN, AFAR, ...
Does node-cld support languages as cld2 ?

@dachev
Copy link
Owner

dachev commented Mar 22, 2016

@henrycaohao Thanks for reporting this. Can you give me a little more information about your environment .Specifically:

  • OS name and version
  • Compiler name and version
  • Node version
  • npm version
  • The command you used to run the tests

@henrycaohao
Copy link
Author

My environment:

  • Windows 8.1 Enterprise 64-bit (Build 9600)
  • Command prompt
  • Node: v0.12.7
  • Npm: v2.11.3
  • Command: npm test

@dachev
Copy link
Owner

dachev commented Jun 5, 2016

@henrycaohao The windows build hasn't received much love lately but I am intending to fix that in the upcoming months. Sorry for the delay and thank you for the patience.

@dachev dachev added the windows label Oct 27, 2019
@dachev
Copy link
Owner

dachev commented Mar 6, 2020

Closing this as a duplicate of #44. It will be fixed when we upgrade to CLD 3.

@dachev dachev closed this as completed Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants