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 lib as dependency #9

Closed
troZee opened this issue Jul 22, 2019 · 4 comments
Closed

Can't install lib as dependency #9

troZee opened this issue Jul 22, 2019 · 4 comments

Comments

@troZee
Copy link

troZee commented Jul 22, 2019

Bug

Command npm install @react-native-community/picker --save or yarn add @react-native-community/picker return 404.

Error log:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@react-native-community%2fpicker - Not found
npm ERR! 404 
npm ERR! 404  '@react-native-community/picker@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:

Environment info

  React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
      Memory: 367.23 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.14.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.4 AI-183.5429.30.34.5452501
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.8 => 0.59.8 
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2

Steps To Reproduce

Run above commands in terminal

Describe what you expected to happen:

Install dependencies properly

@troZee troZee changed the title Can't install in project as dependency Can't install lib as dependency Jul 22, 2019
@stanleycyang
Copy link

I'm seeing this happen as well. I'm not able to find this library on the npm directory

@troZee
Copy link
Author

troZee commented Jul 23, 2019

@jainkuniya can you change name property in package.json file to @react-native-community/picker and publish package to npm ?

@bartolkaruza
Copy link
Collaborator

hi there, I'm looking into this right now

@bartolkaruza
Copy link
Collaborator

The package is published now to npm https://www.npmjs.com/package/@react-native-community/picker

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

3 participants