---
title: "Comment by Michał Krasuski on \"Creating the .NET React template with TypeScript\" | Hashnode"
description: "Hey, I had issue with ts-node missing and then following error: Invalid options object. Dev Server has been initialized using an options object that does not ma"
url: "https://hashnode.com/posts/net-react-typescript-template/61b0de41ccd13f578941e902/comment/63b5a6f8739fb787e25a2505"
---

[Discussion](https://hashnode.com/posts/net-react-typescript-template/61b0de41ccd13f578941e902)

Comment [Creating the .NET React template with TypeScript](https://hashnode.com/posts/net-react-typescript-template/61b0de41ccd13f578941e902)

[Michał Krasuski](https://hashnode.com/@MichaelKey)

[Jan 4, 2023](https://hashnode.com/posts/net-react-typescript-template/61b0de41ccd13f578941e902/comment/63b5a6f8739fb787e25a2505)

Hey,

I had issue with ts-node missing and then following error:

**Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.allowedHosts\[0\] should be a non-empty string**

it was simply adding following code to package.json to make the issue fixed:

```
"options": {
    "allowedHosts": [ "localhost", ".localhost" ],
    "proxy": "your localhost:port address"
  }
```

I could not add link to proxy as a new user
