MiinaMagdy / BackEnd-Bugs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BackEnd-Bugs🪲

Table Of Content:

Node.js Bugs:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module in JS
  when you set the "type" attribute to "module" in your package. json file:

Issue:

The file extension is required when importing.

Solution:

Use the correct file extension when importing.

Incorrect:

import { sum } from './another-file';

Correct:

import { sum } from './another-file.js';

Mongod And Mongodb Compass Bugs:

Connection Error!!

WhatsApp Image 2023-11-22 at 10 40 08 PM

Windows:

  • Press the Windows + R
  • Type services.msc and hit Enter
  • Search MongoDB.exe, right-click on it, and select Start

Ubuntu:

  • Make sure mongod is running successfully: mongod
  • Start mongod and make it active:
sudo systemctl start mongod
IN UBUNTU : White Board in Mongodb Compass

Issue:

The problem is with the MongoDB Compass version.

Solution:

wget https://downloads.mongodb.com/compass/mongodb-compass_1.39.3_amd64.deb
sudo dpkg -i mongodb-compass_1.39.3_amd64.deb
mongodb-compass
IN UBUNTU: When Using Transaction Operation And Not run

WhatsApp Image 2023-11-21 at 6 30 51 PM (1)

Solution:

sudo apt-get install libkrb5-dev  
npm install run-rs -g
sudo systemctl stop mongod
run-rs -v 4.0.0 --shell

Postman Bugs:

Unanswered Bugs:

Contribution :

  • If You Have a Bug 🪲 :- Make new Issue And We Will Response It

  • If You Have an answer for Unanswered Bug :- Make Pull Request To View And Push Your Solve 💪

  • Link Issue :EmanMohamed36#1 a brief guide to share your bugs with us 🤗

About