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

Extension does not work in VS Code 1.21 #81

Closed
gabyx opened this issue Mar 8, 2018 · 3 comments
Closed

Extension does not work in VS Code 1.21 #81

gabyx opened this issue Mar 8, 2018 · 3 comments

Comments

@gabyx
Copy link
Collaborator

gabyx commented Mar 8, 2018

VSCode Version:
Version 1.21.0
Commit 9a199d77c82fcb82f39c68bb33c614af01c111ba
Datum 2018-03-07T11:04:09.969Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architektur x64

When I run Open Preview it says Running the contributed command:'markdown-preview-enhanced.openPreview' failed.

JavaScript output shows:


/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2844 [shd101wyy.markdown-preview-enhanced][UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
e.$onExtensionRuntimeError @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2844
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2844 Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:32:395
	at t.e (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:32:709)
	at new t (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:34:483)
	at t.e.with (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:33:414)
	at Object.getPreviewUri (C:\Users\gabriel.nuetzi\.vscode\extensions\shd101wyy.markdown-preview-enhanced-0.3.3\out\src\preview-content-provider.js:464:30)
	at context.subscriptions.push.vscode.window.onDidChangeTextEditorSelection.event (C:\Users\gabriel.nuetzi\.vscode\extensions\shd101wyy.markdown-preview-enhanced-0.3.3\out\src\extension.js:320:59)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:88:992)
	at e.$acceptEditorPropertiesChanged (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:667:458)
	at e._doInvokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:587:832)
	at e._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:587:550)
e.$onExtensionRuntimeError @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2844
@shd101wyy
Copy link
Owner

Hi @gabyx ,

I will investigate this error when I have time. Thank you for reporting it.

Thank you

@mneundorfer
Copy link

Experiencing the same(?) issue - maybe this helps in investigating: When trying to open the Preview via the context menu, nothing happens, when trying to open it via the keyboard shortcut, it get a command 'markdown-preview-enhanced.openPreview' not found

@gabyx
Copy link
Collaborator Author

gabyx commented Mar 19, 2018

I close this bug, as it was related to using Samba folder as Workspace in VS Code \\Intranet\something
which is bad anyways! Sorry for the inceonvenience!

Try to use a local filesystem mount point in Windows. If this bug persists, reopen it :)

@gabyx gabyx closed this as completed Mar 19, 2018
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

3 participants