import { Callout } from 'nextra/components';

# Troubleshooting bundling with ESbuild

If you have followed the steps in the Examples section, your development environment should be configured as follows.

#### Environment Setup

Create your directory and set up your app environment:

```bash
npm create vite@latest
```

Choose React, then Typescript. Navigate to your application directory and run:

```bash
cd < YOUR_APP >
npm i
npm run dev
```

##### Installation
Install the required package:

```bash
npm install @nymproject/< PACKAGE_NAME >
```

<Callout type="info">
    The CosmosKit example requires polyfills.
</Callout>

With the code from the step-by-step examples section in place, the application should run without bundling errors.
