C:\Users\Admin\Desktop\Yeni klasör (2)\clean-up.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (C:\Users\Admin\Desktop\Yeni klasör (2)\clean-up.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\Users\Admin\Desktop\Yeni klasör (2)\clean-up.js' ]
}
When running example files, make sure to execute them in the directory they're actually located in. The problem you're having stems from the fact that it's trying to include files that don't exist.
C:\Users\Admin\Desktop\Yeni klasör (2)>node clean-up.js node:internal/modules/cjs/loader:1080 throw err; ^
Error: Cannot find module '../src/exports.js' Require stack:
Node.js v18.17.0