I am at a loss why my Phoenix application, using releases, won’t deploy. From time to time the logs show this error:
May 21 11:36:06 AM Module build failed (from ./node_modules/sass-loader/dist/cjs.js): May 21 11:36:06 AM Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93)
This is minor although pretty weird since I get this error 1 out of 5 times, and Render wants me to use node-sass 4.14.1
But mostly I can’t connect with the database:
# ** (RuntimeError) connect raised KeyError exception: key :database not found. The exception details are hidden, as they may contain sensitive data such as database credentials. You may set :show_sensitive_data_on_connection_error to true when starting your connection if you wish to see all of the details
I have set :show_sensitive_data_on_connection_error to true, but no details appear during deployment.
From the shell I can connect with the database with the internal connection string. So the database is up and running fine.
Although I get the message “Release created at _build/prod/rel/******!”, no _build folder is created!
I am out of ideas after struggling for many hours. Help is appreciated,