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
Your "german" node.js program looks promising! However, I cannot seem to get it running (Ubuntu 15.10, 64-bit). It installs and prints out the command-line usage help just fine:
However, anything beyond that seems to generate an error:
For example:
root@n1:~# german list
/usr/local/lib/node_modules/german/lib/verbs.js:85
if (Object.keys(verb[key]).length === 0) {
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at /usr/local/lib/node_modules/german/lib/verbs.js:85:16
at Array.forEach (native)
at calculateIrregularity (/usr/local/lib/node_modules/german/lib/verbs.js:83:31)
at setVerbDefaults (/usr/local/lib/node_modules/german/lib/verbs.js:60:23)
at /usr/local/lib/node_modules/german/lib/verbs.js:159:5
at Array.map (native)
at load (/usr/local/lib/node_modules/german/lib/verbs.js:137:50)
at Object.<anonymous> (/usr/local/lib/node_modules/german/lib/verbs.js:27:1)
at Module._compile (module.js:456:26)
root@n1:~#
or
root@n1:~# german conjugate haben
/usr/local/lib/node_modules/german/lib/verbs.js:85
if (Object.keys(verb[key]).length === 0) {
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at /usr/local/lib/node_modules/german/lib/verbs.js:85:16
at Array.forEach (native)
at calculateIrregularity (/usr/local/lib/node_modules/german/lib/verbs.js:83:31)
at setVerbDefaults (/usr/local/lib/node_modules/german/lib/verbs.js:60:23)
at /usr/local/lib/node_modules/german/lib/verbs.js:159:5
at Array.map (native)
at load (/usr/local/lib/node_modules/german/lib/verbs.js:137:50)
at Object.<anonymous> (/usr/local/lib/node_modules/german/lib/verbs.js:27:1)
at Module._compile (module.js:456:26)
root@n1:~#
As you can see, in each of these examples the error is "TypeError: Object.keys called on non-object".
Perhaps it's the version of Ruby with Ubuntu 15.10 that is the problem, as it pre-dates your package? I would not think so, given the rather simple meaning of the error messages, but one never knows. Running "ruby --version" on this system reports "ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]".
Thanks in advance for any insights or assistance.
Cheers!
Doug
The text was updated successfully, but these errors were encountered:
Hi Nick!
Your "german" node.js program looks promising! However, I cannot seem to get it running (Ubuntu 15.10, 64-bit). It installs and prints out the command-line usage help just fine:
However, anything beyond that seems to generate an error:
For example:
or
As you can see, in each of these examples the error is "TypeError: Object.keys called on non-object".
Perhaps it's the version of Ruby with Ubuntu 15.10 that is the problem, as it pre-dates your package? I would not think so, given the rather simple meaning of the error messages, but one never knows. Running "ruby --version" on this system reports "ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]".
Thanks in advance for any insights or assistance.
Cheers!
Doug
The text was updated successfully, but these errors were encountered: