Skip to content

"There is no data provider registered that can provide view data." #238

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

Closed
gislu opened this issue Mar 26, 2019 · 14 comments
Closed

"There is no data provider registered that can provide view data." #238

gislu opened this issue Mar 26, 2019 · 14 comments
Labels
need more info Further information is requested

Comments

@gislu
Copy link

gislu commented Mar 26, 2019

When I installed the plugin and restart my VSCode, I only got this message: "There is no data provider registered that can provide view data."
I guess this happened because my company ban some kinds of request ( but I am still able to log in leetcode website and solve question). Do you guys have any idea of my issue?

@gislu gislu changed the title Is there anyway to use this plugin with older node version? "There is no data provider registered that can provide view data." Mar 26, 2019
@gislu gislu closed this as completed Mar 26, 2019
@gislu gislu reopened this Mar 26, 2019
@jdneo
Copy link
Member

jdneo commented Mar 26, 2019

@gislu Please provide more information about your environment etc... to help us understand your situation. Meanwhile, you can check if this document could help: https://github.com/jdneo/vscode-leetcode/wiki/Troubleshooting

If your Node.js is lower than 8, then I'm sorry that currently, it's a hard dependency for Node.js 8+. Well, we are planning to write a new lib to remove the dependency on Node.js

@jdneo jdneo added the need more info Further information is requested label Mar 26, 2019
@icysea-blog
Copy link

@jdneo emmm, I meet the same problem, baby. I have intalled nodejs v8.x, v10.x and v11.x, but vscode still told me that command leetcode.signin not found. My os is ubuntu 18.04 LTS. Interesting, I didn't meet this problem last week when I used vscode on ubuntu 16.04.

@jdneo
Copy link
Member

jdneo commented Mar 27, 2019

@LiRongbupt Could you try to remove $home/.lc?

@gislu
Copy link
Author

gislu commented Mar 27, 2019

Solve this when I reinstall with old version 0.12.0.

Then I can got error message: 'login: login: pass: [ERROR] Error: connect ETIMEDOUT 104.24.125.31:443'
I guess in latest version we miss some error catch.

@gislu gislu closed this as completed Mar 27, 2019
@gislu
Copy link
Author

gislu commented Mar 27, 2019

But I can login leetcode in browser normally. Does we use different way to make login post?

@gislu gislu reopened this Mar 27, 2019
@jdneo
Copy link
Member

jdneo commented Mar 28, 2019

@gislu You can open Help > Toggle Developer Tools to see if there is any log there

@icysea-blog
Copy link

@LiRongbupt Could you try to remove $home/.lc?

I'm sorry that it doesn't work. Everytime I restart vscode, the directory .lc is created automatically.

@jdneo
Copy link
Member

jdneo commented Mar 28, 2019

@LiRongbupt Are you using the 3-party bash in Ubuntu?

@icysea-blog
Copy link

@jdneo No, but I solved the problem. First I uninstall vscode and remove .lc/ and .vscode/, then I re-install code and the plugin works well.

@jdneo
Copy link
Member

jdneo commented Mar 29, 2019

@LiRongbupt Good to know the problem get solved. I'll leave an eye on this problem in the future.

@Fern9
Copy link

Fern9 commented Mar 29, 2019

@LiRongbupt Good to know them problem get solved. I'll leave an eye on this problem in the future.

I meet the same problem. My os is macOS 10.14, and vscode 1.32.3, node v11.12.0, bash is iTerm2。I have tried restart vscode and OS, but it still says leetcode.signin not found

@jdneo
Copy link
Member

jdneo commented Mar 29, 2019

@Fern9 This is because you are using iTerms2, while when the extension spawns a new child process, it will use the system default bash.

This problem should be resolved within this issue: #227

@jdneo
Copy link
Member

jdneo commented Apr 1, 2019

Closing this issue and tracking with #227.

@jdneo jdneo closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants