Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,733
Community Members
 
Community Events
165
Community Groups

Issues with editing files through Atlassian companion app

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)

1 answer

0 votes

Hi @Topoban Kaushik 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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

79,886 views 126 302
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you