thecyberworld/TheCyberHUB

[BUG] <Import Resolution Error in npm run dev>

Closed this issue ยท 7 comments

Describe the bug

When running npm run dev, I encounter an error related to failed import resolution for "./shellData" in "src/components/Tools/ReverseShell/ShellGenerator.jsx". The error message indicates that the file cannot be resolved.

To Reproduce

Clone the repository.
Navigate to the project directory.
Run npm install to install dependencies.
Run npm run dev.
Observe the error message regarding the failed import resolution for "./shellData".

Expected Behavior

When running npm run dev, the project should build and serve without encountering any import resolution errors.

Screenshot/ Video

Capture d'รฉcran 2024-04-15 122256

Code of Conduct

  • I agree to follow this project's Code of Conduct

It's great having you contribute to this project

๐ŸŒŸ Welcome to the community ๐ŸŒŸ

  • If you would like to continue contributing to open source and would like to do it with an awesome inclusive community.
  • You should join our Discord chat and our GitHub Organisation.
  • We help and encourage each other to contribute to open source little and often ๐Ÿ˜„.
  • Any questions let us know.

@yasminebenslim hmm, it is not a bug. You antivirus deleted this file because it thinks that this file is dangerous. Comment the line and continue...

Related to issue #613

@kabir0x23 is there a solution or should we close this issue?

okay, thank you.

@ArkadiK94 The issue was resolved by removing the line "import { ShellCommands, CommandType } from "./shellData";".

@yasminebenslim yes, but don't commit it because we need this line in production.

I am closing this issue for not because it is not a bug