crashed

marcelsevTRIAL

a year ago

node:internal/modules/cjs/loader:1460

return process.dlopen(module, path.toNamespacedPath(filename));

^

Error: /app/nodemodules/bcrypt/lib/binding/napi-v3/bcryptlib.node: invalid ELF header

at Module._extensions..node (node:internal/modules/cjs/loader:1460:18)

at Module.load (node:internal/modules/cjs/loader:1203:32)

at Module._load (node:internal/modules/cjs/loader:1019:12)

at Module.require (node:internal/modules/cjs/loader:1231:19)

at require (node:internal/modules/helpers:177:18)

at Object. (/app/node_modules/bcrypt/bcrypt.js:6:16)

at Module._compile (node:internal/modules/cjs/loader:1364:14)

at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

at Module.load (node:internal/modules/cjs/loader:1203:32)

at Module._load (node:internal/modules/cjs/loader:1019:12) {

code: 'ERRDLOPENFAILED'

}

Node.js v18.20.2

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

8 Replies

a year ago

Are you committing your node_modules to GitHub?


marcelsevTRIAL

a year ago

yes


a year ago

You don't want to be doing that, delete it from the repo and make sure it's in your .gitignore file.


marcelsevTRIAL

a year ago

I did that and i got these errors


marcelsevTRIAL

a year ago

Warning: connect.session() MemoryStore is not

Jun 03 21:47:21

designed for a production environment, as it will leak

Jun 03 21:47:21

memory, and will not scale past a single process.

Jun 03 21:47:26

/app/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:96

Jun 03 21:47:26

throw new SequelizeErrors.HostNotFoundError(err);


marcelsevTRIAL

a year ago

HostNotFoundError [SequelizeHostNotFoundError]: getaddrinfo ENOTFOUND your-railway-mysql-host

Jun 03 21:47:26

at ConnectionManager.connect (/app/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:96:17)

Jun 03 21:47:26

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Jun 03 21:47:26

at async ConnectionManager._connect (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:222:24)

Jun 03 21:47:26

at async /app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:174:32

Jun 03 21:47:26

at async ConnectionManager.getConnection (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:197:7)


marcelsevTRIAL

a year ago

at async /app/node_modules/sequelize/lib/sequelize.js:305:26

Jun 03 21:47:26

at async MySQLQueryInterface.tableExists (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:102:17)

Jun 03 21:47:26

at async User.sync (/app/node_modules/sequelize/lib/model.js:939:21)

Jun 03 21:47:26

at async Sequelize.sync (/app/node_modules/sequelize/lib/sequelize.js:377:9) {

Jun 03 21:47:26

parent: Error: getaddrinfo ENOTFOUND your-railway-mysql-host

Jun 03 21:47:26

at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {

Jun 03 21:47:26

errno: -3008,

Jun 03 21:47:26

code: 'ENOTFOUND',


a year ago

Please only provide logs with this bookmarklet -

https://bookmarklets.up.railway.app/log-downloader/