Comments (21)
Running yarn with using `"@dudigital/react-native-zoomable-view": "1.0.16" in package.json works.
from react-native-zoomable-view.
I deleted yarn.lock and re add it , it works find, thanks
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ @dudigital/[email protected]
info All dependencies
└─ @dudigital/[email protected]
✨ Done in 7.49s.
from react-native-zoomable-view.
in that case this is unuseable with latest expo SDK43 which is still on 0.64.3
from react-native-zoomable-view.
Works fine with 1.0.16.
I think this issue is related to ^1.1.
from react-native-zoomable-view.
guys, i've made it work by first delete yarn.lock then run yarn in cmd to re-generate yarn.lock. then if you try to run it now, build would be fail with the error: error Failed to launch emulator. Reason: Emulator exited before boot.. , all you have to do is delete your current avd and create a new one. then run it again and you will be good to go
from react-native-zoomable-view.
@ktjd123 can you please provide more details and an example?
when does this happen? during yarn start, yarn android or yarn install?
And what react native version are you using?
from react-native-zoomable-view.
@SimonErich Thank you for fast reply. with install
The command is
yarn add @dudigital/react-native-zoomable-view
the result is
yarn add @dudigital/react-native-zoomable-view
yarn add v1.22.5
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > @os-team/[email protected]" has incorrect peer dependency "react-native@>=0.64".
warning " > [email protected]" has unmet peer dependency "prop-types@*".
warning " > [email protected]" has unmet peer dependency "query-string@*".
warning " > [email protected]" has unmet peer dependency "react-native-windows@*".
warning " > [email protected]" has unmet peer dependency "react-native-windows@>=0.62.0".
warning " > [email protected]" has unmet peer dependency "react-dom@^0.14 || ^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0".
warning "@dudigital/react-native-zoomable-view > [email protected]" has incorrect peer dependency "[email protected]".
warning "@dudigital/react-native-zoomable-view > react-native > react-native-codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\"".
info If you think this is a bug, please open a bug report with the information provided in "/Users/peter/App/Artgravia/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
React's version is 16.13.1
React native's version is 0.63.4
from react-native-zoomable-view.
yarn command fails with
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\""
+1
from react-native-zoomable-view.
yarn command fails with
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\""
+1 Same problem here!
from react-native-zoomable-view.
Hello guys,
can you maybe try to delete your yarn.lock file?
See: yarnpkg/yarn#7244
I cannot reproduce it right now and I guess it is a glitch with yarn and the fact, that the first version we pushed was invalid and reverted. Sorry for that.
from react-native-zoomable-view.
This is what I did:
rm -rf yarn.lock node_modules
yarn
yarn add @dudigital/react-native-zoomable-view
Result:
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\"".
from react-native-zoomable-view.
This is what I did:
rm -rf yarn.lock node_modules yarn yarn add @dudigital/react-native-zoomable-view
Result:
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\"".
+1, still getting this error
from react-native-zoomable-view.
Thanks for trying it out.
Can you provide more details about your project?
Did you add react-native-zoomable-view for the first time or upgrade?
Do you use Expo or a boilerplate?
Can you reproduce it locally, if you install it to a new project, that you just created with?
react-native init
from react-native-zoomable-view.
I was installing react-native-zoomable-view for the first time in my project created using react-native init
from react-native-zoomable-view.
This is what I did:
rm -rf yarn.lock node_modules yarn yarn add @dudigital/react-native-zoomable-view
Result:
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\"".
You'll encounter this error whether your upgrading or installing it for the first time.
from react-native-zoomable-view.
Thanks for trying it out.
Can you provide more details about your project?Did you add react-native-zoomable-view for the first time or upgrade?
Do you use Expo or a boilerplate?Can you reproduce it locally, if you install it to a new project, that you just created with?
react-native init
In my case, I got that error when I was trying to upgrade, then I tried to remove it then install it again and got the same error.
The app was created with react-native init
, it's not using Expo.
I tried
npx react-native init AwesomeProject
cd AwesomeProject
yarn add @dudigital/react-native-zoomable-view
and it was installed successfully.
EDIT 1:
I just tried upgrading it again on my project, and it worked.
from react-native-zoomable-view.
Also getting this issue. Just cloned existing project with 1.0.15 version. Tried to install modules for the first time with yarn
command fails:
error An unexpected error occurred: "expected hoisted manifest for \"@dudigital/react-native-zoomable-view#react-native#@react-native-community/cli#@react-native-community/cli-hermes\"".
from react-native-zoomable-view.
It happens when you have yarn workspaces configuration in your project.
You should remove react-native from the dependencies
from react-native-zoomable-view.
I can confirm I've got the same issue. Deleting yarn.lock and re-generating causes the same issue (and is not an acceptable solution in the first place). These are my dependencies:
"dependencies": {
"@apollo/client": "^3.3.15",
"@react-navigation/material-top-tabs": "^5.1.3",
"@reduxjs/toolkit": "^1.5.1",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-draggable-flatlist": "^2.6.2",
"react-native-popup-menu": "0.15.10",
"react-native-reanimated": "1.13.3",
"react-native-safe-area-context": "3.2.0",
"react-native-settings-list": "^1.8.0",
"react-native-splash-screen": "3.0.6",
"react-native-startup-time": "^2.0.0",
"react-native-tab-view": "2.15.0",
"react-native-toast-message": "^1.4.9",
"react-native-zeroconf": "^0.13.2",
"react-navigation-props-mapper": "^2.0.0",
"react-redux": "^7.2.4",
"redux-persist": "~6.0.0",
"redux-sentry-middleware": "^0.2.2",
"redux-thunk": "^2.3.0",
"semver": "^7.3.5"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.9.0",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/react-native": "^7.2.0",
"@types/express": "^4.17.8",
"@types/jest": "^25.2.1",
"@types/node": "^14.14.6",
"@types/react-native": "^0.63.30",
"@types/react-native-zeroconf": "^0.12.0",
"@types/react-test-renderer": "^16.9.2",
"@types/redux-mock-store": "^1.0.2",
"abortcontroller-polyfill": "^1.7.1",
"apollo": "^2.32.8",
"babel-jest": "^24.9.0",
"babel-plugin-module-resolver": "^4.0.0",
"cross-fetch": "^3.0.6",
"dayjs": "^1.9.6",
"detox": "18.6.2",
"detox-recorder": "^1.0.151",
"eslint": "^7.25.0",
"eslint-config-hudl-react-native": "^0.2.0",
"eslint-config-prettier": "^8.3.0",
"express": "^4.17.1",
"jest": "^24.9.0",
"jest-circus": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^12.2.0",
"jest-teamcity": "^1.9.0",
"metro-react-native-babel-preset": "^0.59.0",
"react-native-cli": "^2.0.1",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.5.4",
"replace-in-file": "^6.1.0",
"typescript": "4.2.4"
},
from react-native-zoomable-view.
If you change your react-native
dependency to 0.65.1
it will work. Versions below that fail with the above error.
from react-native-zoomable-view.
If you change your
react-native
dependency to0.65.1
it will work. Versions below that fail with the above error.
It will not work. I updated rn from 0.64.1 to 0.65.1, it gives the following error
from react-native-zoomable-view.
Related Issues (20)
- Better description of the zoomLevel in the documentation HOT 4
- Performance error when zooming HOT 1
- Pinch zoom not centering on users fingers HOT 3
- This package support with IOS or not?
- Getting the same error between all hot reloads on Android
- Getting error when running build on react native app
- bindToBorder Doesn't work. HOT 4
- Is there a way to get the X, Y, Width, and Height of the original image from the section in view? HOT 1
- [feature] Add a feature to stay at maxZoom instead of resetting to initialZoom
- What the ...., thousands of lines of code? HOT 16
- zoomTo doesn't work with multiple images HOT 1
- Cannot scroll left to right without first scrolling up or down.
- return to original size after zoom ends
- If the InitialOffset prop is set, the zoomableView "jumps" on the first pan...
- TouchableOpacity isn't working inside <ReactNativeZoomableView>
- zoom methods (zoomBy, zoomTo etc.) are not found inside ref HOT 1
- Possibility to show videos inside ReactNativeZoomableView
- How Can i stop default double tap ?
- Disable drag HOT 1
- onpress event overate shift behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-zoomable-view.