# SonarCloud configuration paths and modules

**URL:** <https://community.sonarsource.com/t/sonarcloud-configuration-paths-and-modules/15993>\
**Category:** SonarQube Cloud\
**Tags:** sonarqube-cloud\
**Created:** [October 29, 2019, 9:06am UTC](https://community.sonarsource.com/t/sonarcloud-configuration-paths-and-modules/15993 "2019-10-29T09:06:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny-A](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/danny-a/32/7268_2.png) [@Danny-A](https://community.sonarsource.com/u/Danny-A)\
**Post date:** [October 29, 2019, 9:06am UTC](https://community.sonarsource.com/t/sonarcloud-configuration-paths-and-modules/15993/1 "2019-10-29T09:06:02Z")

</div>

Hi,

I’m migrating from SonarQube to SonarCloud and I am experiencing issues with configuration of paths.

- GitHub
- Azure DevOps
- C#, JS, TS

C# is running just fine, but for scanning TS and JS files we are experiencing issues.  
Our TSconfig file can not be found, no matter what path I fill out. How do I know what the root is that SonarCloud uses? It does not seem to make a difference whether I set an absolute or relative path. `D:\a\1\s\Sources\Solution\Feature\code\ **\tsconfig.json` This is what SonarCloud outputs as path, where I specified `** /tsconfig.json` it just pasted it to the relative path.

Also, it keeps telling me `can't find module typescript`.

What do I need to do to find out what paths I need to use?  
How do I fix the `can't find module typescript`?

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [October 29, 2019, 12:44pm UTC](https://community.sonarsource.com/t/sonarcloud-configuration-paths-and-modules/15993/3 "2019-10-29T12:44:51Z")

</div>

Hi @Danny-A and welecome to the community !

Are you using a self-hosted build agent, or a Microsoft-hosted one ?

I suggest to follow solution given on this topic : [Error: Cannot find module 'typescript'](https://community.sonarsource.com/t/error-cannot-find-module-typescript/4396/8)

And let us know if that fixes your issue.

Thank you.
