# Wrong export with package.json

**URL:** <https://forum.openreplay.com/t/wrong-export-with-package-json/500>\
**Category:** Issues & Bugs\
**Tags:** tracker\
**Created:** [March 17, 2025, 6:30pm UTC](https://forum.openreplay.com/t/wrong-export-with-package-json/500 "2025-03-17T18:30:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave-the-developer](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@dave-the-developer](https://forum.openreplay.com/u/dave-the-developer)\
**Post date:** [March 17, 2025, 6:30pm UTC](https://forum.openreplay.com/t/wrong-export-with-package-json/500/1 "2025-03-17T18:30:08Z")

</div>

Hello team! I am running issues in next v13. It has wrong export within packaje.json `import Tracker from "@openreplay/tracker/cjs"`; When I used this with context it doesn’t have start function

---

<div class="post-metadata">

**Author:** ![mehdi](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.openreplay.com/mehdi/32/50_2.png) [@mehdi](https://forum.openreplay.com/u/mehdi)\
**Post date:** [March 17, 2025, 6:33pm UTC](https://forum.openreplay.com/t/wrong-export-with-package-json/500/2 "2025-03-17T18:33:23Z")

</div>

The default export should be same there, but it also exports `tracker` singleton instance (instead of class), otherwise you can use regular import (without cjs) and dynamically import component.

With singleton it looks like this:

`import { tracker } from '@openreplay/tracker'; tracker.configure({ options });`

then import it in any other file where you need to use its methods via `import { tracker } from '@openreplay/tracker';` and thats it.
