node_modules\@vue\cli-service\lib\commands\serve.js line 244 - 247 throw error
because node_modules\@vue\cli-shared-utils\lib\env.js line 46
function checkYarn (result) {
if (result && !exports.hasYarn()) {
// console.error(`The project seems to require yarn but it's not installed.`);// it would be work if use this code
throw new Error(`The project seems to require yarn but it's not installed.`)// stop open browser
}
return result
}
Version
5.0.8
Reproduction link
github.com
Environment info
Steps to reproduce
What is expected?
browser open automatically
What is actually happening?
browser didn't open
node_modules\@vue\cli-service\lib\commands\serve.js line 244 - 247 throw error because node_modules\@vue\cli-shared-utils\lib\env.js line 46