Install fails: "Couldn't find linux-tick-processor.py"
TrevorBurnham opened this issue · 5 comments
When I run
npm install profile
I get
Couldn't find linux-tick-processor.py
I'm on Mac OS 10.6. Python 2.6.5 is on the PATH, as is Node.js v0.2.0. locate linux-tick-processor.py
doesn't provide any output. Ideas?
If you look at dependencies you see
That the locate command can find a copy of linux-tick-processor.py (bundled with node.js)
Right, I saw that. My question is, given that I already have node.js installed, how do I make linux-tick-processor.py findable?
You would have to make sure the locate command works and to update the database locate uses so that it contains linux-tick-processor.py
OK, here's what I did (in case anyone finds this in the future, or in case you want to expand the documentation):
- Download linux-tick-processor.py from http://github.com/ry/node/raw/master/deps/v8/tools/linux-tick-processor.py and add it to
/usr/local/lib/python2.6/
(I'm sure there's a better place to put it, but this should work on any Mac with Xcode installed). - Run
sudo /usr/libexec/locate.updatedb
; this will take a couple of minutes - Then run
locate linux-tick-processor.py
; it should return/usr/local/lib/python2.6/linux-tick-processor.py
Now that I've done that, npm install profile
works just fine.
I encountered this issue as well. It stems from not having v8 installed as a dependency for your version of node.
If you encounter this issue, you'll have to download all of the v8 profiler, not just the linux-tick-processor or mac-tick-processor.