#0 19.38 WARNING in /node_modules/dtrace-provider/dtrace-provider.js #0 19.38 Module not found: Error: Can't resolve './src/build' in '/node_modules/dtrace-provider'
Catakang opened this issue · comments
I have tried so many things to get this script to work. But it always fails. There is something wrong with the dtrace-provider package. I have linux/arm64, I installed all the dependencies that were required, I tried many guides to reinstall and rebuild the package, but nothing works. Do you have any idea why this is happening?
Sorry, I'm completely late for this issue. I'm finally debugging in it, and seems like marking it as external dependency in webpack configuration reasonable.
#0 11.04 WARNING in /node_modules/bunyan/lib/bunyan.js
#0 11.04 Module not found: Error: Can't resolve 'dtrace-provider' in '/node_modules/bunyan/lib'
#0 11.04 @ /node_modules/bunyan/lib/bunyan.js
#0 11.04 @ /node_modules/restify/lib/bunyan_helper.js
#0 11.04 @ /node_modules/restify/lib/index.js
#0 11.04 @ /src/shadowbox/server/main.ts
#0 11.04
#0 11.04 WARNING in /node_modules/restify/lib/dtrace.js
#0 11.04 Module not found: Error: Can't resolve 'dtrace-provider' in '/node_modules/restify/lib'
#0 11.04 @ /node_modules/restify/lib/dtrace.js
#0 11.04 @ /node_modules/restify/lib/server.js
#0 11.04 @ /node_modules/restify/lib/index.js
#0 11.04 @ /src/shadowbox/server/main.ts