Unable to download NWjs
See original GitHub issueI got some troubles when building with following script. It always throw “Unable to download Nwjs”, but i can download it by wget.
// build.js
var NwBuilder = require('nw-builder');
var nw = new NwBuilder({
files: './src/**/**', // use the glob format
platforms: ['linux64'],
version: '0.14.6'
});
//Log stuff you want
nw.on('log', console.log);
// Build returns a promise
nw.build().then(function () {
console.log('all done!');
}).catch(function (error) {
console.error(error);
});
(node:20081) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Using v0.14.6 (sdk)
Create cache folder in /tmp/test/cache/0.14.6-sdk
Downloading: http://dl.nwjs.io/v0.14.6/nwjs-sdk-v0.14.6-linux-x64.tar.gz
undefined
Unable to download NWjs.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Unable to download NWjs · Issue #418 · nwutils/nw-builder
I got some troubles when building with following script. It always throw "Unable to download Nwjs", but i can download it by wget....
Read more >Downloading and installing NW.js
Installing NW.js is pretty simple, but there are many ways to do it. One of the easiest ways is probably to run npm...
Read more >NW.js
Download Stable for Linux (ia32) ... NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a...
Read more >Unable to download wasm_fuzzer from google storage
I am new to nw.js, I was going through the online doc to get the code and sync from Google storage, but I...
Read more >How to Update NW.js to Dramatically improve Game ...
Thanks! Although I'm currently having an issue with downloading version 48.4. When I click on previous releases from https://nwjs.io/downloads/ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This can be fixed on the users side by adding the option
downloadUrl: 'https://dl.nwjs.io/'to your build script. This overwrites the default that uses HTTP.for now, you can change the download link in the lib/index.js file line 35.
change it to ‘https://dl.nwjs.io/’ and you should be able to build.
thanks to schuhschuh for putting me on the right track.