Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

Failed to install Flexmonster Pivot wrapper for React projects

Answered
Jisu Kim asked on April 26, 2024

I tried to add Flexmonster to the Next.js project by executing the flexmonster add react-flexmonster command, but the message failed is output as shown below.

I suspect a network problem, so please let me know how to fix it or how to check the log.

================================

$ flexmonster add react-flexmonster
Tool: react-flexmonster

--- ADD ---
× Install Flexmonster Pivot wrapper for React projects (It may take a while)
→ Failed to install Flexmonster Pivot wrapper for React projects

Failed to install Flexmonster Pivot wrapper for React projects

================================

2 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster April 26, 2024

Hello, Jisu!

Thank you for reporting this issue.

As you have mentioned, the issue is most likely caused by the network limitations. Flexmonster CLI uses the npm install command to load the react-flexmonster package from the NPM registry. Perhaps your local network or proxy restricts access to our package from NPM. We suggest installing the package directly via NPM using npm install react-flexmonster command. This installation method will produce logs in case of failure, which may help trace the reason for installation failure.

Additionally, we recommend checking our documentation for integration with Next.js: https://www.flexmonster.com/doc/integration-with-next-js/ 

We are looking forward to hearing your feedback.

Best Regards,
Maksym

Public
Maksym Diachenko Maksym Diachenko Flexmonster May 15, 2024

Hello, Jisu!

Hope you are doing well.
We are wondering if you were able to resolve the issue with downloading the react-flexmonster package from NPM.
Looking forward to hearing from you.

Best Regards,
Maksym

Please login or Register to Submit Answer