Skip to content

npm run build failsΒ #21

@sumpfgottheit

Description

@sumpfgottheit

Fedora 41, Nodejs 22.14.0

Downloaded the zip file, extracted it and "npm run build" fails.
"npm run start" works as expected.

 # npm run build

> [email protected] build
> NODE_ENV=production && run-s build:webpack build:hugo


> [email protected] build:webpack
> webpack --mode=production

node:internal/event_target:1101
  process.nextTick(() => { throw err; });
                           ^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({})
    at Worker.emit (node:events:507:17)
    at [kOnErrorMessage] (node:internal/worker:327:10)
    at [kOnMessage] (node:internal/worker:338:37)
    at MessagePort.<anonymous> (node:internal/worker:233:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28) {
  code: 'ERR_UNHANDLED_ERROR',
  context: {}
}

Node.js v22.14.0
ERROR: "build:webpack" exited with 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions