react-comments-section icon indicating copy to clipboard operation
react-comments-section copied to clipboard

uuid dependency not made explicit in package,json

Open diegonc opened this issue 1 year ago • 0 comments

https://github.com/RiyaNegi/react-comments-section/blob/0bcee5a0316705125e6f8dd0b1b52c6bcae4b16a/src/components/InputField/Index.tsx#L5

At this line there's a require of the uuid package which is not declared in the dependencies field of package.json. Also, as mentioned, it uses the require syntax while others modules use the import syntax.

As a workaround npm install it in your own project using react-comments-section.

diegonc avatar Jan 31 '24 18:01 diegonc