-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Failed to find .md
file in non-ASCII directory
#108
Comments
I debugged marp-cli and found that But it is hard for me to debug why If I have enough time, I will try to debug it. |
The cause is very similar to #95 I'm found. It is caused by globby too. |
It might cause in the upstream package
// test.js
const fastGlob = require('fast-glob')
// Globby calls fast-glob internally with the path like these
for (const path of ['a/**/*', '字/**/*']) {
console.log(path, fastGlob.sync(path))
} # fast-glob v2.2.7
$ node test.js
a/**/* [ 'a/test' ]
字/**/* []
# fast-glob v3.0.2
$ node test.js
a/**/* [ 'a/test' ]
字/**/* [ '字/test' ] |
@saiya I've created PR #109 with updated fast-glob. Could you try to build Marp CLI and test non-ASCII directory on |
@yhatt Thank you. glob-non-ascii-dir works well with non-ASCII directory in my environment also. I will wait for globby's update (and marp-cli's update) as you posted. |
I worked for getting fast-glob v3 in globby, and it came as globby v10 😆 |
marp-cli failed to glob markdown files within non-ASCII directory. Thus
marp --server .
exits.Way to reproduce
Expected result
yarn marp --server .
should start server, not showing help.Workaround
Use ASCII directory name:
The text was updated successfully, but these errors were encountered: