We have changed our pricing. Flexmonster Software License Agreement was also updated (list of changes)

Error with Next Build

Answered
Henry Tindal asked on January 7, 2025

Hello,

We are getting the following error when trying to build our app (next build):

Failed to compile.

 

./node_modules/react-flexmonster/node_modules/flexmonster/flexmonster.full.js

Error: Failed to read source code from C:\Users\username\GitHub\trading-app-frontend\node_modules\react-flexmonster\node_modules\flexmonster\flexmonster.full.js

 

Caused by:

    stream did not contain valid UTF-8

 

Import trace for requested module:

./node_modules/react-flexmonster/node_modules/flexmonster/flexmonster.full.js

./node_modules/react-flexmonster/build/index.js

./components/pivot-wrapper/1.0.0/PivotWrapper.tsx

./app/apps/gas/europe/trader-dashboard/positions/_page-versions/1.0.0/EuropeGasNetPositions.tsx

./app/apps/gas/europe/trader-dashboard/positions/_page-versions/ lazy ^\.\/.*$ namespace object

./app/apps/gas/europe/trader-dashboard/positions/page.tsx

 

Appreciate the help.

Henry

4 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 8, 2025

Hello, Henry!

Thank you for reaching out to us.

Our team could not reproduce this behavior using our sample Nextjs integration from GitHub. We recommend using our sample project as a reference to compare with your project to identify the root cause of the issue.

Please let us know if this recommendation helped you.

Best Regards,
Maksym

Public
Maksym Diachenko Maksym Diachenko Flexmonster 6 days ago

Hello, Henry!

Hope you are doing well.
We are wondering if you could resolve the issue with the Nextjs project build.
Please let us know if any further assistance is necessary.

Best Regards,
Maksym

Public
Henry Tindal 6 days ago

Hi Maksym,

Sorry for not getting back to you. 

Yes, the issue was fixed. It was one of those ones that went away, but I have no idea how. Not much use to anyone else...

 

Thank you

Public
Maksym Diachenko Maksym Diachenko Flexmonster 5 days ago

Hello, Henry!

Thank you for your reply.
We are glad to hear that this issue was resolved.
Feel free to contact us if more questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer