I found typescript version for node unfortunately it\'s not able find "child_process" module from the node packages.
Exactly the error mess
Maybe is the path:
"typeRoots": [
"../node_modules/@types"
]
Usually you have your tsconfig in a src
.
Update:
My original answer makes no sense, because you have this "baseUrl": "src"
.
As instead, I believe it could be a Webpack issue.
Try adding this to your webpack.config file:
target: 'node'
Update 2:
Workaround: Add the following to your config file:
node: {
child_process: 'empty'
}