We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe11774 commit b916c32Copy full SHA for b916c32
packages/@vue/cli/lib/inspect.js
@@ -10,7 +10,11 @@ module.exports = function inspect (paths, args) {
10
servicePath = resolve.sync('@vue/cli-service', { basedir: cwd })
11
} catch (e) {
12
const { error } = require('@vue/cli-shared-utils')
13
- error(`Failed to locate @vue/cli-service. Make sure you are in the right directory.`)
+ error(
14
+ `Failed to locate @vue/cli-service.\n` +
15
+ `Note that \`vue inspect\` is an alias of \`vue-cli-service inspect\`\n` +
16
+ `and can only be used in a project where @vue/cli-service is locally installed.`
17
+ )
18
process.exit(1)
19
}
20
const binPath = path.resolve(servicePath, '../../bin/vue-cli-service.js')
0 commit comments