Comments (20)
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.
@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.
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.
Amazing @charkour !
from react-reactions.
Thanks @charkour!
from react-reactions.
thanks a lot @charkour
from react-reactions.
Same issue here.
from react-reactions.
Same here. I'm using yarn and the import fails to find react-reactions
despite it being in node_modules
from react-reactions.
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.
Do you have any suggestions on that?
from react-reactions.
Same issue here.
from react-reactions.
I am also having the same issue, Did any of you figured out the issue?
from react-reactions.
I also have the same issue. Please fix the bug.
from react-reactions.
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.
Any plans on fixing this one up? Ive seen there is a pull request ready to be pushed
from react-reactions.
@randomdipesh I'm getting undefined when I'm using it, can you please help?
from react-reactions.
@raghav4 did you tried my repo?
Install it using ,
npm i randomdipesh/react-reactions
from react-reactions.
@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?
Right now I'm getting this,
from react-reactions.
@raghav4 Did you end up resolving this issue? Happening to me as well
from react-reactions.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-reactions.