If you look at https://cli.vuejs.org/guide/cli-service.html it tells you that after installing @vue/cli-service ( which may be part of the standard CLI installation ) then vue-cli-service is available in npm scripts, but that if you want to access it directly then you need to use ./node_modules/.bin/vue-cli-service This worked for me, and I guess you could add ./node_modules/.bin to your $PATH if you were so inclined.

发现有一个issue,https://github.com/vuejs/vue-cli/issues/2404,也是很久以前就有了,但被官方关闭了,因为`cannot reproduce`,我真的无fuck可说。


标签: vue-cli-service