react-paypal-button-v2: [BUG] ssr rendering on netlify (rimraf issue)

the version 2.4 didn’t build on Netlify because your module tries to use rimraf without linking it as a dependency. npm install rimraf -s fixed it.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Hi,

Install latest to solve that platform error. Thanks.

🔷 Install

$ npm install react-paypal-button-v2@2.4.1 --save

or

$ yarn add react-paypal-button-v2@2.4.1

@Luehang can you add rimraf as a dependency? thanks!