Issues with editing files through Atlassian companion app
Asked by Topoban Kaushik:

I have installed the Atlassian companion app and is successfully installed. However while trying to edit a file, it gives and error. Please suggest to resolve the error.

Error details:

```
Failed to compile D:/Profiles/tkaushik/AppData/Local/atlassian-desktop-companion/app-1.2.5/resources/app.asar/src/browser/socket/authproviders/server-ui/renderer/index.html: Asked for D:/Profiles/tkaushik/AppData/Local/atlassian-desktop-companion/app-1.2.5/resources/app.asar/src/browser/socket/authproviders/server-ui/renderer/index.html but it was not precompiled!Error: Asked for D:/Profiles/tkaushik/AppData/Local/atlassian-desktop-companion/app-1.2.5/resources/app.asar/src/browser/socket/authproviders/server-ui/renderer/index.html but it was not precompiled!    at FileChangedCache.getCacheEntryForPath (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:218:15)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:127:41    at Generator.next (<anonymous>)    at step (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:27:191)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:27:437    at new Promise (<anonymous>)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:27:99    at FileChangedCache.getHashForPath (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\file-change-cache.js:177:7)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:298:51    at Generator.next (<anonymous>)    at step (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:191)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:437    at new Promise (<anonymous>)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:99    at CompilerHost.compileReadOnly (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:340:7)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:270:52    at Generator.next (<anonymous>)    at step (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:191)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:437    at new Promise (<anonymous>)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:47:99    at CompilerHost.compile (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\compiler-host.js:277:7)    at Function.<anonymous> (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\protocol-hook.js:213:41)    at Generator.next (<anonymous>)    at step (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\protocol-hook.js:28:191)    at d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\protocol-hook.js:28:437    at new Promise (<anonymous>)    at Function.<anonymous> (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\protocol-hook.js:28:99)    at Function.<anonymous> (d:\Profiles\tkaushik\AppData\Local\atlassian-desktop-companion\app-1.2.5\resources\app.asar\node_modules\electron-compile\lib\protocol-hook.js:241:19)
```


Answers:
author: G subramanyam
body: Hi [@Topoban Kaushik](/t5/user/viewprofilepage/user-id/4343183) welcome to the Atlassian community forum.

"Failed to compile error" is something that needs some good amount of troubleshooting and investigation.

At the moment, I'm able to pick up these articles and not sure if this really helps you:

*<https://confluence.atlassian.com/doc/administering-the-atlassian-companion-app-958456281.html>*

++*<https://confluence.atlassian.com/doc/edit-files-170494553.html>*++

Either the confluence admin or the internal technical team might be the best resources to fix the issue.

Please stay safe and stay healthy.


Tags: cloud

confluence-cloud