workshopper / how-to-npm

A module to teach you how to module.
https://www.npmjs.com/package/how-to-npm
ISC License
1.09k stars 212 forks source link

Error: Cannot find module 'workshopper-adventure/adventure' #149

Closed viseko closed 2 years ago

viseko commented 2 years ago
Error: Cannot find module 'workshopper-adventure/adventure'
Require stack:
- C:\Users\Username\AppData\Roaming\npm\node_modules\how-to-npm\index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\Username\AppData\Roaming\npm\node_modules\how-to-npm\index.js:15:17)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules\\how-to-npm\\index.js'
  ]
}

When running how-to-npm

viseko commented 2 years ago

Oh, I'm stupid. All I had to do was install the required dependencies.