node-chimera icon indicating copy to clipboard operation
node-chimera copied to clipboard

`npm install chimera` on ubuntu installs broken chimera

Open Trindaz opened this issue 12 years ago • 8 comments

Fresh instance of Ubuntu 12 on AWS, upgrade to node.js 0.8.17, then create a new node.js project and do the old 'npm install chimera'.

Then run 'node index2.js' (using sample code from READM.md) I get this:

Error loading chimera in lib

/home/ubuntu/talous/node_modules/chimera/lib/main.js:29 setInterval(webkit.processEvents, 50); ^ TypeError: Cannot read property 'processEvents' of undefined at Object. (/home/ubuntu/talous/node_modules/chimera/lib/main.js:29:19) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/home/ubuntu/talous/index2.js:1:77) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10)

Trindaz avatar Jan 13 '13 04:01 Trindaz

(and incase you're wondering about the upgrade to node 0.8.17, the reason is that Ubuntu 12's default nodejs 0.6 doesn't have fs.existsSync which is used in /chimera/lib/main.js)

Trindaz avatar Jan 13 '13 04:01 Trindaz

is this a 64bit ubuntu?

deanmao avatar Jan 13 '13 22:01 deanmao

This is happening on ubuntu 64bit, seems that the scripts/download_native_binary.js is requesting a file from "http://s3.chimerajs.com/chimera_linux_x64__0.3.2.gz" and the server is returning access denied.

underbyte avatar Feb 01 '13 04:02 underbyte

I can reproduce this on fresh ubuntu aws instance.

christhorwarth avatar Feb 05 '13 17:02 christhorwarth

I'm also seeing this issue in 32-bit Ubuntu 12.04:

Using the chimera in lib
Error loading chimera in lib

(snip).../node_modules/chimera/lib/main.js:29
setInterval(webkit.processEvents, 50);
                  ^
TypeError: Cannot read property 'processEvents' of undefined
    at Object.<anonymous> (/home/robert/muxamp/node_modules/chimera/lib/main.js:29:19)
...(snip)

fruchtose avatar Mar 03 '13 09:03 fruchtose

same error to me...

Ver ubuntu 12.04 (precise) de 64-bit Linux 3.2.0-38-generic

eugenioclrc avatar Mar 21 '13 04:03 eugenioclrc

same error on OSX 10.8 with node 0.8.22 and 0.10.2

jedahan avatar Mar 30 '13 21:03 jedahan

I am getting the same thing on linux with node v0.10.7

ak5 avatar May 21 '13 06:05 ak5