tl; dr; dtrace-provider uses node -gyp, which requires python version> = 2.5 and NOT 3.5
I had this problem on OSX and I found a message that showed the use of the environment variable V=/Users/your_user/your_project npm i dtrace-provider
This let me know that there was a dependency on node-gyp that could not be built ... As soon as I realized that the problem was with this module, I was able to focus on troubleshooting node-gyp .
This led to some output logarithm indicating that my version of python 3.5 was unsupported , and it required version >= 2.5 .
I went in and downloaded python 2.7.x and checked /usr/bin/python 2.7.x to make sure it was there. The remote node module, which ultimately required this module, then used npm cache clean and then reinstalled the module, and this time it seemed to take the correct version of python to be able to create.
Hope this helps someone =)
source share