You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nodemon] 2.0.6
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,jsx,html
[nodemon] starting node back-end/server.js
node:internal/validators:163
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at Url.parse (node:url:195:3)
at Object.urlParse [as parse] (node:url:166:13)
at new Sequelize (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/sequelize/lib/sequelize.js:185:28)
at FactoryDefinition.configureMainDatabaseAdapter [as factory] (/home/admin/Descargas/quizzes/kahoot-clone/back-end/src/config/di.js:15:10)
at FactoryDefinition._this.resolve (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/definitions/FactoryDefinition.js:28:26)
at DIContainer.get (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/DIContainer.js:36:42)
at FactoryDefinition.configureSession [as factory] (/home/admin/Descargas/quizzes/kahoot-clone/back-end/src/config/di.js:22:31)
at FactoryDefinition._this.resolve (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/definitions/FactoryDefinition.js:28:26) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.0.0
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered:
kahoot-clone]$ npm run start-server
[nodemon] 2.0.6
[nodemon] to restart at any time, enter
rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,jsx,html
[nodemon] starting
node back-end/server.js
node:internal/validators:163
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at Url.parse (node:url:195:3)
at Object.urlParse [as parse] (node:url:166:13)
at new Sequelize (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/sequelize/lib/sequelize.js:185:28)
at FactoryDefinition.configureMainDatabaseAdapter [as factory] (/home/admin/Descargas/quizzes/kahoot-clone/back-end/src/config/di.js:15:10)
at FactoryDefinition._this.resolve (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/definitions/FactoryDefinition.js:28:26)
at DIContainer.get (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/DIContainer.js:36:42)
at FactoryDefinition.configureSession [as factory] (/home/admin/Descargas/quizzes/kahoot-clone/back-end/src/config/di.js:22:31)
at FactoryDefinition._this.resolve (/home/admin/Descargas/quizzes/kahoot-clone/back-end/node_modules/rsdi/definitions/FactoryDefinition.js:28:26) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.0.0
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered: