We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am running this project on the win11 operating system and I get an error Locate this bug
console.log(fileName.split(sep),sep) let path = join(DIR, fileName.split(sep)[1]);
get the log
[ 'src/index.js' ] \
I don't know why these two separators are different. But I test the following and it works.
import { join, sep, normalize } from 'path'; const normalizedFileName = normalize(fileName); let path = join(DIR, normalizedFileName.split(sep)[1]);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am running this project on the win11 operating system and I get an error
Locate this bug
get the log
I don't know why these two separators are different.
But I test the following and it works.
The text was updated successfully, but these errors were encountered: