P
P
Polina Titova2020-01-01 11:42:33
npm
Polina Titova, 2020-01-01 11:42:33

How to install vue?

I install Vue.js via npm with the following command npm install -g @vue/cli, as indicated in the Vue CLI documentation . After some downloads, errors are displayed:

npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/andrew/.nvm/versions/node/v15.5.0/lib/node_modules/@vue/cli
npm ERR! dest /home/andrew/.nvm/versions/node/v15.5.0/lib/node_modules/@vue/.cli-iYRPKjlb
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/andrew/.nvm/versions/node/v15.5.0/lib/node_modules/@vue/cli' -> '/home/andrew/.nvm/versions/node/v15.5.0/lib/node_modules/@vue/.cli-iYRPKjlb'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/andrew/.npm/_logs/2021-01-01T08_22_52_840Z-debug.log

What do they mean, and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denioo, 2020-01-01
@poly-titova

Update node.js with npm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question