Git Product home page Git Product logo

bibleapp's People

Contributors

dependabot[bot] avatar ionicabizau avatar jonkemp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bibleapp's Issues

Ubuntu 18.04 [email protected]

npm i -g bible throws SEVERAL(didn't paste them all) errors like:

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/bible' npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/bible' npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/bible' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Linux 4.15.0-96-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "-g" "bible" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! path npm-debug.log.2784587636 npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall open
taking the suggestion to run as admin (sudo npm i -g bible) seems to work, but throws this too:
npm WARN In [email protected] replacing bundled version of bible.js with [email protected]
running "bible" then spits out the help message, good.
running "bible 'Genesis 1:1'" as suggested by the help message gives me this:
`/usr/local/lib/node_modules/bible/bin/bible:189
if (err) { throw err; }
^

Error: spawn git ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3`

any ideas?
and sorry for formatting, github wasn't playing nice today either.
no log file was locatable, but I can try to generate one if needed.

Getting error with cli: "TypeError: Cannot read property 'length' of undefined"

$ bible --lang en '2 Peter 3:9-18'
Reference: 2 Peter 3:9-18
/usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97
                    for (var i = 0; i < verses.length; ++i) {
                                              ^

TypeError: Cannot read property 'length' of undefined
    at /usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97:47
    at Request._callback (/Users/.../.bible/en/index.js:32:20)
    at self.callback (/Users/.../.bible/en/node_modules/request/request.js:123:22)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at ClientRequest.self.clientErrorHandler (/Users/.../.bible/en/node_modules/request/request.js:244:10)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at Socket.socketErrorListener (_http_client.js:259:9)
    at emitOne (events.js:82:20)
$ node -v
v4.2.1

Getting Error: Cannot find module 'qs'

Hi, this is a splendid project!

Unfortunately, I have not been able to make it work yet.
I keep getting the error msg,

Error : Cannot find module 'qs'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/a.agbo/.bible/en/node_modules/request/request.js:8:10)
    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)
    at Module.require (module.js:365:17)

TypeError: Cannot read property 'length' of undefined

Hi,

Bummed I cannot use this. I was looking forward to it.

Could you please help?

Thanks!

gj@DESKTOP-MH9OVO5:~/.bible/en$ bible --lang en 'John 3:16'
Reference: John 3:16
/usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97
                    for (var i = 0; i < verses.length; ++i) {
                                               ^

TypeError: Cannot read property 'length' of undefined
    at /usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97:48
    at request (/home/gj/.bible/en/lib/index.js:22:24)
    at maybeCallback (/home/gj/.bible/en/node_modules/jsonrequest/lib/index.js:57:24)
    at Function.<anonymous> (/home/gj/.bible/en/node_modules/tinyreq/lib/index.js:58:9)
    at res (/home/gj/.bible/en/node_modules/assured/lib/index.js:27:12)
    at IncomingMessage.<anonymous> (/home/gj/.bible/en/node_modules/tinyreq/lib/index.js:101:13)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)

not working on Mac OS X Yosemite

node 4.1.2

$ bible --lang en '2 Peter 3:9-18'
warn  Cannot read the configuration file. Reason: ENOENT
/usr/local/lib/node_modules/bible/bin/bible:74
    Argv.rc || Argv.resultColor || config.resultColor
                                         ^

TypeError: Cannot read property 'resultColor' of null
    at Object.<anonymous> (/usr/local/lib/node_modules/bible/bin/bible:74:42)
    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)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:118:18)
    at node.js:952:3

Random Article from bible

Hey, i'd like to use this with cowsay instead of single fortune, but i need a way to get a random article instead of predefined one.
I think i can do it with myself, does anybody else need this?

Search is not working

bible --lang en -s 'faith' does not work.

Results for search: faith
Error: Module don't support search method

Please help.

[search] broken with --lang en

can't search in english, although i have english installed

bible --lang ro --search 'Meroza' --onlyVerses
=> Blestemaţi pe Meroza, a zis Îngerul Domnului, blestemaţi, blestemaţi pe locuitorii lui; căci n-au venit în ajutorul Domnului, în ajutorul Domnului, printre oamenii viteji.

bible --lang en --search 'jesus'
Results for search: jesus
Error: Module don't support search method

bible --lang en --onlyVerses 'John 1:1-10' 'Genesis 2:3-7'
God blessed the seventh day and made it holy because on it he ceased all the work that he had been doing in creation.
This is the account of the heavens and the earth when they were created ... ... ...

Error downloading files

When I run a command like bible 'Genesis 1:1', I get this error:

info  ~/.bible directory was not found. Downloading packages. This may take a while.
/usr/local/lib/node_modules/bible/bin/bible:189
    if (err) { throw err; }
                     ^
Error: Command failed: /bin/sh -c npm install
installation/preinstall.sh: line 7: wget: command not found
installation/preinstall.sh: line 11: wget: command not found

npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.1
npm ERR! npm  v2.7.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] preinstall: `installation/preinstall.sh`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] preinstall script 'installation/preinstall.sh'.
npm ERR! This is most likely a problem with the bible-romanian package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     installation/preinstall.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls bible-romanian
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/adamharris/.bible/ro/npm-debug.log

    at ChildProcess.exithandler (child_process.js:744:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1008:16)
    at Socket.<anonymous> (child_process.js:1176:11)
    at Socket.emit (events.js:107:17)
    at Pipe.close (net.js:476:12)

Cannot find module 'request' ?

$ bible 'Genesis 1:1'
module.js:341
    throw err;
    ^

Error: Cannot find module 'request'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/Voyga/.bible/en/index.js:2:15)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)

node version => v5.5.0
npm version => v3.5.3

Error finding configuration file

I just installed with npm install -g bible and when I run bible, I get the following error:

warn  [10:10.51 - 09.07.2015] No configuration file was found. Initing the configuration file.
fs.js:502
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory 'undefined/.bible-config.json'
    at Error (native)
    at Object.fs.openSync (fs.js:502:18)
    at Object.fs.writeFileSync (fs.js:1103:15)
    at Object.<anonymous> (/usr/local/lib/node_modules/bible/bible.js:43:12)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)

Even if I create the configuration file by hand I still get this error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.