Closed healer-1205 closed 1 year ago
Hi @healer-1205, I am facing the same issue. did you find any solution?
Hi @kashif-ghafoor Sorry, I don't find a solution. Instead, I used my one.
Hello @kashif-ghafoor @healer-1205 I found a solution for it.
Just import the dbConnection path like this import { dbConnection } from './database/index';
then add this to the app.ts await connect(dbConnection.url, dbConnection.options as ConnectOptions);
let me know if it works for you too
@healer-1205
The fix has been completed and the issue has been closed.
"npm start" command doesn't work
Version to Reproduce
My current node version is 16.20.1
Steps to Reproduce
When installing the module is done, I run the npm start command, but this error happened.
I tried to install @databases npm to fix this but this error happened.