diff --git a/change/react-native-windows-a5110142-aafe-4bbf-ac8b-1a6c6cdd9405.json b/change/react-native-windows-a5110142-aafe-4bbf-ac8b-1a6c6cdd9405.json new file mode 100644 index 00000000000..bcf8eab5ad6 --- /dev/null +++ b/change/react-native-windows-a5110142-aafe-4bbf-ac8b-1a6c6cdd9405.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Workaround fix for \"missing-asset-registry-path\" error to unblock PRs", + "packageName": "react-native-windows", + "email": "jthysell@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/vnext/template/metro.config.js b/vnext/template/metro.config.js index abc20133aba..7cab9f209e6 100644 --- a/vnext/template/metro.config.js +++ b/vnext/template/metro.config.js @@ -32,5 +32,7 @@ module.exports = { inlineRequires: true, }, }), + // This fixes the 'missing-asset-registry-path` error (see https://github.com/microsoft/react-native-windows/issues/11437) + assetRegistryPath: 'react-native/Libraries/Image/AssetRegistry', }, };