full-stack-twitter-clone icon indicating copy to clipboard operation
full-stack-twitter-clone copied to clipboard

vue-cli-service not found in Frontend

Open eboye opened this issue 2 years ago • 2 comments

I've ran docker compose up but it gives me this error in Frontend container:

yarn run v1.22.4

$ vue-cli-service serve

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

/bin/sh: vue-cli-service: not found

error Command failed with exit code 127.

I've tried running yarn install inside frontend folder thinking it may need node-modules, but without success.

eboye avatar Aug 22 '21 22:08 eboye

thank you for the issue i will look into this bug asap @eboye

cihat avatar Aug 27 '21 08:08 cihat

I've managed to run it by changing the package.json scripts to:

"scripts": {
    "serve": "npx -p @vue/cli-service vue-cli-service serve",
    "build": "npx -p @vue/cli-service vue-cli-service build",
    "lint": "npx -p @vue/cli-service vue-cli-service lint"
},

eboye avatar Dec 01 '21 03:12 eboye