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

Couldn't find linux-tick-processor.py

Open lkrids opened this issue 13 years ago • 8 comments

Distributor ID: Ubuntu Release: 10.04 Codename: lucid node v0.6.15 [email protected]

npm install profile fails and prints: ... Couldn't find linux-tick-processor.py ...

lkrids avatar Apr 14 '12 22:04 lkrids

Did you read «Dependencies» section?

That the locate command can find a copy of linux-tick-processor (or mac-tick-processor on OS X). This is bundled with node.js.

ascii766164696D avatar May 06 '12 10:05 ascii766164696D

The problem is that linux-tick-processor.py Python script seems to have been replaced by a linux-tick-processor shell script.

There's no more https://github.com/ry/node/raw/master/deps/v8/tools/linux-tick-processor.py (404), but there is: https://raw.github.com/joyent/node/master/deps/v8/tools/linux-tick-processor

So node-profile should be updated accordingly.

aadamowski avatar May 25 '12 10:05 aadamowski

atlatl, just in case, have a read of this blog post: http://jleland.blogspot.com/2012/01/profiling-nodejs-on-linux.html

aadamowski avatar May 25 '12 11:05 aadamowski

@sedictor - @aadamowski has it right. node-profile is still looking for .py. https://github.com/mape/node-profile/blob/master/scripts/preinstall.sh#L11

lkrids avatar May 27 '12 16:05 lkrids

oh oh this is 9 months old

rxaviers avatar Jan 19 '13 13:01 rxaviers

@rxaviers I happened to get here too...

zxytim avatar Jan 19 '13 21:01 zxytim

Hi, It hasn't changed yet, so how could one install it? Does the author want to change it or we have some way to avoid it,... Thanks,

changyh avatar Apr 26 '13 21:04 changyh

I have this issue to. I have a workaround:

# inside v8/tools directory:
ln -s linux-tick-processor linux-tick-processor.py

Then update your locatedb (e.g. run updatedb.mlocate or whatever). Then npm install profile will work and seems to run okay. We need a pull request to change the preinstall script to stop blocking npm install from working.

dhbaird avatar Aug 13 '13 01:08 dhbaird