js-lingui: Error: EPERM: operation not permitted, scandir 'C:/$Recycle.Bin/S-1-5-18' when running lingui extract
Describe the bug
Running lingui extract results in error
Error: EPERM: operation not permitted, scandir 'C:/$Recycle.Bin/S-1-5-18'
To Reproduce
Use next-js example, and run lingui extract
Expected behavior The command should run successfully.
- jsLingui version
3.0 - Babel version
@babel/core@7.7.7 - Your Babel config (e.g.
.babelrc):
{
"presets": ["next/babel"],
"plugins": [
"macros",
"jsx-control-statements",
[
"import",
{
"libraryName": "@geist-ui/react",
"libraryDirectory": "esm"
}
]
]
}
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 28 (24 by maintainers)
Or use the
excludepattern is also an option, glad to help Markus šYes, absolutely, i forgot to add iām looking to fix that asap.
With your config also fails for me on Windows, because rootDir ā.ā goes to Windows homespace. Just removing it, works perfect on Powershell and normal cmd
Iām still having this issue using 3.1.0 š¦
Windows seems unable to resolve the default rootDir. Using this instead works:
Released in 3.0.1. Consider donating using OpenCollective to support development and maintanence of this project š