Fixed:
var binding = require('./src/build/' + builds[i] + '/DTraceProviderBindings');
to
var binding = require('./build/' + builds[i] + '/DTraceProviderBindings');
As it was giving console compile warning in react typescript project.
Warning was:
./node_modules/dtrace-provider/dtrace-provider.js
Module not found: Can't resolve './src/build' in '/home/mukulkumar/Desktop/Mukul/web-frontend/node_modules/dtrace-provider
Fixed: var binding = require('./src/build/' + builds[i] + '/DTraceProviderBindings'); to var binding = require('./build/' + builds[i] + '/DTraceProviderBindings');
As it was giving console compile warning in react typescript project. Warning was:
./node_modules/dtrace-provider/dtrace-provider.js Module not found: Can't resolve './src/build' in '/home/mukulkumar/Desktop/Mukul/web-frontend/node_modules/dtrace-provider