You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the Metro Bundler in my React Native project, I receive the following warning related to the react-native-blob-util package:
warn Package react-native-blob-util contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
It seems that the "dependency.hooks" field in the package's package.json is no longer supported in recent versions of React Native, causing this warning. While the warning does not directly affect the application's functionality, it might indicate an outdated or unnecessary configuration.
Steps to Reproduce
Install the react-native-blob-util package:
yarn add react-native-blob-util
Start the Metro Bundler:
npx react-native start
Observe the warning in the terminal: warn Package react-native-blob-util contains invalid configuration: "dependency.hooks" is not allowed.
Expected Behavior
No warning should appear when starting the Metro Bundler, as the react-native-blob-util package configuration should be fully compatible with the latest versions of React Native.
Possible Solution
The "dependency.hooks" field in the package.json file of the react-native-blob-util package appears to be obsolete. It might be removed or updated to align with the latest React Native standards.
The text was updated successfully, but these errors were encountered:
Versions information
Description
When starting the Metro Bundler in my React Native project, I receive the following warning related to the
react-native-blob-util
package:warn Package react-native-blob-util contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
It seems that the
"dependency.hooks"
field in the package'spackage.json
is no longer supported in recent versions of React Native, causing this warning. While the warning does not directly affect the application's functionality, it might indicate an outdated or unnecessary configuration.Steps to Reproduce
react-native-blob-util
package:warn Package react-native-blob-util contains invalid configuration: "dependency.hooks" is not allowed.
Expected Behavior
No warning should appear when starting the Metro Bundler, as the
react-native-blob-util
package configuration should be fully compatible with the latest versions of React Native.Possible Solution
The
"dependency.hooks"
field in thepackage.json
file of thereact-native-blob-util
package appears to be obsolete. It might be removed or updated to align with the latest React Native standards.The text was updated successfully, but these errors were encountered: