When I set NODE_ENV=development everything goes smoothly and starts, but when I set it to production it shows me this error.
I already tried to reinstall all node modules.
I need to fix this because I want to deploy to heroku with NODE_ENV=production, and there I'm getting the same error.
