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 read property "en" of undefined #15

Open
omorefe opened this issue Nov 20, 2020 · 0 comments
Open

Error: Cannot read property "en" of undefined #15

omorefe opened this issue Nov 20, 2020 · 0 comments

Comments

@omorefe
Copy link

omorefe commented Nov 20, 2020

Hello, trying to use this library for a discord bot. I simply did npm install --save bible.js in the terminal, and everything went well. Once i tried to run node, I got an error, and I am not sure what it is for. Here it is

C:\Users\EfeE25\OneDrive\Extracurriclar activities\Complete Fun\Discord\all the boys\bot\node_modules\bible.js\lib\index.js:137        var submod = BibleJS.languages[options.language];
                                      ^

TypeError: Cannot read property 'en' of undefined
    at new BibleJS (C:\Users\EfeE25\OneDrive\Extracurriclar activities\Complete Fun\Discord\all the boys\bot\node_modules\bible.js\lib\index.js:137:39)
    at Object.<anonymous> (C:\Users\EfeE25\OneDrive\Extracurriclar activities\Complete Fun\Discord\all the boys\bot\index.js:3:17)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47```
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

1 participant