Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-cli-service not found in Frontend #2

Open
eboye opened this issue Aug 22, 2021 · 2 comments
Open

vue-cli-service not found in Frontend #2

eboye opened this issue Aug 22, 2021 · 2 comments

Comments

@eboye
Copy link

eboye commented Aug 22, 2021

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.

@cihat
Copy link
Owner

cihat commented Aug 27, 2021

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

@eboye
Copy link
Author

eboye commented Dec 1, 2021

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"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants