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 "Unable to download nodewebkit" on "make build-osx" #1

Open
cornellb opened this issue Sep 25, 2015 · 1 comment
Open

Error "Unable to download nodewebkit" on "make build-osx" #1

cornellb opened this issue Sep 25, 2015 · 1 comment

Comments

@cornellb
Copy link

cd json-server-gui
make build-osx
npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No license field.
npm WARN deprecated [email protected]: WARNING: This module has been renamed to nw-builder. Install using nw-builder instead, node-webkit-builder will no longer be updated.
npm WARN deprecated [email protected]: module has been merged into crc32-stream
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
[email protected] node_modules/node-webkit-builder
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
cp ./node_modules/node-webkit-builder/bin/nwbuild ./node_modules/node-webkit-builder/bin/nwbuild.win
tr -d '\015' < ./node_modules/node-webkit-builder/bin/nwbuild.win > node_modules/node-webkit-builder/bin/nwbuild.linux
chmod +x node_modules/node-webkit-builder/bin/nwbuild.linux
cd src && npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm WARN deprecated [email protected]: Project has been renamed to underscore-db
[email protected] node_modules/json-server
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
no db.json
./node_modules/node-webkit-builder/bin/nwbuild.linux -p osx -o build src
Latest Version: v0.13.0
Using v0.13.0
Create cache folder in blabla/apps/json-server/json-server-gui/node_modules/node-webkit-builder/cache/0.13.0
Downloading: http://dl.node-webkit.org/v0.13.0/node-webkit-v0.13.0-osx-ia32.zip
undefined
Unable to download nodewebkit.
no db.json
ls -l
total 208
-rw-r--r-- 1 etc 2977 Sep 25 11:13 Makefile
-rw-r--r-- 1 etc 2632 Sep 25 11:13 README.md
drwxr-xr-x 4 etc 136 Sep 25 11:14 node_modules
-rw-r--r-- 1 etc 588 Sep 25 11:13 package.json
-rw-r--r-- 1 etc 92171 Sep 25 11:13 screenshot.png
drwxr-xr-x 9 etc 306 Sep 25 11:14 src

@miguelmartin75
Copy link

miguelmartin75 commented Feb 27, 2017

This is a problem with the dependency node-webkit-builder, even when updated it points to the wrong address. To temporarily fix it I simply changed the download urls which point to http://dl.node-webkit.org to http://dl.nwjs.io/:

  1. ./node_modules/node-webkit-builder/lib/index.js
  2. ./node_modules/node-webkit-builder/test/versions.js.

I found the solution on this issue djcas9/komanda#232

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

2 participants