Comments (5)
Related: marp-team/marp#391
Seeing these cases, probably express
looks like doing a something prank. Marp for VS Code is using express
that is bundled to the extension, and usually it should never be affected from express
library in other extensions. However, express
or its internal may depend on some shared value or method globally by a some reason.
Potentially conflicted extensions
- https://marketplace.visualstudio.com/items?itemName=Azurite.azurite
- https://marketplace.visualstudio.com/items?itemName=Arjun.swagger-viewer
- https://marketplace.visualstudio.com/items?itemName=shyykoserhiy.vscode-spotify
from marp-vscode.
This does not apply to my Issue because I have neither of the conflicting extensions listed here installed.
Stack Trace:
[Extension Host] TypeError: Cannot read properties of undefined (reading 'encrypted')
at IncomingMessage.protocol (c:\Users\thevi.vscode-insiders\extensions\shyykoserhiy.vscode-spotify-3.2.1\node_modules\express\lib\request.js:307:31)
at Function.values ()
at qe.findClassPath (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:1:41653)
at qe.resolvePackage (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:1:41390)
at Function.resolve (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:1:40772)
at Function.resolveDefaultEngine (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:1:40887)
at fromArguments (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:44:64909)
at Jl (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\node_modules@marp-team\marp-cli\lib\marp-cli-48291805.js:44:125649)
at runMarpCli (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\lib\extension.js:3841:919586)
at doExport (c:\Users\thevi.vscode-insiders\extensions\marp-team.marp-vscode-2.4.1\lib\extension.js:3841:922459) (at console. (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:96:138842))
T @ workbench.desktop.main.js:sourcemap:90
$logExtensionHostMessage @ workbench.desktop.main.js:sourcemap:1573
N @ workbench.desktop.main.js:sourcemap:1573
M @ workbench.desktop.main.js:sourcemap:1573
H @ workbench.desktop.main.js:sourcemap:1573
G @ workbench.desktop.main.js:sourcemap:1573
(anonymous) @ workbench.desktop.main.js:sourcemap:1573
invoke @ workbench.desktop.main.js:sourcemap:86
deliver @ workbench.desktop.main.js:sourcemap:86
fire @ workbench.desktop.main.js:sourcemap:86
fire @ workbench.desktop.main.js:sourcemap:553
se.onmessage @ workbench.desktop.main.js:sourcemap:1671
workbench.desktop.main.js:sourcemap:747 Failure to export: [TypeError] Cannot read properties of undefined (reading 'encrypted')
from marp-vscode.
Following the Stack Trace, vscode-spotify seemed to be the issue.
Getting rid of the extension resolved my issue.
Please add the extension to your list of known conflicting extensions.
from marp-vscode.
Added ➕
Thanks for sharing the full stack trace too. I could not have reproduced this problem yet so it is going to be helpful to find a root issue.
from marp-vscode.
The latest release of Marp CLI v2.4.0 has no longer inspected the detail of express
module while exporting (marp-team/marp-cli#503). I've confirmed #408 actually mitigate errors brought by conflicted extensions.
from marp-vscode.
Related Issues (20)
- Exporting Marp Document fails with error code "Failure to export: [TypeError] Cannot read properties of undefined (reading 'encrypted')" HOT 3
- Auto completion for `transition` directive
- Line numbers in the code block using Marp in VSC HOT 2
- Local images not exporting correctly HOT 5
- the keyword bg is not working in marp for vscode HOT 2
- Custom themes are not displayed after export if only .md file is open HOT 1
- preview does not behave well with sticky scroll HOT 1
- Theme class 'lead' and 'invert' not working when export to pdf and pptx HOT 9
- Add support for `lang` directive HOT 2
- No popup when exporting slide deck HOT 2
- Failure to export: [CLIError] Failed converting Markdown. (spawn UNKNOWN) HOT 3
- Can't using Html label <sup> in Marp for VS code HOT 1
- Failure of automated release workflow by segmentation fault
- export PDF stops working HOT 6
- Abnormally high CPU usage when editing files quickly HOT 7
- Failure to export: [CLIError] Failed converting Markdown. (spawn UNKNOWN) HOT 6
- Unable to export in Flatpak VSCode HOT 4
- Cannot export any types of slide files on marp-vscode working on vscode.dev or vscode server HOT 3
- Can not preview successfully in slides forms. HOT 3
- CSS theme files matching does not support wildcards HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marp-vscode.