shama/nodewebkit

issue with version 0.9.2

Karnith opened this issue · 3 comments

error displayed:

Cannot extract package

Failed to unzip the package file: C:\Warehouse\node

I am running this with nodewebkit and/or npm start. I have tried with nodewebkit -g then nodewebkit in the directory (I am not using a zip file, the options are added to package.json). It was working with 0.8.3 just fine.

my package.json is

{
"name": "warehouse",
"private": true,
"version": "0.0.0",
"description": "Warehouse Project",
"dependencies": {
"sails": "0.9.9",
"grunt": "0.4.1",
"sails-disk": "~0.9.0",
"ejs": "0.8.4",
"optimist": "0.3.4",
"jsonfile": "~1.1.1",
"jsesc": "~0.4.3",
"edge-ps": "0.1.0-pre",
"JSONSelect": "git+https://github.com/lloyd/JSONSelect",
"passport": "~0.2.0",
"passport-google-oauth": "~0.1.5",
"passport-facebook": "~1.0.2",
"passport-github": "~0.1.5",
"emailjs": "~0.3.6",
"forever": "~0.10.11",
"xlsjs": "~0.6.8",
"nodemon": "~1.0.14",
"xlsx": "~0.5.8",
"nodewebkit": "~0.9.2",
"edge": "~0.7.14",
"sails-mongo": "~0.9.7",
"bcryptjs": "~0.7.10",
"deep-diff": "~0.1.4",
"js-select": "~0.6.0"
},
"scripts": {
"start": "nodewebkit",
"debug": "node debug app.js"
},
"node-main": "app.js",
"main": "index.html",
"window": {
"show": "false",
"title": "Warehouse",
"toolbar": false,
"frame": true,
"width": 961,
"height": 662,
"position": "center"
},
"repository": "",
"author": "",
"license": ""
}

Hmm, I'll give the latest a go on windows. I've only tried 0.9.2 on osx.

I reverted to 0.8.4 as there seems to be a change with node-webkit package stating that if modules are for 0.10.x of node then use 0.8.x branch of node-webkit. >=0.9.x seems to be for node >= 0.11.x, so they are maintaining 2 branches.

That is weird as odd versions of node are unstable versions. But any case, I've set the engines field to be node >= 0.11.0 for node-webkit@0.9.2: 3f8e4c4 Thanks!