Skip to content

Commit

Permalink
Improve package.json not found error  (#5238)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeque committed Mar 6, 2020
1 parent f1bde5b commit 74ca541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/util/getPkg.js
Expand Up @@ -11,7 +11,7 @@ function getPackageJson (projectPath) {
try {
packageJson = fs.readFileSync(packagePath, 'utf-8')
} catch (err) {
throw new Error(`${packagePath} not exist`)
throw new Error(`The package.json file at '${packagePath}' does not exist`)
}

try {
Expand Down

0 comments on commit 74ca541

Please sign in to comment.