Describe the bug
I have the following metro config:
const { getSentryExpoConfig } = require('@sentry/react-native/metro');
const { withNativeWind } = require('nativewind/metro');
const config = getSentryExpoConfig(__dirname, {
annotateReactComponents: {
ignoredComponents: [],
},
});
module.exports = withNativeWind(config, { input: './global.css', inlineRem: 16 });
Not sure how I would properly install facetpack. I have tried this:
module.exports = withFacetpack(withNativeWind(config, { input: './global.css', inlineRem: 16 }))
And it threw at me a wall of text (errors):
EAGER_BUNDLE] TypeError: Cannot read properties of undefined (reading 'customTransformOptions')
[EAGER_BUNDLE] TypeError: Cannot read properties of undefined (reading 'customTransformOptions')
[EAGER_BUNDLE] at isServerEnvironment (/private/var/folders/_8/845yxk795p5b8x8yq7l8x65w0000gn/T/eas-build-local-nodejs/632d2678-426f-46ca-92b6-85836e218b51/build/node_modules/@expo/metro-config/src/serializer/environmentVariableSerializerPlugin.ts:39:31)
[EAGER_BUNDLE] at serverPreludeSerializerPlugin (/private/var/folders/_8/845yxk795p5b8x8yq7l8x65w0000gn/T/eas-build-local-nodejs/632d2678-426f-46ca-92b6-85836e218b51/build/node_modules/@expo/metro-config/src/serializer/environmentVariableSerializerPlugin.ts:59:7)
...
Error: bun expo export:embed --eager --platform android --dev false exited with non-zero code: 1
How would I got about integrating facetpack into my current setup?
Describe the bug
I have the following metro config:
Not sure how I would properly install facetpack. I have tried this:
And it threw at me a wall of text (errors):
How would I got about integrating facetpack into my current setup?