How to Solve Vue Error: EACCES: permission denied

Preface

In the installation vue, when scaffolding errorError: EACCES: permission denied

# install Vue CLI 3.x
npm i -g @vue/cli

solve

It can be solved by executing the following command

sudo npm install -g --unsafe-perm=true --allow-root


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *