TypeError: fsStat.Settings is not a constructor
at new Reader (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\readers\reader.js:9:32)
at new ReaderSync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\readers\sync.js:8:9)
at new ProviderSync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\providers\sync.js:8:24)
at getWorks (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\index.js:58:22)
at AsyncFunction.sync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\index.js:20:23)
at AsyncFunction.module.exports.sync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\globby\index.js:151:42)
at EditionInterface.exports.copy (D:\Yarn\global\node_modules\mem-fs-editor\lib\actions\copy.js:30:8)
at EditionInterface.module.exports.copyTpl (D:\Yarn\global\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:22:8)
at Project.template (D:\Yarn\global\node_modules\@tarojs\cli\src\create\creator.ts:118:13)
at D:\Yarn\global\node_modules\@tarojs\cli\src\create\init.ts:133:13
相关平台
React Native
使用框架: React
复现步骤
taro init ? 请输入项目名称! taroDemo ? 请输入项目介绍 ? 请选择框架 React ? 是否需要使用 TypeScript ? No ? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass ? 请选择编译工具 Webpack5 ? 请选择包管理工具 yarn ? 请选择模板源 Gitee(最快) √ 拉取远程模板仓库成功! ? 请选择模板 react-native D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\readers\reader.js:9 this._fsStatSettings = new fsStat.Settings({ ^
TypeError: fsStat.Settings is not a constructor at new Reader (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\readers\reader.js:9:32) at new ReaderSync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\readers\sync.js:8:9) at new ProviderSync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\providers\sync.js:8:24) at getWorks (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\index.js:58:22) at AsyncFunction.sync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\fast-glob\out\index.js:20:23) at AsyncFunction.module.exports.sync (D:\Yarn\global\node_modules\mem-fs-editor\node_modules\globby\index.js:151:42) at EditionInterface.exports.copy (D:\Yarn\global\node_modules\mem-fs-editor\lib\actions\copy.js:30:8) at EditionInterface.module.exports.copyTpl (D:\Yarn\global\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:22:8) at Project.template (D:\Yarn\global\node_modules\@tarojs\cli\src\create\creator.ts:118:13) at D:\Yarn\global\node_modules\@tarojs\cli\src\create\init.ts:133:13
期望结果
正常
实际结果
异常
环境信息