ForestAdmin / forest-express-sequelize

🌱 Express/Sequelize agent for Forest Admin to integrate directly to your existing Express/Sequelize backend application.
https://www.forestadmin.com
GNU General Public License v3.0
190 stars 48 forks source link

TypeError: Cannot read property 'replace' of null #499

Closed pierrelaburthe closed 4 years ago

pierrelaburthe commented 4 years ago

Hello, I am trying to set up Forest Admin using the NPM method, and it seems broken.

Here is what I have : ➜ ~ npm install -g lumber-cli@latest -s [(2.6.3)]

/usr/local/bin/lumber -> /usr/local/lib/node_modules/lumber-cli/lumber.js

➜ ~ lumber generate “Logora-off” --connection-url “postgres://XXXXX:XXXXXX%XXXXX@localhost:5432/ebdb” --ssl true --schema “public” --application-host “localhost” --application-port “3310" --email “pierre@XXXXX.fr” --token “XXXXXXXXXXXXXXX" && cd “Logora-off” && npm install -s ? What's your email address? pierre@XXXXX.fr

Cannot generate your project. An unexpected error occurred. Please reach out for help in our Developers community (https://community.forestadmin.com/) or create a Github issue with following error: TypeError: Cannot read property 'replace' of null

arnaudbesnier commented 4 years ago

Hi @pierrelaburthe, I think you made a mistake about you host during the configuration step.

I edited your initial post to remove the sensitive database credentials you exposed publicly.

Can you contact me in PM in our community forum to let me share your well formatted database url?

arnaudbesnier commented 4 years ago

Credentials mistake confirmed. Solved in PM.