The objectMapping option appears to be missing

After updating our staging environment to the latest FA and updating node to version v15.11.0 I am seeing the errors below.

Environment:

$ npm outdated
Package          Current  Wanted   Latest   Location  
chalk           1.1.3            1.1.3   4.1.0   roadsync2
cookie-parser   1.4.4            1.4.4   1.4.5   roadsync2
debug           4.0.1            4.0.1   4.3.1   roadsync2
dotenv          6.1.0            6.1.0   8.2.0   roadsync2
express         4.16.4           4.16.4  4.17.1  roadsync2
express-jwt     5.3.1            5.3.1   6.0.0   roadsync2
forest-express  7.10.1           7.10.1  8.0.5   roadsync2
morgan          1.9.1            1.9.1   1.10.0  roadsync2
pg              8.2.2            8.2.2   8.5.1   roadsync2
sequelize       5.15.2           5.15.2  6.5.0   roadsync2
undefined

Errors Below:

$ npm start

> roadsync2@0.0.1 start

> node ./server.js

[forest] 🌳🌳🌳 The objectMapping option appears to be missing. Please make sure it is set correctly.

{}

Your application is listening on port 3310.

Your admin panel is available here: https://app.forestadmin.com/projects

OPTIONS /forest/sessions 204 0 - 2.314 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 12.396 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 2.119 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 1.490 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 1.440 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 1.391 ms

[forest] 🌳🌳🌳 The Liana has not been initialized to enable the authentication.

{}

POST /forest/sessions 401 92 - 1.432 ms

Hello @Jack_Roberts,

It looks like you migrated to the V7 version of Forest Admin.
Did you correctly follow the migration steps in the documentation?

Your issue is related to the breaking changes

The liana initialization now takes objectMapping and connections as parameters (see lines 8 and 9).

Let me know if it helps :slight_smile: