full-stack-twitter-clone
full-stack-twitter-clone copied to clipboard
vue-cli-service not found in Frontend
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.
thank you for the issue i will look into this bug asap @eboye
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"
},