expo-config(MODULE_NOT_FOUND)

Greetings for everyone!

I have this file structure and in app.json expo does not find ./plugins/withReactNativeHce.js and some other config plugins. When I try to open a linked image vs code does not find it, but he image is at ./assests/Image
image

Here is my app.json file.

{
    "expo": {
        "name": "Senity",
        "slug": "SenityNFCForiOS",
        "version": "1.0.0",
        "orientation": "portrait",
        "backgroundColor": "#212832",
        "icon": "./assets/Images/Senity_app_icon_white_whit blue_v3.png",
        "splash": {
            "image": "./assets/Images/Senity_app_splash_sceen_icon.png",
            "resizeMode": "contain",
            "backgroundColor": "#212832"
        },
        "updates": {
            "fallbackToCacheTimeout": 0
        },
        "assetBundlePatterns": [
            "**/*"
        ],
        "ios": {
            "supportsTablet": false,
            "requireFullScreen": true,
            "bundleIdentifier": "com.freeridre.SenityNFCForiOS",
            "splash": {
                "image": "./assets/Images/Senity_app_splash_sceen_icon.png",
                "resizeMode": "contain",
                "backgroundColor": "#212832"
            }
        },
        "android": {
            "package": "com.freeridre.SenityNFCForiOS",
            "splash": {
                "image": "./assets/Images/Senity_app_splash_sceen_icon.png",
                "resizeMode": "contain",
                "backgroundColor": "#212832"
            },
            "softwareKeyboardLayoutMode": "pan"
        },
        "web": {
            "favicon": "./assets/favicon.png"
        },
        "plugins": [
            [
                "./plugins/withReactNativeHce.js",
                {
                    "appIds": [
                        "A0000001020304"
                    ]
                }
            ],
            [
                "@config-plugins/react-native-ble-plx",
                {
                    "isBackgroundEnabled": true,
                    "modes": [
                        "peripheral",
                        "central"
                    ],
                    "bluetoothAlwaysPermission": "Allow $(PRODUCT_NAME) to connect to bluetooth devices",
                    "bluetoothPeripheralPermission": "Allow $(PRODUCT_NAME) to connect to bluetooth devices"
                }
            ],
            [
                "react-native-nfc-manager",
                {
                    "nfcPermission": "It's for Senity Security Systems Ltd.",
                    "selectIdentifiers": [
                        "A0000002471001",
                        "D2760000850100",
                        "D2760000850101",
                        "A0000003964D66344D0002"
                    ]
                }
            ]
        ]
    }
}

So I really do not know what is the problem.
I tried npm install and it did not work.
Thank you for your helping in advance!

Are there anybody who can help me?

@wodin do you have any idea?

Looks like a bug in the VS Code extension:

1 Like

Absolutely, they fixed it, and it works as expected again!
Thanks Wodin for the correct findig!
Fixed

1 Like