infoooze icon indicating copy to clipboard operation
infoooze copied to clipboard

Doesn't work

Open albotroz opened this issue 1 year ago • 1 comments

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 avatar Mar 08 '24 03:03 albotroz

"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.

Daksh1308 avatar Aug 20 '24 07:08 Daksh1308