webkit-devtools-agent mach-o, but wrong architecture

0 views
Skip to first unread message

Yvon Thoraval

unread,
Mar 7, 2014, 1:42:18 AM3/7/14
to node-...@googlegroups.com
I wanted to debug an app too slow, then i added "webkit-devtools-agent" to my setup and added :
        var agent = require('webkit-devtools-agent');
        var http = require('http');
        http.createServer(function (req, res) {
          res.writeHead(200, {'Content-Type': 'text/plain'});
          res.end('Hello World\n');
        }).listen(8080, '127.0.0.1');
        console.log('[%s] Server running at http://127.0.0.1:8080/', process.pid);
to my js.

however i got, at terminal :
$ nw app.nw 
[5169:0307/072852:INFO:CONSOLE(352)] "Uncaught Error: dlopen(/private/var/folders/8h/xmnb1mzx1cn0rr8gx3c1gmq40000gn/T/.org.chromium.Chromium.UMknLM/node_modules/webkit-devtools-agent/build/Release/profiler.node, 1): no suitable image found.  Did find:
/private/var/folders/8h/xmnb1mzx1cn0rr8gx3c1gmq40000gn/T/.org.chromium.Chromium.UMknLM/node_modules/webkit-devtools-agent/build/Release/profiler.node: mach-o, but wrong architecture", source: module.js (352)

and at chrome browser :
no way, on Mac OS X ML, to copy and paste the browser contenet
Reply all
Reply to author
Forward
0 new messages