frida / frida-node

Frida Node.js bindings
282 stars 66 forks source link

node-mac target fails trying to execute /npm if node is not installed #5

Closed radare closed 9 years ago

radare commented 9 years ago

... && mv ../build/frida_stripped-mac-x86_64/lib/node_modules/frida.tmp ../build/frida_stripped-mac-x86_64/lib/node_modules/frida /bin/sh: /npm: No such file or directory make[1]: *\ [build/frida_stripped-mac-x86_64/lib/node_modules/frida] Error 127

radare commented 9 years ago

This can be solved by adding a dependency make target that runs npm --version

oleavr commented 9 years ago

Thanks! Fixed: https://github.com/frida/frida/commit/a1a965a0a33613330506e77ed96a7ee9fca46c94