ionic-team / vscode-ionic

Visual Studio Code Ionic Extension
Other
11 stars 1 forks source link

IONIC extension started not recognizing my projects #172

Closed peter1599 closed 3 months ago

peter1599 commented 3 months ago

image

Ionic extension started not recognizing my project after one by one.

I need urgent help because these are active projects.

Early thanks.

dtarnawsky commented 3 months ago

Did your hard drive run out of space? If you create a new project does that work? If so, then it may be something in your project that is causing the issue. You could email the project to damian@ionic.io. Alternatively, click Help > Toggle Developer Tools and look for errors when clicking the refresh button of the extension.

peter1599 commented 3 months ago

Sadly I cant email the project. Its related to a work project with a company so i cant share files.

This started happening on react projects. Dev console doesnt shows anything related error.

dtarnawsky commented 3 months ago

Can you try this react project and see if it has a problem? https://github.com/dtarnawsky/cs-react

peter1599 commented 3 months ago

Okay so somehow my project files corrupted

image

I had to copy over these from another project then run npm i

And it works again. To be more specific i think my package json was corrupted

dtarnawsky commented 3 months ago

Great that you were able to work that out. I'll close out the ticket.