-
Notifications
You must be signed in to change notification settings - Fork 659
🐛 No such file or directory (os error 2) #4774
Comments
I tested on macOS and got the same error, I just don't understand how to make rome work, maybe you need to install some libraries past it? |
Did you try the command on another file? |
Could you please share a minimal reproduction repository? This will help us to triage the issue |
If I install Rome using yarn or pnpm in an empty project, I will create main.js in which I write console.log, I will get the same error, while formatting works fine and no errors occur, but Rome writes that some errors occurred during the check |
I also want to clarify that the operating system does not matter, this error occurs on Windows, Linux, macOS, you can reproduce it as I wrote above in one file with one line |
Thank you @Mauladen for additional information. Is it possible for you to create a minimal repository, so we can replicate the issue? If we can't replicate the issue, we can't help. This seems to be something related to your system, unfortunately our logs don't provide much information, and that's on us. |
|
I added information from 3 different computers that are physically independent from each other with different operating systems Windows, macOS, Linux |
The "No such file or directory (os error 2)" error occurs because The error message could definitely be better... |
You really turned out to be right, I added a new file to the Header.tsx repository, the rome check command does not output any errors except formatting, but Rome Playground shows one error |
At the moment, I have decided to close this appeal because I may have confused some people with my information, I will recreate it with the correct description of the problem |
Closed |
New issue opened #4784 |
Environment information
What happened?
yarn install rome
yarn rome ci check .
After these commands I get the error No such file or directory (os error 2)
Expected result
I want this command to work as stated in the documentation, give errors
Code of Conduct
The text was updated successfully, but these errors were encountered: