Vue Alain startup command yarn serve reports an error

The following error is reported after executing yarn serve  :

Solution:

Modify scripts and Vue cli service in package.json to full path reference, as shown in the following figure:


 

Build and lint are the same  

Read More: