gfx.js icon indicating copy to clipboard operation
gfx.js copied to clipboard

module.js:333 throw err;

Open tohnperfect opened this issue 10 years ago • 3 comments
trafficstars

I got the following error when i tried $luajit -lgfx.start.

module.js:333 throw err; ^ Error: Cannot find module 'pty.js' at Function.Module._resolveFilename (module.js:331:15) at Function.Module._load (module.js:273:25) at Module.require (module.js:357:17) at require (module.js:373:17) at Object. (/home/localadmin/.gfx.js/lib/tty.js:17:11) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:349:32) at Function.Module._load (module.js:305:12) at Module.require (module.js:357:17)

tohnperfect avatar Jan 16 '15 19:01 tohnperfect

gfx is being depreceated because of such errors with pty.js and tty.js. those modules are no longer being maintained upstream and seem to be broken.

we are starting to use iTorch, or you can install https://github.com/szym/display which is a stripped down version of gfx.js which installs easily out of the box.

soumith avatar Jan 16 '15 21:01 soumith

OK. I am aiming to use iTorch as well.

Thank you, Soumith.

tohnperfect avatar Jan 16 '15 22:01 tohnperfect

If gfx.js is no longer supported and it's better to use iTorch or display now, how about saying that in the readme?

lacker avatar Jan 25 '15 02:01 lacker