Open adrianovieira opened 4 years ago
Interesting that this doesn't happen when installed during project creation.
We can likely solve this short-termn with an eslint comment disabling the no-console rule. Long-Termn we should likely seek a solution were the linting run doesn't break things here if it comes across somethin non-fixable.
As this happened during the completion hooks phase, the plugin should be usable iny ou project nonetheless, as it has been installed, template files have been generated etc.
No idea whether this is related or not, but I've a vue-cli
based project where vue-cli-service serve
is fine, but I get the very same Unexpected console statement error when vue-cli-service build
– i.e. it doesn't like any console.log
statement.
If I run vue-cli-service build
a second time, it works properly. Slightly annoying but bearable.
Version
4.1.1
Reproduction link
https://gist.github.com/adrianovieira/0d044ed7f191c62eae739d19fa4c1cec
Environment info
Steps to reproduce
What is expected?
installation works properlly
What is actually happening?