sethblack/javascript-fortuna

error on Advanced example

vip3r011 opened this issue · 3 comments

hi when i try to run the advanced example with node 8.10.0

i get the following error:

"jsspg.initialized = true;
^

ReferenceError: jsspg is not defined
at Object. (/root/indextest.js:28:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3"

indextest.zip

any ideas?

working: i forgot to install npm i javascript-strong-password-generator
and had to modify exmaple a bit:
https://pastebin.com/fipu6fW5

Ahhh! Ok. Yeah I should definitely be more explicit about that. Sorry for the confusion. #baddocumentation

Fixed! :D