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

Cannot output the conversion result into the drive root #442

Closed
yhatt opened this issue Apr 12, 2022 · 0 comments · Fixed by #443
Closed

Cannot output the conversion result into the drive root #442

yhatt opened this issue Apr 12, 2022 · 0 comments · Fixed by #443
Labels
bug Something isn't working

Comments

@yhatt
Copy link
Member

yhatt commented Apr 12, 2022

Version of Marp Tool

Marp CLI v1.7.0

Operating System

Windows

Environment

  • OS version: Windows 10
  • Node.js version: 16.13.0
  • VS Code version (Marp for VS Code): VS Code 1.66.1 (system setup)

How to reproduce

Try to convert Markdown into the drive root such as C:\slide.html.

Expected behavior

The converted HTML will be generated to C:\slide.html.

Actual behavior

Failed converting Markdown. (EPERM: operation not permitted, mkdir 'c:\')

Additional information

Reported by marp-team/marp#291.

It's a known pitfall that brings when trying fs.mkdirSync('c:\', { recursive: true }) into the drive root. microsoft/vscode#379

@yhatt yhatt added the bug Something isn't working label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant