Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work #39

Open
albotroz opened this issue Mar 8, 2024 · 1 comment
Open

Doesn't work #39

albotroz opened this issue Mar 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@albotroz
Copy link

albotroz commented Mar 8, 2024

Describe the bug

After :
npm install
node index.js

node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module 'C:\Users\gfgdfg\Desktop\infoooze-master\index.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.11.1

Windows 10

Steps to reproduce

No response

Screenshots

No response

@albotroz albotroz added the bug Something isn't working label Mar 8, 2024
@Daksh1308
Copy link

"Cannot find module 'C:\Users\gfgdfg\Desktop\infoooze-master\index.js'" is due to an issue with your working directory. try to fix it:

Check Your Directory: Ensure you're running the command from the root directory of your project. Use cd C:\Users\gfgdfg\Desktop\infoooze-master to navigate to the correct location.

Reinstall Dependencies: Run npm install to make sure all dependencies are installed.

Run the Application: Execute node ./index.js to start the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants