I have a package that is a vuejs application. If I install it local to my project with "npm i 'path/to/app-vuejs --save-dev'" and then run

```
npm explore app-vuejs -- npm run serve

```

everything works. Server gets startet and I can view the generated pages. But after publishing on npm, installing it with 'npm i app-vuejs --save-dev' and run the command again I get the error

```
sh: vue-cli-service: command not found

```

I have now seen that the node-modules directory is different than in my local version... I tried to find the vue-cli-service and saw that I have many more folders in my local version than in my installed by npm

**local installation:**  

[![local folder structure](https://i.stack.imgur.com/2hhRh.png)](https://i.stack.imgur.com/2hhRh.png)

**installation from npm with less dependencies and no vue-cli:**  

[![install from npm](https://i.stack.imgur.com/QH2Yk.png)](https://i.stack.imgur.com/QH2Yk.png)

What need I to do that all node-modules including "cli-services" get installed?

this is my folder structure

```
- main-project
  - node_modules
    - helper-app-vuejs

```