eslint extension keep crashing in a project created by vue-cli 3
See original GitHub issueeslint extension keep crashing in a project created by vue-cli 3, while yarn run lint
works well.
download this repository, open in vscode, install dependences (yarn
), reload vscode, go to src/main.js
, then eslint extension will crash immediately
step to reproduce
-
create a project with vue-cli 3, Check these configurations:
CSS Pre-processors
,Sass/SCSS (with dart-sass)
,ESLint + Airbnb config
-
go to
src/main.js
, changeimport App from './App.vue;'
toimport App from '@/App.vue';
(webpack alias), or import a nonexistent file, likeimport './somefile'
, eslint extension will crash immediately -
no this problem when using
node-sass
instead ofdart-sass
versions
vscode-eslint: 1.8.0
vscode: 1.31.1
eslint: 5.14.1
node: v8.11.3
error info:
...
[Info - 11:49:42 AM] ESLint library loaded from: /Users/project-path/node_modules/eslint/lib/api.js
dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
Referenced from: /Users/project-path/node_modules/fibers/bin/darwin-x64-64/fibers.node
Expected in: flat namespace
dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
Referenced from: /Users/project-path/node_modules/fibers/bin/darwin-x64-64/fibers.node
Expected in: flat namespace
[Info - 11:49:46 AM] Connection to server got closed. Server will restart.
...
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
eslint extension keep crashing in a project created by vue-cli 3
This is caused by a native node module that you are using. In this case you need to tell ESLint to use the...
Read more >Vue cli 3 hot reload suddenly not working in browsers
I have a Vue project generated by the Vue cli 3 and my hot reloading suddenly stopped working in my browsers. Changes made...
Read more >ESLint with Prettier and Vue in VS Code - YouTube
In this video I show how to setup ESLint and Prettier in your VueJS applications and how to get them working properly inside...
Read more >How to Setup Vue.js with VS Code and Fix Formatting and ES ...
When you create a Vue.js project with the Vue CLI or UI and select Prettier - you'll have a bunch of ES Lint...
Read more >Getting started with Vue - Learn web development | MDN
In this article we'll look at a little bit of Vue background, learn how to install it and create a new project, study...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wouterkroes run
which node
in the terminal, you will get a path to the node executable in your system. ps:eslint.runtime
setting is for vscodesame issue #543
IMO
should do the trick.