mvfsillva/dialetus-service

problem with deploy in now 2

mvfsillva opened this issue · 1 comments

Description

After requesting the Zeit to upgrade to now 2, it does not recognize __dirname so the dialects in JSON are not loaded

apparently, __dirname is a known problem in now/zeit

Expected behavior

image

Screenshots

The Problem:
image

Additional context

vercel/ncc#297
https://spectrum.chat/zeit/now/now-2-with-problems-in-deploy-it-does-not-load-json-data~a2c385a4-cffd-4424-95ee-a5725a1a6dbd

image

I moved the API for Heroku