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

Not found in npm #16

Open
M-Husein opened this issue Aug 16, 2018 · 20 comments
Open

Not found in npm #16

M-Husein opened this issue Aug 16, 2018 · 20 comments

Comments

@M-Husein
Copy link

Hi,

Thanks for share your work.
But I can't find your package in npm, please give me guide to install your package.

@mdrazyk
Copy link

mdrazyk commented Aug 18, 2018

Hi M-Husein,

I've checked what happened and you are right, the package is missing on npm. We will try to solve this.

If you want to use react-file-input now, you can clone the repo directly into your project.

@adam-golab
Copy link
Contributor

Hi @M-Husein,

It's already published on npm. You can find it here: https://www.npmjs.com/package/@brainhubeu/react-file-input

@M-Husein
Copy link
Author

Hi, @mdrazyk

Thanks for reply ;)

I have clone this repo & follow your guide npm run dev:example to tun example folder.
But I have error & if open http://localhost:3000 I have Cannot GET /

cmd_2018-08-21_11-59-52

@M-Husein
Copy link
Author

Hi @adam-golab

Thanks for reply ;)

I follow guide in npm link you share, but I have error module not found.
Please help me.

Thanks

@Lukasz-pluszczewski
Copy link
Member

Lukasz-pluszczewski commented Aug 21, 2018

Sorry for the inconvenience.
Please follow the steps below to run the example app and let us know what's the result:

  1. Make sure you are on branch master.
  2. Remove the node_modules directory (rm -rf node_modules)
  3. Make sure that you have the correct version of node (we tested the example app on node 8, 9 and 10)
  4. Install dependencies (npm i)
  5. Run the example app again (npm run dev)

We're investigating the issue with package. Stay tuned.

@Lukasz-pluszczewski
Copy link
Member

@M-Husein
Fix is on the way. We'll do our best to publish it on NPM as soon as possible.

@M-Husein
Copy link
Author

@Lukasz-pluszczewski

Thank you very much,

@mdrazyk mdrazyk closed this as completed Oct 4, 2018
@DarekPanwicz
Copy link

Siemanko Lukasz

Mi ta biblioteka tez nie dziala :) Module not found: Can't resolve '@brainhubeu/react-file-input' in '/Use... Dodam ze wywalem juz katalog node i installowalem npm i

@piotr-s-brainhub
Copy link
Contributor

@DarekPanwicz

For me both npm i --save @brainhubeu/react-file-input and yarn add @brainhubeu/react-file-input work.

Could you provide the following?

  • node version
  • npm version
  • yarn version if you use yarn
  • OS with version

@gsouf
Copy link

gsouf commented Jan 20, 2020

@piotr-s-brainhub it's still broken, see even npm cannot find readme: https://www.npmjs.com/package/@brainhubeu/react-file-input

@piotr-s-brainhub
Copy link
Contributor

@gsouf

does @brainhubeu/react-file-input work for you now?

@gsouf
Copy link

gsouf commented Jan 21, 2020

@piotr-s-brainhub yes but for some reason the entry file from package.json does not exist: "main": "./lib/react-file-input.js". Correct me if I'm wront but main is what is imported when we do import FileInput2 from '@brainhubeu/react-file-input;

See screenshot of node_modules dir:
image

@piotr-s-brainhub
Copy link
Contributor

@gsouf

does it work now?

@gsouf
Copy link

gsouf commented Jan 21, 2020

@piotr-s-brainhub yes it does thank you 👍

@piotr-s-brainhub
Copy link
Contributor

does @brainhubeu/react-file-input@0.7.13 work for you?
could you check it in any real usage?

@piotr-s-brainhub
Copy link
Contributor

@gsouf ?

@gsouf
Copy link

gsouf commented Jan 30, 2020

@piotr-s-brainhub the package does work, however the styles and features are not like in the demo. I think we should load some styles or something that is not specified in the setup guide

@arGaleanal
Copy link

it's excellent the component but it does not work brainhubeu/react-file-input ^0.7.20 to npm 6.14.4 and react ^16.13.1

the error message :
Module not found: Can't resolve '@brainhubeu/react-file-input' in the x file

@piotr-s-brainhub
Copy link
Contributor

@gsouf @arGaleanal

does @brainhubeu/react-file-input@0.7.21 work correctly for you?

@PeteDuncanson
Copy link

@piotr-s-brainhub I had the same error, installed @0.7.21 makes it work though 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests