npm use pit record

In today's front-end development, many people use build and package management tools, bower, npm, etc. are often used. These two days of tossing with vue+cordova found that the vue version has been updated, so I will try to update it (npm update vue-cli ), the update is finished, and an error occurs when trying to create a project again, a very strange error:

 

vue Error when evaluating filter condition: isNotTest

I can create a project based on the template, but the project just can’t run. I searched for a lot of methods on the Internet, but it doesn’t work. Finally, I wondered if there was a problem with the upgraded vue. I went to the nodejs installation directory, checked the vue version, and remembered the npm package in the user directory. , In an instant, I found that the version was wrong, just overwrite the latest version, just fine!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326276435&siteId=291194637