Ivshti / wcjs-prebuilt

Install pre-built WebChimera.js with bundled VLC for Electron
43 stars 21 forks source link

'No WebChimera release found matching your environment' on Travis #31

Open amilajack opened 7 years ago

amilajack commented 7 years ago

When installing WebChimera.js using wcjs-prebuilt on travis ci with the osx image, the downloader does not properly detect the environment:

> wcjs-prebuilt@3.0.0 postinstall /Users/travis/build/amilajack/popcorn-time-desktop/app/node_modules/wcjs-prebuilt
> node install.js

Fetching WebChimera prebuilt for Electron: 
WebChimera version: v0.2.6 
Electron version: v1.2.6 
Platform: osx 
Arch: x64 
Target dir: ./bin

Looking for WebChimera download at https://api.github.com/repos/RSATom/WebChimera.js/releases/tags/v0.2.6

No WebChimera release found matching your environment
npm WARN install:wcjs-prebuilt@3.0.0 wcjs-prebuilt@3.0.0 postinstall: `node install.js`
npm WARN install:wcjs-prebuilt@3.0.0 Exit status 1
PopcornTime@0.0.4 /Users/travis/build/amilajack/popcorn-time-desktop/app
└── wcjs-renderer@1.0.2 

A possible solution could be using process.env.TRAVIS_OS_NAME === 'osx' to determine this.

amilajack commented 7 years ago

The output of installing locally on osx is this:


> wcjs-prebuilt@3.0.0 postinstall /Users/amila/Documents/Projects/popcorn-time-desktop/node_modules/wcjs-prebuilt
> node install.js

Fetching WebChimera prebuilt for Electron: 
WebChimera version: v0.2.6 
Electron version: v1.2.6 
Platform: osx 
Arch: x64 
Target dir: ./bin

Looking for WebChimera download at https://api.github.com/repos/RSATom/WebChimera.js/releases/tags/v0.2.6

WebChimera.js_electron_0.33.9_ia32_win.zip  doesn't include VLC 
WebChimera.js_electron_0.37.6_ia32_win.zip  doesn't include VLC 
WebChimera.js_electron_0.37.6_x64_osx.zip  doesn't include VLC 
WebChimera.js_electron_0.37.8_ia32_win.zip  doesn't include VLC 
WebChimera.js_electron_0.37.8_x64_osx.zip  doesn't include VLC 
WebChimera.js_electron_1.2.6_ia32_win.zip  doesn't include VLC 
WebChimera.js_electron_1.2.6_x64_osx.zip  doesn't include VLC 
WebChimera.js_electron_1.2.6_x64_win.zip  doesn't include VLC 
WebChimera.js_nw_0.15.4_ia32_win.zip  doesn't include VLC 
WebChimera.js_nw_0.15.4_x64_osx.zip  doesn't include VLC 
WebChimera.js_nw_0.15.4_x64_win.zip  doesn't include VLC 
WebChimera.js_v0.2.6_electron_v0.33.9_VLC_v2.2.4_ia32_win.zip  not matching environment 
WebChimera.js_v0.2.6_electron_v0.37.6_VLC_v2.2.4_ia32_win.zip  not matching environment 
WebChimera.js_v0.2.6_electron_v0.37.6_VLC_v2.2.4_x64_osx.tar.gz  not matching environment 
WebChimera.js_v0.2.6_electron_v0.37.8_VLC_v2.2.4_ia32_win.zip  not matching environment 
WebChimera.js_v0.2.6_electron_v0.37.8_VLC_v2.2.4_x64_osx.tar.gz  not matching environment 
WebChimera.js_v0.2.6_electron_v1.2.6_VLC_v2.2.4_ia32_win.zip  not matching environment 
WebChimera.js_v0.2.6_electron_v1.2.6_VLC_v2.2.4_x64_osx.tar.gz  matching environment 
amilajack commented 7 years ago

Identical but when running in CI it can't download it?