firebase-tools update check failed
firebase-tools update check failed I got when I tried to update and also when I was deploying the function I have already install node js and install npm but it was showing this error

Solve this problem( Window )
For Solving this problem we will use command
1.Go to C:\Users\User\.config\configstore and delete configstore folder or its all data
2. Run this command on your command prompt npm install -g@vue/cli
npm install -g@vue/cli
3. And start npm using (npm start) command
npm start
This process is working proper you can try thank You .