Closed drnushooz closed 9 months ago
Hi @drnushooz, thanks for reporting! I'm going to check this out as soon as possible. Can you please provide me with your Webstorm version so I can reliably reproduce the issue?
It is occurring on WebStorm 2023.2.5
@drnushooz finally found some time to take a look at your issue. However, I cannot reproduce your issue in my regular WebStorm 2023.3. I have a mocked project with your exact package.json
, package-lock.json
, node_modules
, and nothing else, and when I press File > Close Project
I get no error whatsoever.
From what I can tell from the error log, it's the Semver dependency I use failing to parse [1.x]
for some reason; however, there is no such version in your package.json
.
Can you:
format
scriptpackage.json
, package-lock.json
, and node_modules
, nothing else, telling me if you can reliably reproduce your issue by clicking File > Close Project
Thank you!
@drnushooz I managed to reproduce your exact issue by setting a dependency's version to 1.x
, which indeed crashed. I fixed that crash in my latest commit.
I will release version 2.1.0 as soon as I get feedback from both open issues. You can try out the new version here before I release it. A confirmation from you that the fix indeed works would be appreciated. You can find the installation instructions at the bottom of the README.
[!NOTE] I have no clue how the issue is triggered only at project closing nor why it's triggered by your exact
package.json
, however, the cause is fixed.
Thank you for fixing this. I checked the version you had provided and it fixed the issue. Glad you were able reproduce it.
What is the issue?
The application crashes when closing WebStorm. The application functions in upgrading the versions but when the project is closed, below exception is produced
What are the steps to reproduce this issue?
Simply close the project. Below is the package.json
What were you expecting to happen?
Close the application correctly.
Paste any relevant logs, error output, etc.
No response
What OS are you experiencing the problem on?
macOS
Additional platform information
No response
Duplicates