TypeError: Invalid host defined options

Its hard to decipher the error and your request, please just provide the error as it appears

```
CMD Output
```

Also, are you doing more then just starting Node RED?
if not - you can start Node RED directly and still use pkg

Not sure why you need this?

"scripts": ["node_modules/@node-red/nodes/core/network/21-httprequest.js"],

See here for packaging up Node RED : Node-RED Standalone Executable - General - Node-RED Forum (nodered.org)