Endless "Analyzing code" if changes made in package.json

For some reason, WebStorm can't perform code analyzing if in commit I have package.json. First it seems like it's working, and then WebStorm just stop responding. Force Quit is only option.

All other files are relatively quick and I do want to keep this function on.

 

What can be an issue? 

  • WebStorm 2021.3.2
  • WE-213.6777.57
  • MacOS 12.3.1
4

Please provide steps to repeat plus the log folder zipped (Help > Collect logs and Diagnostic Data)

0

Steps to reproduce: just click commit via "Commit" tab to make commit with package,json.

Logs:

https://fex.net/s/xobmrxf

0

Can't access the site unfortunately, the connection fails with timeout:( Could you try uploading to JetBrains Uploads Service: https://uploads.jetbrains.com?

What kind of changes to package.json have you made?

0

Here: Upload id: 2022_05_02_F7FhDooyPqCRZidJ (file: webstorm-logs-20220502-1251445375791755155533578.zip)

It happens with any update. Most recent - bumping versions (update to Angular 13)

 

0

Thanks!

Looks similar to https://youtrack.jetbrains.com/issue/WEB-53778;
As a workaround, please try disabling the JavaScript and TypeScript | Imports and dependencies | Update package.json dependencies to latest versions inspection in Preferences | Editor | Inspections

1

It helped me out to delete node_modules and package-lock.json and then run npm install

0

Hello! 

Package.json doesn't provide me latest available libs. Analyzing…

Disabling didn't help me. v 2023.2.3

Upload id: 2023_10_18_bzZmWgqutodo2AS22bteKY (file: webstorm-logs-20231018-18125312872258542667315013.zip) - with disabled “imports and dependencies”

with enabled one: Upload id: 2023_10_18_GQyrvzVPGXzhVWqHYz9fQe (file: webstorm-logs-20231018-1817181162382147373184950.zip)

0

请先登录再写评论。