3.2.0-canary版RN构建报错:缺少页面



  • 如题,用3.2.0-canary拉了个React版默认模板,然后直接进行构建,报缺少页面
    屏幕截图 2021-02-09 001812.png

    in getPages Error: 缺少页面
        at RNPlugin.getPages (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:415:23)
        at RNPlugin.run (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:800:18)
        at RNPlugin.<anonymous> (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:149:28)
        at Generator.next (<anonymous>)
        at D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:8:71
        at new Promise (<anonymous>)
        at __awaiter (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:4:12)
        at D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:146:83
        at RNPlugin.<anonymous> (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:108:23)
        at Generator.next (<anonymous>)
        at D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:8:71
        at new Promise (<anonymous>)
        at __awaiter (D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:4:12)
        at D:\Taro\ToDoList\Todolist\node_modules\@tarojs\rn-runner\dist\plugins\RNPlugin.js:106:50
        at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Taro\ToDoList\Todolist\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:20:1)
        at AsyncSeriesHook.lazyCompileHook (D:\Taro\ToDoList\Todolist\node_modules\tapable\lib\Hook.js:154:20)
    缺少页面
    

登录后回复