-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Cannot install @vue/cli-service on Linux aarch64 because "Failed at the yorkie@2.0.0 install script." #3466
Comments
I know that there is a similar issue posted at #3056 ("Yorkie installation fails which causes Vue CLI to fail") but that was closed without any comments or solution, so I posted a new one here as indicated at https://new-issue.vuejs.org/?repo=vuejs/vue-cli ("open a new issue using the form below instead of commenting on the old issue"). |
Have you tried installing npm install -g @vue/cli
# OR
yarn global add @vue/cli |
I got the same error when I installed @vue/cli and @vue/cli-service globally. |
I did some more testing: I got it to install successfully when I downgraded my env's node version to v8.4.0.
This is mentioned in the Vue Installation docs, where it says "Vue CLI requires Node.js version 8.9 or above (8.11.0+ recommended).". But if I upgrade node, I'll get the same installation errors as I previously reported. I'm not familiar with what's inside Vue CLI or with yorkie, but it seems I'm unable to use it on this env. |
What about |
For security reasons, if you run |
Thanks for the tip @sodatea.
|
Solved issue by using latest node image for container |
This error (Yorkie@2.0.0) is related to the security attributes of the project-vuejs folder. So, create your projects outside the root / folder, make Linux updates (Ubuntu ...) and success to everyone! |
Can you clarify what you mean by "outside the root / folder"? |
Hi!
I suggest not creating projects inside the /root folder to avoid setting access permissions for your objects, unless this is a requirement for your development environment. For example, create a project folder inside the /home directory as /my-project and inside it create the vuejs project and execute it. If you are using an IDE editor such as Visual Studio Code (or Atom) to open and modify the project folder, you may need to give permissions to it (chmod). I successfully tested the host machine, VM and Docker-CE container (all with Ubuntu 18.04 and Vue-CLI 4.2.3).
Em sexta-feira, 3 de abril de 2020 09:06:18 BRT, Gino Mempin <notifications@github.com> escreveu:
So, create your projects outside the root / folder, make Linux updates (Ubuntu ...)
Can you clarify what you mean by "outside the root / folder"?
This is Linux, everything is under /.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Version
3.4.0
Environment info
Steps to reproduce
From the command line, just do
npm install @vue/cli-service
.What is expected?
The installation of @vue/cli-service is successful.
What is actually happening?
The installation fails with the following error message:
When inspecting the NPM debug logs:
The same error is encountered when doing:
npm install @vue/cli
npm install yorkie
The text was updated successfully, but these errors were encountered: