Skip to content

MODULE_NOT_FOUND when trying pnpm run 1 #35

Description

@ThinkSalat

It's not making a dist folder in the first place. I run pnpm run 1 and this is the result.

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

Error: Cannot find module 'C:\Users\user\Documents\GitHub\aoc2024\dist\day01\index.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
at Module._load (node:internal/modules/cjs/loader:893:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v18.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions