Bashamega / TrendTrack

TrendTrack is a platform that keeps you updated on the latest trending repositories across GitHub.
https://trendtrack.vercel.app
MIT License
18 stars 14 forks source link

[Error] Cannot find module 'node:path' #18

Closed kushdhingra closed 2 months ago

kushdhingra commented 2 months ago

Has this bug been raised before?

Description

Error: Cannot find module 'node:path'
Require stack:
- /mnt/c/Users/kushd/AppData/Roaming/nvm/v22.4.1/node_modules/npm/lib/cli.js
- /mnt/c/Users/kushd/AppData/Roaming/nvm/v22.4.1/node_modules/npm/bin/npm-cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:85:18)
    at Object.<anonymous> (/mnt/c/Users/kushd/AppData/Roaming/nvm/v22.4.1/node_modules/npm/lib/cli.js:2:18)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/mnt/c/Users/kushd/AppData/Roaming/nvm/v22.4.1/node_modules/npm/lib/cli.js',
    '/mnt/c/Users/kushd/AppData/Roaming/nvm/v22.4.1/node_modules/npm/bin/npm-cli.js'
  ]
}

Steps to Reproduce

Run code

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response

Bashamega commented 2 months ago

Do you have node and npm properly configured on your system?

NOTE: It needs Node 16+ to run

kushdhingra commented 2 months ago

I am an idiot

Bashamega commented 2 months ago

I am an idiot

No, you are not