Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
  1. Home
  2. General
  3. NPM braincloud package install

NPM braincloud package install

Scheduled Pinned Locked Moved General
node.jsnpm
2 Posts 2 Posters 824 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Carlos Barcenilla
    wrote on last edited by
    #1

    Hi

    I am trying to install the braincloud npm package and it cannot solve a dependency. I have been looking for that async storage 2.4.2 package and I cannot find it anywhere, in https://www.npmjs.com/package/@react-native-community/async-storage there is no such version, and it is a deprecated package. On the replacement site https://www.npmjs.com/package/@react-native-async-storage/async-storage the latest version is 1.15.8.
    I understand I will not be needing that package, but I do not know how to skip its installation. Could you help me with this?

    npm WARN ERESOLVE overriding peer dependency
    npm WARN While resolving: braincloud@4.8.0
    npm WARN Found: @react-native-community/async-storage@undefined
    npm WARN node_modules/@react-native-community/async-storage
    npm WARN
    npm WARN Could not resolve dependency:
    npm WARN peer @react-native-community/async-storage@"^2.4.2" from braincloud@4.8.0
    npm WARN node_modules/braincloud
    npm WARN   braincloud@"*" from the root project
    npm ERR! code ETARGET
    npm ERR! notarget No matching version found for @react-native-community/async-storage@^2.4.2.
    npm ERR! notarget In most cases you or one of your dependencies are requesting
    npm ERR! notarget a package version that doesn't exist.
    
    1 Reply Last reply
    0
    • J Offline
      J Offline
      JasonL
      bitHeads
      wrote on last edited by
      #2

      You can bypass the peer dependencies by adding --legacy-peer-deps flag to your npm install. After modifying package.json, then use npm-install-peers to install the rest of peer dependencies.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Solved
      • Unsolved
      • Users