If you delete the package.json, WebStorm works

 

 

 

 

I've used WebStorm for projects in the past without any issues.

However, only this current project exhibits this strange behavior.

I'm not sure why.

There's no meaningful information in the package.json.

But, astonishingly, WebStorm operates when I delete it.

This is a consistent behavior.

I've checked and configured everything, including clearing the cache, the Vue plugin, and the .idea folder, but nothing else seems to work.

Please provide me with a solution.

0
2 comments

his is a known limitation - Vue project recognition stops working if the project name in package.json is equal to vue package name; renaming it to anything else should help:

"name": "myVueApp",

The vue app name violates the package name guidelines as it's not unique and is already owned by a different package, so you will have to change it anyway should you decide to publish your package or use it as a dependency for other apps

0

thank you.

It's working properly.

0

Please sign in to leave a comment.