Skip to content
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

Markdown preview stopped work #953

Open
hjessa opened this issue Jul 5, 2024 · 3 comments
Open

Markdown preview stopped work #953

hjessa opened this issue Jul 5, 2024 · 3 comments

Comments

@hjessa
Copy link

hjessa commented Jul 5, 2024

Hi.

I have a problem with Learn Preview Extension.
I am trying to preview markdown file and nothing happend when extension is enabled.
Other thing is when I enable this extension sync with Github stopped work, there is a communicate 'scanning for git repo'.

After disabling an extension sync with git work properly and preview also works but it missing some features like it doesnt show included files.

Extension version: 1.0.7
VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z)
OS version: Windows_NT x64 10.0.22631

@hjessa
Copy link
Author

hjessa commented Jul 5, 2024

I also getting this error when I try to open preview:

image

@hjessa
Copy link
Author

hjessa commented Jul 16, 2024

On further investigation I discovered that the problem occurs when I work on a large repository, the extension has an 'activating' status and nothing happens, when I work on a smaller repo or just one file, the extension works ok.

This error 'Cannot read properties of undefinied (reading osPlatform)' happens when I try to 'Learn: Preview - previewtopic'
image

The other thing is that enabling the extension on a large repo uses a lot of computer resources, so I think there is an optimisation problem.

I hope it start work on bigger repos in new versions.

@desteves
Copy link

desteves commented Aug 2, 2024

I'm facing this error for https://github.com/MicrosoftDocs/azure-dev-docs I forked the repo and opened it in codespaces. Attempting to Learn: Preview any article results in the same error. Here it is for reference:

image

I am using learn-preview v1.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants