0👍
happened to me today,
i fixed this by remove node_modules, reinstall node_modules, shutdown, power on (reboot didn’t work for me, i have to shutdown and power on)
I think there’re some caching going on here. So best way to fix this is to reinstall node_modules and power off, then power on
also this might also help:
https://github.com/vuejs-templates/webpack/issues/79
You said:
....., try upgrading vue-cli to the latest version and confirm that things are fixed with a fresh project?
- [Vuejs]-How to avoid redefining scope for function inside Vue?
- [Vuejs]-Using typescript module without require()
Source:stackexchange.com