Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Why do I get "module or file RescriptCore can't be found" error on VSCode?

$
0
0

Hey!

Any update on this? Last night I was working on a project, closed it and on the next day opened it and this error started to pop up radomly without any changes to the project or workspace/environment.

Creating a new project doesn’t seems to help cuz the same module error pops up, what I have noticed this error is totally random in my case it suddenly started to happen 99% of time now, but I managed to don’t get it twice in a row in a new project, but suddenly it started to happen aswell, seems to be totally random. Changing from cursor to vsc or disabling most of other extensions also doesn’t helps and same goes for re-installing this extension, it’s kinda annoying to see the error. Additionally re-installing project dependencies etc doesn’t fix it aswell, the project is compilling successfully, but in the editor the error is annoying and misleading and can’t figure out why it did happen suddenly from day to day. I have tried to even re-boot my setup just in case and doesn’t helps either.

I’m using 11.1.4 which is the latest if that would be helpful for the team.

I also noticed sometimes that this happens:

I have worked in rescript previously on windows and mac without this error popping up even a single time in vsc/cursor, but suddenly I got it for the first time and can’t get rid off this and seems to be issue with extension and lsp I guess. Would be lovely to fix it since it seems that it hasn’t been fixed yet.


Viewing all articles
Browse latest Browse all 2592

Trending Articles