Giter VIP home page Giter VIP logo

Comments (21)

andac-ozcan avatar andac-ozcan commented on June 18, 2024 7

Running yarn with using `"@dudigital/react-native-zoomable-view": "1.0.16" in package.json works.

from react-native-zoomable-view.

ariontechs avatar ariontechs commented on June 18, 2024 6

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.

vbylen avatar vbylen commented on June 18, 2024 5

in that case this is unuseable with latest expo SDK43 which is still on 0.64.3

from react-native-zoomable-view.

ktjd123 avatar ktjd123 commented on June 18, 2024 3

Works fine with 1.0.16.

I think this issue is related to ^1.1.

from react-native-zoomable-view.

ngotrongphuc avatar ngotrongphuc commented on June 18, 2024 1

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.

SimonErich avatar SimonErich commented on June 18, 2024

@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.

ktjd123 avatar ktjd123 commented on June 18, 2024

@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.

harshal2030 avatar harshal2030 commented on June 18, 2024

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.

giovanesantossilva avatar giovanesantossilva commented on June 18, 2024

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.

SimonErich avatar SimonErich commented on June 18, 2024

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.

aprilmintacpineda avatar aprilmintacpineda commented on June 18, 2024

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.

harshal2030 avatar harshal2030 commented on June 18, 2024

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.

SimonErich avatar SimonErich commented on June 18, 2024

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.

harshal2030 avatar harshal2030 commented on June 18, 2024

I was installing react-native-zoomable-view for the first time in my project created using react-native init

from react-native-zoomable-view.

aprilmintacpineda avatar aprilmintacpineda commented on June 18, 2024

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.

aprilmintacpineda avatar aprilmintacpineda commented on June 18, 2024

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.

shevchenkona19 avatar shevchenkona19 commented on June 18, 2024

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:
image
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.

zivchen avatar zivchen commented on June 18, 2024

It happens when you have yarn workspaces configuration in your project.
You should remove react-native from the dependencies

from react-native-zoomable-view.

Vannevelj avatar Vannevelj commented on June 18, 2024

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.

Vannevelj avatar Vannevelj commented on June 18, 2024

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.

ksielyov avatar ksielyov commented on June 18, 2024

If you change your react-native dependency to 0.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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.