# Visual code error running Julia: requested but not present in the JLS

**URL:** <https://discourse.julialang.org/t/visual-code-error-running-julia-requested-but-not-present-in-the-jls/111762>\
**Category:** VS Code\
**Tags:** question\
**Created:** [March 18, 2024, 11:02am UTC](https://discourse.julialang.org/t/visual-code-error-running-julia-requested-but-not-present-in-the-jls/111762 "2024-03-18T11:02:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [March 18, 2024, 11:02am UTC](https://discourse.julialang.org/t/visual-code-error-running-julia-requested-but-not-present-in-the-jls/111762/1 "2024-03-18T11:02:59Z")

</div>

I am running a Julia script on the REPL provided by VS code. When launching a line of code, I get a pop up window with the alert “ requested but not present in the JLS” as below  
 ![Screenshot from 2024-03-15 13-02-45](https://global.discourse-cdn.com/julialang/original/3X/a/5/a52c828547dbeb30471252a1a79d24b8c303d472.png)  
What is this alert? How can I get rid of it?  
Thank you

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 18, 2024, 1:37pm UTC](https://discourse.julialang.org/t/visual-code-error-running-julia-requested-but-not-present-in-the-jls/111762/2 "2024-03-18T13:37:35Z")

</div>

Try restarting the language server with the `language-julia.restartLanguageServer` command. It’s not clear how this happened, but the server-side representation is missing the current document for some reason.
