Squatted `vue-cli-service` Placeholder
This npm package, `vue-cli-service` (current version 5.0.10, last published over two years ago), is a name-squatting placeholder that claims to wrap the binary from the *official* `@vue/cli-service` package. It does not provide any independent functionality, nor is it endorsed or maintained by the Vue.js team. Its sole stated purpose by the publisher "alxndrsn" is to prevent others from squatting the name. Developers should *not* install or rely on this package, as the actual Vue CLI service functionality is provided by the `@vue/cli-service` package, which is installed as a development dependency within a Vue CLI project and exposes its binary for use in npm scripts or via `npx`. This package is effectively abandoned, unmaintained, and offers no value, with 0 dependencies and a small unpacked size.
Common errors
-
Command not found: vue-cli-service
cause Attempting to use the `vue-cli-service` binary from this squatter package expecting official Vue CLI functionality.fixThis `vue-cli-service` package does not provide the actual Vue CLI tools. Ensure you have `@vue/cli` installed globally (`npm install -g @vue/cli`) to use the `vue` command, or that your Vue project has `@vue/cli-service` installed as a dev dependency to use its locally provided `vue-cli-service` binary via `npm run serve` etc. -
Error: Cannot find module 'vue-cli-service'
cause Attempting to import or require this squatter package expecting it to expose a functional module.fixThis package is a name squatter and does not expose a functional module. Do not import or require `vue-cli-service`. The correct Vue CLI service is part of the `@vue/cli-service` package, which is intended for command-line use within a project, not direct programmatic import.
Warnings
- breaking This `vue-cli-service` npm package is a name squatter and *not* the official Vue CLI service. Installing or using it directly will *not* provide the expected Vue CLI functionalities and may introduce unknown risks. The legitimate Vue CLI service is provided by the `@vue/cli-service` package, which is an internal dependency of Vue CLI projects.
- gotcha This package is effectively unmaintained and has not been updated in over two years. Its status as a 'squatter' means it has no active development, bug fixes, or security patches, making it a potential supply chain risk if mistakenly adopted.
Install
-
npm install vue-cli-service -
yarn add vue-cli-service -
pnpm add vue-cli-service
Quickstart
// This package offers no functional API or command-line interface for direct usage. // Installing it is not recommended as it is a name squatter. // The actual Vue CLI service is used indirectly within a Vue CLI project. // For example, to start a development server in a project created with @vue/cli: // npm install -g @vue/cli // vue create my-project // cd my-project // npm run serve