Nodejs deployment issues with NPM package

Issues with deploying a nodejs web service. The build goes trough with OK status, but cannot start the service because of missing package. The render.com displays the log file, but trough the shell it cannot be accessed. The file does not exist.

Build command: cd flights-api && npm install
Start command: cd flights-api && npm run start
(tried adding npm i --save objection in both commands, without changing the result)

package.json dependencies:

"dependencies": {
    "@sentry/node": "^5.11.0",
    "apollo-errors": "^1.9.0",
    "dotenv": "^8.2.0",
    "express": "^4.17.1",
    "graphql-middleware-sentry": "^3.2.1",
    "graphql-yoga": "^1.18.3",
    "knex": "^0.21.21",
    "knex-logger": "^0.1.0",
    "lodash": "^4.17.21",
    "merge-graphql-schemas": "^1.7.6",
    "node-cache": "^5.1.2",
    "node-fetch": "^2.6.1",
    "objection": "^2.2.15",
    "pg": "^8.7.1",
    "winston": "^3.2.1"
  }

Build logs:

Aug 17 09:36:17 AM  ==> Starting service with 'cd flights-api && npm run start'

Aug 17 09:36:20 AM  Error: Cannot find module 'objection'
Aug 17 09:36:20 AM  Require stack:
Aug 17 09:36:20 AM  - /opt/render/project/src/flights-service/models/BaseModel.js
Aug 17 09:36:20 AM  - /opt/render/project/src/flights-api/src/index.js
Aug 17 09:36:20 AM      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
Aug 17 09:36:20 AM      at Function.Module._load (internal/modules/cjs/loader.js:686:27)
Aug 17 09:36:20 AM      at Module.require (internal/modules/cjs/loader.js:848:19)
Aug 17 09:36:20 AM      at require (internal/modules/cjs/helpers.js:74:18)
Aug 17 09:36:20 AM      at Object.<anonymous> (/opt/render/project/src/flights-service/models/BaseModel.js:1:57)
Aug 17 09:36:20 AM      at Module._compile (internal/modules/cjs/loader.js:955:30)
Aug 17 09:36:20 AM      at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
Aug 17 09:36:20 AM      at Module.load (internal/modules/cjs/loader.js:811:32)
Aug 17 09:36:20 AM      at Function.Module._load (internal/modules/cjs/loader.js:723:14)
Aug 17 09:36:20 AM      at Module.require (internal/modules/cjs/loader.js:848:19)
Aug 17 09:36:20 AM  npm ERR! code ELIFECYCLE
Aug 17 09:36:20 AM  npm ERR! errno 1
Aug 17 09:36:20 AM  npm ERR! next-retreat-flights-api@1.0.0 start: `node src/index.js`
Aug 17 09:36:20 AM  npm ERR! Exit status 1
Aug 17 09:36:20 AM  npm ERR!
Aug 17 09:36:20 AM  npm ERR! Failed at the next-retreat-flights-api@1.0.0 start script.
Aug 17 09:36:20 AM  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Aug 17 09:36:20 AM  
Aug 17 09:36:20 AM  npm ERR! A complete log of this run can be found in:
Aug 17 09:36:20 AM  npm ERR!     /opt/render/.cache/_logs/2021-08-17T07_36_20_174Z-debug.log

Hi @Peter_Kulcsar_Szabo, welcome to the Render community!

I took a look at your service and it seems that you have been able to deploy successfully a few times since this issue occurred. I have tried to reproduce this issue and it appears that npm is installing the module correctly. Can you let me know if you are still having trouble using objection 2.2.15 and if not, can you share what you did to fix it?