Running now dev
works fine for the Gatsby website and I can see it correctly at http://localhost:3000
.
But as soon as I browse to /api/locations
it doesn't work anymore:
> GET /api/locations
> Building @now/node:api/locations/index.js
downloading user files...
installing dependencies for user's code...
installing to /var/folders/4y/mlqsnhbx4yx7kwfcg8s3b9880000gn/T/co.zeit.now/dev/workPaths/7fvnfnob/api/locations
running user script...
running "npm run now-build"