Mmmh we have another thread with the same error here. Otherwise, it seems this is an error that can appear when the NODE_ENV environment variable isn’t set as shown here.
Please let me now if one of those helps to solve your issue