cbandy / travis-oracle

Scripts to install Oracle Database Express Edition on Travis CI
ISC License
43 stars 15 forks source link

Error: Cannot find module '/home/travis/download.js' #20

Closed jgebal closed 7 years ago

jgebal commented 7 years ago

Can you help me with my Travis setup? The download fails for some reasons. https://travis-ci.org/utPLSQL/utPLSQL-demo-project/builds/222538724#L238

Error: Cannot find module '/home/travis/download.js'

    at Function.Module._resolveFilename (module.js:338:15)

    at Function.Module._load (module.js:280:25)

    at Function.Module.runMain (module.js:497:10)

    at startup (node.js:119:16)

    at node.js:929:3
cbandy commented 7 years ago

download.sh and download.js are in the .travis/oracle directory.

. .travis/oracle/download.sh is sourcing the file rather than executing it. Remove the leading . from the download.sh and install.sh lines and it should work:

install:
  - .travis/oracle/download.sh
  - .travis/oracle/install.sh
jgebal commented 7 years ago

Worked, thank you.