Skip to content

Latex-Workshop error command 'latex-workshop.build' not found #2642

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
HalliHalloSchatz opened this issue Jan 26, 2021 · 10 comments
Closed

Latex-Workshop error command 'latex-workshop.build' not found #2642

HalliHalloSchatz opened this issue Jan 26, 2021 · 10 comments

Comments

@HalliHalloSchatz
Copy link

I have setup texlive by these short description.
https://www.tug.org/texlive/quickinstall.html

Running on an Ubuntu LTS.

Same document on Ubuntu bash console working, command latex test.tex

I have no idea, why code-server don't find the build command.

@code-asher
Copy link
Member

code-asher commented Jan 27, 2021 via email

@HalliHalloSchatz
Copy link
Author

sorry. I see now log/debug messages.
Where can I found them?

@code-asher
Copy link
Member

code-asher commented Feb 2, 2021 via email

@HalliHalloSchatz
Copy link
Author

HalliHalloSchatz commented Feb 4, 2021

thank you for answer.
I have start code-server with /usr/bin/code-server --user-data-dir /var/www/svn/code-server

I found this in Firefox Console:

Fehler beim Aktivieren der Erweiterung "James-Yu.latex-workshop": Cannot find module '/var/www/svn/code-server/extensions/james-yu.latex-workshop-8.15.0/out/src/main.js'
Require stack:
- /usr/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js.

folder /var/www/svn/code-server/extensions/james-yu.latex-workshop-8.15.0/out/ with all files and folder not exists.

And I found

Fehler beim Aktivieren der Erweiterung "CoenraadS.bracket-pair-colorizer-2": Cannot find module '/usr/lib/code-server/lib/vscode/node_modules.asar/vscode-textmate'
Require stack:
- /var/www/svn/code-server/extensions/coenraads.bracket-pair-colorizer-2-0.1.4/out/src/textMateLoader.js
- /var/www/svn/code-server/extensions/coenraads.bracket-pair-colorizer-2-0.1.4/out/src/settings.js
- /var/www/svn/code-server/extensions/coenraads.bracket-pair-colorizer-2-0.1.4/out/src/documentDecorationManager.js
- /var/www/svn/code-server/extensions/coenraads.bracket-pair-colorizer-2-0.1.4/out/src/extension.js
- /usr/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js.

Folder not exists, but /usr/lib/code-server/lib/vscode/node_modules/vscode-textmate

only root have write access to /usr/lib/code-server.
Nedd the user under which the code-server running write access or the www-data user under which the apache server is running?

@HalliHalloSchatz
Copy link
Author

Thank you with the firefox console. Now, that can helped me.

bracket-pair-colorizer-2 error:
I have create a symlink in '/usr/lib/code-server/lib/vscode/' from 'node_modules.asar' -> 'node_modules'
I think thats working. Bujt I have no idea, why I must set a custom symlink?!?

LaTeX Workshop error:
I found this Issue #1828.

I do the same: download https://james-yu.gallery.vsassets.io/_apis/public/gallery/publisher/James-Yu/extension/latex-workshop/8.15.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage

unzip the contained extension/out folder and put it in '/var/www/svn/code-server/extensions/james-yu.latex-workshop-8.15.0/'
The missing error is away. Now, I can try to compile my first latex... My first latex document...

@HalliHalloSchatz
Copy link
Author

now, I have the same issue with #1862

The latex-workshop pdf viewer will connect to localhost:PORT.
The same pdf with vscode-pdf working in vscode-tab.

@code-asher
Copy link
Member

code-asher commented Feb 5, 2021 via email

@HalliHalloSchatz
Copy link
Author

Latex Workshop:
With these little changes,

  1. download it manually
  2. extract the missing out folder to extension path
    Latex workshop working

Bracket pair,
1 create that symlink in vscode lib folder
Bracket pair working

@sunyongke
Copy link

now, I have the same issue with #1862

The latex-workshop pdf viewer will connect to localhost:PORT.
The same pdf with vscode-pdf working in vscode-tab.

I have the same issue. Did you fix this issue?

@HalliHalloSchatz
Copy link
Author

No, I have found a answer, that there is no support on code-Serer and they wait, that the native pdf handler will handle this.

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