title: After installing app as npm package, “vue-cli-service” not found
body: <p>I have a package that is a vuejs application. If I install it local to my project with &quot;npm i 'path/to/app-vuejs --save-dev'&quot; and then run</p>
  <pre><code>npm explore app-vuejs -- npm run serve
  </code></pre>
  <p>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</p>
  <pre><code>sh: vue-cli-service: command not found
  </code></pre>
  <p>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</p>
  <p><strong>local installation:</strong><br>
  <a href="https://i.stack.imgur.com/2hhRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2hhRh.png" alt="local folder structure" /></a></p>
  <p><strong>installation from npm with less dependencies and no vue-cli:</strong><br>
  <a href="https://i.stack.imgur.com/QH2Yk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QH2Yk.png" alt="install from npm" /></a></p>
  <p>What need I to do that all node-modules including &quot;cli-services&quot; get installed?</p>
  <p>this is my folder structure</p>
  <pre><code>- main-project
    - node_modules
      - helper-app-vuejs
  </code></pre>