-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The static import statement shows "Resolve error: Missing binary" #1175
Comments
And what happens if you execute |
Wild guess: can you use node as the runtime for eslint by using the setting |
It works! Thank you so much! "eslint.runtime": "C:\\Users\\midorizemi\\scoop\\apps\\nodejs-lts\\14.15.4\\node.exe", The runtime path is "Environment:" from I don't understand yet why the node included in Electron cannot executing / loading the binary, although, This issue was solved. |
The problem is that when you install the package it is complied against the node version you have installed (which in you case is 14.15.4). Electron ships node version 12.18.3 and the binary compiled for 14.15.4 can't be loaded / executed in 12.18.3. I know, not something a user usually wants to deal with :-) |
Thank you for additional information. |
No it is not. The problem is that binaries are node version dependent. So if you install 12.18.3 it will work since the binaries are built against the right node API surface. |
Oh. I understand. Thank you so much. |
Due to the fact that I moved my development environment from Windows to Mac M1, I encountered the same problem again. I had set I was not able to explore the issue in depth, but it seems that .anyenv shims in Finally, I worked around this problem by explicitly specifying the version of the executable specified in the project. // folder/setting.json
"eslint.runtime": "/Users/midorizemi/.anyenv/envs/nodenv/versions/14.17.1/bin/node", This may not be relevant to this project, but I hope it is helpful. |
vscode-eslint is working my react application project on working directory.
It, however, fails to find fibers package via vscode. I cant find a solution yet. please help me.
Here is my repository. https://github.com/midorizemi/react-sample.git
My environments:
I installed npm packages, and open vscode, and add ESLint plugin in vscode.
When I typed "import" first line, vscode-eslint said the error.
I, however, tried to run
npm run fix:lint
. I didn't get any error like the error.This is the full infomation of the error from "PROBLEMS" form vscode.
Although I delete node_modules and reinstall npm packages, that doesn't work.
thank you.
The text was updated successfully, but these errors were encountered: