<p>Im editing this with something that fix that problem for me. I deleted the cache of hie-bios with:</p>
<pre><code>cd $HOME/.cache/
sudo rm -R  hie-bios
</code></pre>
<p>Check more solutions here:</p>
<p><a href="https://haskell-language-server.readthedocs.io/en/latest/troubleshooting.html" rel="nofollow noreferrer">https://haskell-language-server.readthedocs.io/en/latest/troubleshooting.html</a></p>

CC BY-SA 4.0
2022-11-11T02:21:16.747Z
2022-11-11T02:21:16.747Z
Manu Padilla
<p>I need some help with this problem.</p>
<p>With some version of Plutus Apps, HLS and VCode works perfect.
But with some specific versions, like this one:</p>
<pre><code>commit cbc2df9e5d47d60505c28f321d75187d9ea85b07 (HEAD)
</code></pre>
<p>When HLS server starts, it throw and error with git from the Plutus Apps:</p>
<pre><code>2022-11-09 17:18:26.921893854 [ThreadId 13] INFO hls:   Started LSP server in 0.00s
Couldn't load cradle (CradleNone)
2022-11-09 17:18:26.926139924 [ThreadId 13] INFO hls:   Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8157433327350195780 &quot;file:///home/manuelpadilla/source/copyRepos/RATS-DAO/rats-dao-devs-staking-plutus-v2&quot;], clientSettings = hashed Nothing}
2022-11-09 17:18:26.948609165 [ThreadId 69] INFO hls:   Consulting the cradle for &quot;src/Validators/StakePlusV2/OffChain/EndPoints.hs&quot;
2022-11-09 17:18:27.688350926 [ThreadId 111] INFO hie-bios: error: cannot lock ref 'refs/remotes/origin/599': 'refs/remotes/origin/599/marconi-cli-list-index' exists; cannot create 'refs/remotes/origin/599'
2022-11-09 17:18:27.689133924 [ThreadId 111] INFO hie-bios: From https://github.com/input-output-hk/plutus-apps
2022-11-09 17:18:27.68928638 [ThreadId 111] INFO hie-bios:   ! [new branch]          599        -&gt; origin/599  (unable to update local ref)
</code></pre>
<p>Every else works fine, and I can build my project without problems.
But HLS is very helpful for coding and I appreciated a lot if I can use it.</p>
<p>This is a version of Plutus Apps that I can use reference scripts and Inline Datums.</p>
<p>I don't have this any of this issues with some previous versions neither.</p>
<p>Thank you so much!</p>

<plutus><git>
Problems with HLS with some versions of Plutus Apps: INFO hie-bios: error: cannot lock ref 'refs/remotes/origin/599'
# Problems with HLS with some versions of Plutus Apps: INFO hie-bios: error: cannot lock ref 'refs/remotes/origin/599'

(Asked by: username_0 on 2022-11-09)

I need some help with this problem.
With some version of Plutus Apps, HLS and VCode works perfect.
But with some specific versions, like this one:
commit cbc2df9e5d47d60505c28f321d75187d9ea85b07 (HEAD)

When HLS server starts, it throw and error with git from the Plutus Apps:
2022-11-09 17:18:26.921893854 [ThreadId 13] INFO hls:   Started LSP server in 0.00s
Couldn't load cradle (CradleNone)
2022-11-09 17:18:26.926139924 [ThreadId 13] INFO hls:   Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8157433327350195780 "file:///home/manuelpadilla/source/copyRepos/RATS-DAO/rats-dao-devs-staking-plutus-v2"], clientSettings = hashed Nothing}
2022-11-09 17:18:26.948609165 [ThreadId 69] INFO hls:   Consulting the cradle for "src/Validators/StakePlusV2/OffChain/EndPoints.hs"
2022-11-09 17:18:27.688350926 [ThreadId 111] INFO hie-bios: error: cannot lock ref 'refs/remotes/origin/599': 'refs/remotes/origin/599/marconi-cli-list-index' exists; cannot create 'refs/remotes/origin/599'
2022-11-09 17:18:27.689133924 [ThreadId 111] INFO hie-bios: From https://github.com/input-output-hk/plutus-apps
2022-11-09 17:18:27.68928638 [ThreadId 111] INFO hie-bios:   ! [new branch]          599        -> origin/599  (unable to update local ref)

Every else works fine, and I can build my project without problems.
But HLS is very helpful for coding and I appreciated a lot if I can use it.
This is a version of Plutus Apps that I can use reference scripts and Inline Datums.
I don't have this any of this issues with some previous versions neither.
Thank you so much!

**Tags:** plutus, git

---

## 1 answers

### Answer by username_0 on 2022-11-11. Score: 0

Im editing this with something that fix that problem for me. I deleted the cache of hie-bios with:
cd $HOME/.cache/
sudo rm -R  hie-bios

Check more solutions here:
https://haskell-language-server.readthedocs.io/en/latest/troubleshooting.html


---

