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:
- Create Vue cli project and report error command failed: Yarn
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Vue executes NPM run Dev and reports an error: missing script: dev
- The remote port occupation of Linux startup jar package script reports an error
- Solution of “serve with message ‘spawn Vue cli service enoent”
- Vue + TS reports an error after configuring the path alias
- Error command failed when creating vue-cli4 project: Yarn
- Vue agent reports an Error 404 nginx configuration method
- PHP artisan cache: clear command reports an error
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- Vue introduces ecarts, init initializes and reports an error
- Create vue-cli4 project and report error command failed: yarn
- Vue install reports an error operation not allowed
- Vue reports an error sasserror: expected newline
- NPM run serve reported an error “NPM err! Missing script: start”
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- Idea2021 reports an error. Default operand size is 64 sets the startup task to automatically add the registry
- Vue project reports an error on ie11 white screen. Script1002: syntax error
- Vue references echats and reports an error initialize failed: invalid DOM
- HBase hangs up immediately after startup. The port reports an error of 500 and hmaster aborted