Giter VIP home page Giter VIP logo

Comments (20)

randomdipesh avatar randomdipesh commented on August 30, 2024 19

The lib folder was not getting pushed to github as it was added on .gitignore . I faced the same problem as other commenters and cloned the repo and installed its all dependencies and compiled the project , removed lib from gitignore and tested and it worked .
For anyone facing this problem , install the fixed version of this module .
You can install it using
npm i randomdipesh/react-reactions

from react-reactions.

charkour avatar charkour commented on August 30, 2024 15

@ARamss, I have forked this repo and have published a working version of the library (with TypeScript support).

npm i @charkour/react-reactions

from react-reactions.

raghav4 avatar raghav4 commented on August 30, 2024 1

It's been so long @prathik-naidu, but what I remember is you need to pass the array of emoji's to make it work. Try doing that, let me know if that works.

from react-reactions.

Miltonr87 avatar Miltonr87 commented on August 30, 2024 1

Amazing @charkour !

from react-reactions.

xtrinch avatar xtrinch commented on August 30, 2024 1

Thanks @charkour!

from react-reactions.

ARamss avatar ARamss commented on August 30, 2024 1

thanks a lot @charkour

from react-reactions.

praisegeek avatar praisegeek commented on August 30, 2024

Same issue here.

from react-reactions.

iainbryson avatar iainbryson commented on August 30, 2024

Same here. I'm using yarn and the import fails to find react-reactions despite it being in node_modules

from react-reactions.

danfernand avatar danfernand commented on August 30, 2024

The problem is that the main file is pointing to lib/index but there is not lib folder. There is not transpile run command either.

from react-reactions.

Groovej avatar Groovej commented on August 30, 2024

Do you have any suggestions on that?

from react-reactions.

yingkeen avatar yingkeen commented on August 30, 2024

Same issue here.

from react-reactions.

khawerrind avatar khawerrind commented on August 30, 2024

I am also having the same issue, Did any of you figured out the issue?

from react-reactions.

anhmt90 avatar anhmt90 commented on August 30, 2024

I also have the same issue. Please fix the bug.

from react-reactions.

fuchsvomwalde avatar fuchsvomwalde commented on August 30, 2024

Hey folks, here is a workaround to get the missing lib folder created after installing your project dependencies (important, so that it will also work in CI builds etc.):
just add the following script to your package.json:
"postinstall": "yarn --cwd ./node_modules/react-reactions/"

Hope this might help you until the bug will be finally fixed.

from react-reactions.

amitneeman avatar amitneeman commented on August 30, 2024

Any plans on fixing this one up? Ive seen there is a pull request ready to be pushed

from react-reactions.

raghav4 avatar raghav4 commented on August 30, 2024

@randomdipesh I'm getting undefined when I'm using it, can you please help?

from react-reactions.

randomdipesh avatar randomdipesh commented on August 30, 2024

@raghav4 did you tried my repo?
Install it using ,
npm i randomdipesh/react-reactions

from react-reactions.

raghav4 avatar raghav4 commented on August 30, 2024

@raghav4 did you tried my repo?

Install it using ,

npm i randomdipesh/react-reactions

@randomdipesh Yes I did and it worked but I was asking how should I use it? I imported the component and used it <SlackCounter/> but it showed nothing, what I'm asking is how do I show the emojis

Precisely I want to use the <GithubCounter/> or <SlackCounter/> with the support of counter values, can you please suggest me how do I use it?

Here's what I'm Want
Screenshot 2020-05-02 at 5 31 21 PM

Right now I'm getting this,

Screenshot 2020-05-02 at 5 32 17 PM

from react-reactions.

prathik-naidu avatar prathik-naidu commented on August 30, 2024

@raghav4 Did you end up resolving this issue? Happening to me as well

from react-reactions.

ARamss avatar ARamss commented on August 30, 2024

@randomdipesh

Your repo is not installing on my project:

npm install randomdipesh/react-reactions
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/randomdipesh/react-reactions.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ramos\AppData\Roaming\npm-cache_logs\2021-01-03T03_53_00_993Z-debug.log

from react-reactions.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.