Can't resolve 'react-copy-to-clipboard' in '/opt/build/repo/src'

I need advice to debug deploy Netlify App

I implemented a copy icon using react-copy-to-clipboard package but my deployment failed. Is the package not deployable on netlify?

I got an email response from Hrishikesh saying I need to have the package in my package.json but I have used npm install several times but nothing has changed.

I’ve gotten it fixed. Thanks a lot

I had to manually add the dependencies and their version in my package.json

1 Like

Hi, @brian-o-mars. Please feel free to share your solution here if you want to. Someone else searching here might benefit from what you discovered.