# Aurelia CLI bundling doesn't allow for debugging Node Module packages written in TypeScript

**URL:** <https://discourse.aurelia.io/t/aurelia-cli-bundling-doesnt-allow-for-debugging-node-module-packages-written-in-typescript/784>\
**Category:** Help Requests\
**Created:** [February 16, 2018, 12:13am UTC](https://discourse.aurelia.io/t/aurelia-cli-bundling-doesnt-allow-for-debugging-node-module-packages-written-in-typescript/784 "2018-02-16T00:13:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlawandi](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tlawandi](https://discourse.aurelia.io/u/tlawandi)\
**Post date:** [February 16, 2018, 12:13am UTC](https://discourse.aurelia.io/t/aurelia-cli-bundling-doesnt-allow-for-debugging-node-module-packages-written-in-typescript/784/1 "2018-02-16T00:13:56Z")

</div>

We currently have a shared typescript project that we want to add as a dependency to 2 Aurelia projects. I want to be able to debug the typescript sources, using the source maps generated from the shared project. I have added this dependency as a node module package for the Aurelia projects using yarn link. When trying to debug the shared project within chrome the typescript file is presented with no content. We don’t have any problem doing this from Chrome using a vanilla RequireJS setup. It’s only when the files are bundled via the Aurelia CLI that the source maps break. I can’t see where I have gone wrong. Any help will be greatly appreciated.

I have create a git repository to demonstrate this:

> **[tlawandi/SourceMapProblem](https://github.com/tlawandi/SourceMapProblem)**
>
> Contribute to tlawandi/SourceMapProblem development by creating an account on GitHub.

Please note this is a pretty stock standard setup for Aurelia
