首页 > 解决方案 > Expo-splash-screen 正在抛出无法读取未定义的属性“productType”

问题描述

我正在尝试更新一个启动屏幕,就像我今天所做的那样,expo-splash-screen 命令正在抛出Cannot read property 'productType' of undefined.

    app (master) ✗ yarn run configure-splash-screen  -i cover -b '#121212' -i app/assets/1/images/splash.png --status-bar-hidden 
    yarn run v1.22.10
    warning ../../../../package.json: No license field
    $ /Users/username/Code/work/projectname/app/node_modules/.bin/configure-splash-screen -i cover -b '#121212' -i app/assets/1/images/splash.png --status-bar-hidden

    Cannot read property 'productType' of undefined

有没有人遇到过这个?

标签: react-native

解决方案


推荐阅读