xndcn / atom-debugger

GDB debbuger for Atom
MIT License
44 stars 16 forks source link

Install error on windows #1

Open davidlaym opened 9 years ago

davidlaym commented 9 years ago

Hi, I'm getting errors installing your package on Windows: here is the output:

Installing “atom-debugger@0.1.1” failed.Hide output…

> atom-debugger@0.1.1 preinstall C:\Users\David\AppData\Local\Temp\apm-install-dir-115321-14228-y97skn\node_modules\atom-debugger
> #jison lib/backend/gdb/gdb-mi-parser.json -o lib/backend/gdb/gdb-mi-parser.js

'#jison' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\David\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\David\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\David\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\David\\.atom\\.apmrc" "install" "C:\\Users\\David\\AppData\\Local\\Temp\\d-115321-14228-b76y3l\\package.tgz" "--target=0.22.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! atom-debugger@0.1.1 preinstall: `#jison lib/backend/gdb/gdb-mi-parser.json -o lib/backend/gdb/gdb-mi-parser.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the atom-debugger@0.1.1 preinstall script '#jison lib/backend/gdb/gdb-mi-parser.json -o lib/backend/gdb/gdb-mi-parser.js'.
npm ERR! This is most likely a problem with the atom-debugger package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     #jison lib/backend/gdb/gdb-mi-parser.json -o lib/backend/gdb/gdb-mi-parser.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls atom-debugger
npm ERR! There is likely additional logging output above.

I know this is really early stage on the development of this addon, but I'm really interested in it.

I'm developing a big client side javascript site and Atom is my weapon of choice. Chrome developer tools are not being enought for me right now, too much context switching is required to run the site, debug, and edit code, specially considering that my toolchain on the build side is very efficient.

xndcn commented 9 years ago

@davidlaym Thank you! I have fix this problem, please update and check it again. But I'm afraid it can't satisfy your need, it can only support gdb to debug native program, and I don't try to test on Windows, sorry.

oli-obk commented 9 years ago

installation works on windows now