Skip to content
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

Can't install dependencies - iOS not working #16

Open
whoisryosuke opened this issue Sep 8, 2020 · 0 comments
Open

Can't install dependencies - iOS not working #16

whoisryosuke opened this issue Sep 8, 2020 · 0 comments

Comments

@whoisryosuke
Copy link

Tried to sample this project today and couldn't get past installing dependencies.

Process

  1. Git clone project
  2. yarn
  3. Receive error:
Ryos-MacBook-Pro:Instagram ryo$ yarn
yarn install v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error Couldn't find match for "eaf091b59cee9509e91a83bab10eb244a78cb9f3" in "refs/heads/@evanbacon/child-should-invoke-dangerouslyRescheduleEvaluate,refs/heads/@evanbacon/event/update-how-events-are-set,refs/heads/@evanbacon/fix-animated-param,refs/heads/@evanbacon/fix-for-loops-passing-nullish-values,refs/heads/@evanbacon/pass-all-nodes-to-sanitize,refs/heads/@kuba/concat-docs,refs/heads/@kuba/docs-improvements,refs/heads/@kuba/e2e,refs/heads/@kuba/optimize-CI,refs/heads/@osdnk/codegen,refs/heads/@osdnk/direct-fixes,refs/heads/@osdnk/perf-experiment,refs/heads/avoid_callbacks,refs/heads/feedback,refs/heads/gh-pages,refs/heads/interpolate-transition,refs/heads/master,refs/heads/native-event-code-improvements,refs/heads/optimize_nodes,refs/heads/revert-401-update-61,refs/heads/rpn,refs/heads/transitioning-playground,refs/tags/1.0.0,refs/tags/1.0.0-alpha.10,refs/tags/1.0.0-alpha.3,refs/tags/1.0.0-alpha.5,refs/tags/1.0.0-alpha.9,refs/tags/1.0.1,refs/tags/1.1.0,refs/tags/1.2.0,refs/tags/1.3.0,refs/tags/1.3.1,refs/tags/1.3.2,refs/tags/1.4.0" for "git://github.com/EvanBacon/react-native-reanimated.git".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Tried using NPM, got this error:


Ryos-MacBook-Pro:Instagram ryo$ npm i
npm WARN deprecated [email protected]: This version of React Navigation Stack is no longer supported. Please upgrade to 2.x.x. See https://reactnavigation.org/docs/4.x/upgrading-from-3.x#react-navigation-stack for instructions.
npm WARN deprecated [email protected]: Check out `lodash.merge` or `merge-options` instead.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm ERR! code 1
npm ERR! Command failed: git checkout refs/heads/@evanbacon/more-web-support
npm ERR! error: pathspec 'refs/heads/@evanbacon/more-web-support' did not match any file(s) known to git
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ryo/.npm/_logs/2020-09-08T21_02_10_532Z-debug.log

Solution?

I removed the specific package ref from the package.json and changed it to the current version of the distribution package:

    "react-native-reanimated": "^1.13.0",

This allows dependencies to install and yarn start to run properly. I can then start the web project and browse.

Using the iOS app gives me this error when it finishes loading (QR code -> open Expo -> IG splash screen + loader -> error):

Unable to resolve module `./assets/brand/[email protected]` from `/Users/ryo/Development/React Native/Instagram/Assets.js`: The module `./assets/brand/[email protected]` could not be found from `/Users/ryo/Development/React Native/Instagram/Assets.js`. Indeed, none of these files exist:
  * `[email protected]`
  * `/Users/ryo/Development/React Native/Instagram/assets/brand/[email protected]/index(.native||.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.wasm|.native.wasm|.wasm)`

ABI35_0_0facebook::ReactABI35_0_0::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
ABI35_0_0facebook::ReactABI35_0_0::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
CAFEEE86-4C94-3AC9-8853-BFE11F70C0F4
CAFEEE86-4C94-3AC9-8853-BFE11F70C0F4
_dispatch_main_queue_callback_4CF
AF42303F-57B6-3C11-8F18-8E80ABF7D886
AF42303F-57B6-3C11-8F18-8E80ABF7D886
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
Exponent
E5E56A85-E4D6-332E-9F32-FED4B986AFE0

Looking at the project folder, the Instagram PNG is there in the correct place.

Other Random issues

  • Can't close Stories in desktop web. The "X" button in the top right isn't clickable. Requires the user to refresh the page to get out of the story view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant