react-file-input icon indicating copy to clipboard operation
react-file-input copied to clipboard

Not found in npm

Open M-Husein opened this issue 7 years ago • 20 comments

Hi,

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

M-Husein avatar Aug 16 '18 18:08 M-Husein

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.

mdrazyk avatar Aug 18 '18 13:08 mdrazyk

Hi @M-Husein,

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

adam-golab avatar Aug 20 '18 11:08 adam-golab

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 avatar Aug 21 '18 05:08 M-Husein

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

M-Husein avatar Aug 21 '18 05:08 M-Husein

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 avatar Aug 21 '18 09:08 Lukasz-pluszczewski

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

Lukasz-pluszczewski avatar Aug 21 '18 10:08 Lukasz-pluszczewski

@Lukasz-pluszczewski

Thank you very much,

M-Husein avatar Aug 21 '18 18:08 M-Husein

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

DarekPanwicz avatar Oct 28 '19 16:10 DarekPanwicz

@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

piotr-s-brainhub avatar Oct 28 '19 17:10 piotr-s-brainhub

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

gsouf avatar Jan 20 '20 20:01 gsouf

@gsouf

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

piotr-s-brainhub avatar Jan 21 '20 17:01 piotr-s-brainhub

@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

gsouf avatar Jan 21 '20 20:01 gsouf

@gsouf

does it work now?

piotr-s-brainhub avatar Jan 21 '20 21:01 piotr-s-brainhub

@piotr-s-brainhub yes it does thank you :+1:

gsouf avatar Jan 21 '20 21:01 gsouf

does @brainhubeu/[email protected] work for you? could you check it in any real usage?

piotr-s-brainhub avatar Jan 21 '20 22:01 piotr-s-brainhub

@gsouf ?

piotr-s-brainhub avatar Jan 22 '20 18:01 piotr-s-brainhub

@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

gsouf avatar Jan 30 '20 13:01 gsouf

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

arGaleanal avatar Apr 16 '20 23:04 arGaleanal

@gsouf @arGaleanal

does @brainhubeu/[email protected] work correctly for you?

piotr-s-brainhub avatar May 13 '20 14:05 piotr-s-brainhub

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

PeteDuncanson avatar Dec 18 '20 07:12 PeteDuncanson