Hello, I’ve not really done anything with vue.js yet, but in response to a tweet, I was persuaded to install vue.js v3.00 by running
npm install -g @vue/cli. I think something has gone wrong, though, because when I tried to run
vue serve against a minimal
app.vue file, i get the following error:
ERROR Failed to compile with 1 errors 21:22:55 This dependency was not found: * ~entry in /usr/local/lib/node_modules/@vue/cli-service-global/template/main.js To install it, you can run: npm install --save ~entry
When I try to run
npm install --save ~entry as instructed, i get the error:
zsh: no such user or named directory: entry
So, I’ve concluded that I have probably done some horrendous damage to my
vue.js setup, and I would be better served by uninstalling the entire
vue.js installation and reinstalling v3.00 from scratch. I tried uninstalling using
npm uninstall -g @vue/cl and got the message
up to date in 0.097s. Doesn’t look as if the uninstall worked. A search on Google reveals that I am not the only one to get this message.
Googling also fails to find any useful information on uninstalling vue.js.
I realise that I am a complete noob where
vue.js is concerned, so please be gentle with me, and tell me what I am doing wrong!