We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello i m having a major issue im trying to run the project but i have this error
error: index.js: The "id" argument must be of type string. Received undefined
My metro.config.js config `const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config'); const path = require('path')
/**
module.exports = mergeConfig(getDefaultConfig(__dirname), config); `
The text was updated successfully, but these errors were encountered:
it's hard to tell atm but noted unstable_enableSymlinks and unstable_enablePackageExports are RN 0.72 beta features https://reactnative.dev/blog/2023/06/21/0.72-metro-package-exports-symlinks#enabling-beta-features
unstable_enableSymlinks
unstable_enablePackageExports
then unstable_ prefix removed in RN 0.73+ (enabled by default) https://reactnative.dev/blog/2023/06/21/package-exports-support#the-future-stable-exports-enabled-by-default
unstable_
a repro would be great and any more detail on your use case
otherwise i'll look into upgrading to RN 0.72.3 (then 0.72.4)
then enabling Metro beta features ^
Sorry, something went wrong.
No branches or pull requests
Hello i m having a major issue im trying to run the project but i have this error
error: index.js: The "id" argument must be of type string. Received undefined
My metro.config.js config
`const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
const path = require('path')
/**
*/
const config = {
watchFolders: [path.resolve(__dirname, '../../')],
resolver: {
unstable_enableSymlinks: true,
experimentalImportSupport: false,
inlineRequires: true,
unstable_enablePackageExports: true,
resolverMainFields: ['sbmodern', 'react-native', 'browser', 'main'],
sourceExts: ['js', 'jsx', 'ts', 'tsx', 'mjs', 'json'],
},
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false,
},
}),
},
};
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
`
The text was updated successfully, but these errors were encountered: