当我在终端上运行npm start时,我试图在我的visual studio代码上运行下面的代码,并在Expo客户端中得到下面的错误。screen: CategoryItemsScreen});export default createAppContainer(ItemsNavigator); 下面是我得到的错误TypeError: Attempting to change the getter of an unconfigurable property.
at node_modules/re
错误-- assets/routes/homeStack.js (680:882)
Attempting to change the getter of an unconfigurable property完整的代码和在线仿真器在这里- https://snack.expo.dev/@codewithbanchi/pincode
据我理解,如果将可配置设置为false,则不能更改属性描述符(不允许重新定义)。但是当我在chrome,node,firefox,safari中进行测试时,我得到了相同的结果:Object.defineProperty(o, 't', {writable: trueObject.defineProperty(o, 't', {writable: true, configurable: false})
// this time I got expec