Closed Friph closed 6 years ago
Do you have standard
locally installed? Does this error also occur when running standard
from the command line?
Yes the error also occurred with the local installation in node_modules/.bin/standard
running from the command line.
The issue was apparently that we had an old version of standard installed, because yarn did not correctly update the dependencies. A related issue is https://github.com/standard/snazzy/issues/16
Thanks for the fast response and the heads up and sorry for the delayed answer.
TL;DR;
We rm -rf node_modules/
and reinstall with ~yarn install
or~ (1) npm install
.
(1) - yarn
seems to insist on using an older version. Probably this could be worked around by deleting yarn.lock
but in our case it was easier to just use npm
to fix the problem.
Hello,
Could you tell me where is the problem? It's on every first line: 2 Examples:
And the linter error:
Thanks!