Build Error

Answered
David Hand asked on March 16, 2023

We are getting the following error in our build process.  It worked fine with Webdatarocks and in the developers local environment, but when we push to staging we get the following error.  We are deploying to a AWS Fargate container in staging.  What other information do you require to help us figure this out?
 

null_resource.push (local-exec): ModuleNotFoundError: Module not found: Error: Can't resolve 'rgbcolor' in '/usr/src/app/node_modules/flexmonster'

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster March 16, 2023

Hello, David!

Thank you for contacting us.

Our team supposes that it is an environment-specific issue that appeared while deploying the project to AWS. Please ensure there are no explicitly specified paths to WebDataROcks modules that need to be changed to Flexmonster ones.

Looking forward to hearing from you.

Regards,
Solomiia

Public
David Hand March 16, 2023

It actually ended up being a yarn version issue.  The yarn issue forced a node version change as well.  All is working now.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster March 17, 2023

Hello!

Thank you for getting back to us.

We are glad to hear that everything works well now.

You are welcome to contact us in case of any other questions.

Regards,
Solomiia

Please login or Register to Submit Answer