HFScode / zspin

zspin is an arcade frontend, working on windows, linux, and OSX.
http://forum.hfsplay.fr/zspin-f113/
Other
16 stars 11 forks source link

Fix building on windows #11

Open vikbez opened 9 years ago

vikbez commented 9 years ago
E:\Taff\zspin-gui>npm run make-install

> zspin@1.0.0 make-install E:\Taff\zspin-gui
> npm install && npm run bower -- install

npm WARN package.json zspin@1.0.0 No repository field.

> zspin@1.0.0 bower E:\Taff\zspin-gui
> node ./node_modules/.bin/bower.cmd install

E:\Taff\zspin-gui\node_modules\.bin\bower.cmd:1
(function (exports, require, module, __filename, __dirname) { @IF EXIST "%~dp0
                                                              ^
SyntaxError: Unexpected token ILLEGAL
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "bower" "--" "in
stall"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! zspin@1.0.0 bower: `node ./node_modules/.bin/bower.cmd install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zspin@1.0.0 bower script 'node ./node_modules/.bin/bower.cmd install'.
npm ERR! This is most likely a problem with the zspin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./node_modules/.bin/bower.cmd install
npm ERR! You can get their info via:
npm ERR!     npm owner ls zspin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\Taff\zspin-gui\npm-debug.log

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "make-install"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! zspin@1.0.0 make-install: `npm install && npm run bower -- install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zspin@1.0.0 make-install script 'npm install && npm run bower -- install'.
npm ERR! This is most likely a problem with the zspin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install && npm run bower -- install
npm ERR! You can get their info via:
npm ERR!     npm owner ls zspin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\Taff\zspin-gui\npm-debug.log

E:\Taff\zspin-gui>
vikbez commented 9 years ago

this works:

cd <git dir>
cinst git
node_modules\.bin\bower.cmd install
node_modules\.bin\gulp.cmd
node_modules\.bin\nwbuild.cmd -p win64 build