Umbraco v14.1.1 Publish Failed

Attempting to publish a v14.1.1 fails.

Here’s the error I’m getting:

Error Could not copy
“C:\Users\REDACTED\.nuget\packages\umbraco.cms.staticassets\14.1.1\staticwebassets\umbraco\backoffice\packages\log-viewer\workspace\views\overview\components\log-viewer-message-templates-overview.element.d.ts”
to
“C:\Users\REDACTED\repos\app.cc.com.v2.umbraco\app.cc.com.v2.umbraco\obj\Release\net8.0\PubTmp\Out\wwwroot\umbraco\backoffice\packages\log-viewer\workspace\views\overview\components\log-viewer-message-templates-overview.element.d.ts”.
Exceeded retry count of 10. Failed. app.cc.com.v2.umbraco 0

@HuwReddick in a previous thread (that I had to delete b/c I prematurely marked it solved) kindly recommended adding this registry key: https://discord-chats.umbraco.com/t/14155379/installing-v14-preview-02

Unfortunately that did not resolve the issue.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114479-umbraco-v1411-publish-failed

For anyone stumbling upon this thread, the issue for me was the fact that the path was too long for windows 11. Fixed it via registry:

HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1