You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See in Output console with the ESLint section opened that it fails showing errors like this:
[Info - 18:24:58] ESLint server stopped.
[Info - 18:24:58] ESLint server running in node v10.2.0
[Info - 18:24:58] ESLint server is running.
[Info - 18:24:59] ESLint library loaded from: /home/jj/Documentos/Projects/leroy-empleados/node_modules/eslint/lib/api.js
/usr/share/code/code: symbol lookup error: /home/jj/Documentos/Projects/leroy-empleados/node_modules/fibers/bin/linux-x64-64-glibc/fibers.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
[Info - 18:25:01] Connection to server got closed. Server will restart.
[Info - 18:25:01] ESLint server stopped.
It happens five times before it stops retrying.
What is expected?
ESLint should work in files using imports with the alias @ as src
What is actually happening?
When there is an import with @ ESLint fails and stops.
If I use the same import with this path it works ./components/header/TheHeader.vue.
If I use an incorrect path like ./components/header/TheHdea.vue it's the same as using the alias @
If in .eslintrc.js I remove the @vue/airbnb in extends, it works perfectly.
The text was updated successfully, but these errors were encountered:
The fibers might not support Node v11 considering it is not an LTS version. Try Node v10?
Also this dependency can be safely removed from package.json, it is included only for performance boost.
Same feedback as @JJBocanegra. Error persists with Node v10.15.3, but lint on save works correctly after removing fibers from package.json and reinstalling.
Version
3.4.1
Reproduction link
https://github.com/JJBocanegra/vue-cli-airbnb-eslint-issue
Environment info
Steps to reproduce
/src/views/Home.vue
Output
console with theESLint
section opened that it fails showing errors like this:It happens five times before it stops retrying.
What is expected?
ESLint should work in files using imports with the alias
@
assrc
What is actually happening?
When there is an import with
@
ESLint fails and stops.If I use the same import with this path it works
./components/header/TheHeader.vue
.If I use an incorrect path like
./components/header/TheHdea.vue
it's the same as using the alias@
If in
.eslintrc.js
I remove the@vue/airbnb
inextends
, it works perfectly.The text was updated successfully, but these errors were encountered: