Sequelize Update 8.5.14 to 9.2.10 Failed to listen to Port 3310

Feature(s) impacted

Forest admin upgrade

Observed behavior

Upgrading forest-express-sequelize to 9.2.10 breaks when we try to deploy we get an error that it can’t listen to our port:3310 this only happens when we try to upgrade we’re still able to work on 8.5.14 and still deploy changes when using this version. Below I’ll output our google cloud error log seems like it might be an issue on forest admin package side

Expected behavior

Failure Logs

 SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/src/app/node_modules/@forestadmin/forestadmin-client/dist/build-application-services.js:6:32)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/src/app/node_modules/@forestadmin/forestadmin-client/dist/index.js:21:54)
    at Module._compile (internal/modules/cjs/loader.js:999:30) 

Context

  • Project name: Ourboro
  • Team name: …
  • Environment name: …
  • Agent (forest package) name & version: … forest-express-sequelize 8.5.14
  • Database type: postgres
  • Recent changes made on your end if any: Just upgrade to 9.2.10

Hello @Zero,

Which version of node do you use? You can check with node --version.

The docs don’t indicate any special things to change in the source code when upgrading from v8 to v9, but this error clearly indicates that there is some incompatibility, probably with the version of node that you are using.

The node version that we’re on 16.16.0

Thanks for your answer.

I tested locally with node 16.16.0 and could not reproduce.

I did not spot in your original message that you experienced the issue when deploying to Google cloud. Does the version 16 correspond to the runtime version on your Google cloud runtime environment, or does it correspond to your local version?

I would like to be sure that the version that is used on your Google cloud environment is compatible with forest-express-sequelize.

Hi you were right we behind one version, thank you for the help