-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
Problem with setting up the project image picker issue #5761
Comments
Maybe patch-package was not applied correctly?
It's triggered on postinstall , but it seems it wasn't triggered correctly on your environment.Try to understand why it wasn't applied or apply everything from patches folder manually.
|
Post install and what file in specific in patch ? |
https://paste.myst.rs/skuw5ded here is 7.2.1 file |
I think there was a change in the library name or something |
Actually I faced with similar problem. I use yarn 4+ and a lot of patches just not applied. Even dericlty by git. I didin't realise that something like this could even happen. An example: master (v4.51)
I'm a bit confused :) |
For those who will be after me. Error It means you have to write a patch to delete Regarding differences yarn4 and yarn1. I noticed that yarn 1 downloads code via codeload using tar.gz, when yarn4 uses just hash commit. I solved this issue by adding to the package.json to the resolutions section a copy of a line from yarn1 lock file for a moot lib. |
I just ran these two command
yarn install yarn android
and this error occurred something related to the image picker
`needJobCoder@DESKTOP-G3MCU14 MINGW64 /c/openSource/rocker-react-native/Rocket.Chat.ReactNative/Rocket.Chat.ReactNative (develop)
$ yarn react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
yarn run v1.22.21
$ C:\openSource\rocker-react-native\Rocket.Chat.ReactNative\Rocket.Chat.ReactNative\node_modules.bin\react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
warn Package react-native-math-view contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
Welcome to Metro v0.80.6
Fast - Scalable - Integrated
error Unable to resolve module @react-native-community/picker from C:\openSource\rocker-react-native\Rocket.Chat.ReactNative\Rocket.Chat.ReactNative\node_modules\react-native-ui-lib\lib\components\WheelPicker\index.js: @react-native-community/picker could not be found within the project or in these directories:
node_modules\react-native-ui-lib\node_modules
node_modules
3 | import React, {Component} from 'react';
4 | import {DeviceEventEmitter, requireNativeComponent, StyleSheet, View} from 'react-native';
The text was updated successfully, but these errors were encountered: