[GH-ISSUE #124] Pnpm issue after installation, can't run engine. #28

Closed
opened 2026-10-20 17:24:14 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @OuroboricCycle on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/124

I finished installing Marinara Engine through the .exe, but I got this when I run it:

 +==========================================+
 |       Marinara Engine  -  Launcher        |
 +==========================================+

 [..] Aligning pnpm to 10.30.3 via Corepack...
 [..] Checking for updates...
 [OK] Already up to date
 [OK] Node.js found:
v24.13.0
 [OK] pnpm 10.30.3 ready
 [..] Building shared types...

> marinara-engine@1.5.2 build:shared C:\Users\7373\AppData\Local\MarinaraEngine
> pnpm --filter @marinara-engine/shared build

'pnpm' is not recognized as an internal or external command,
operable program or batch file.
 ELIFECYCLE  Command failed with exit code 1.
 [..] Building server...

> marinara-engine@1.5.2 build:server C:\Users\7373\AppData\Local\MarinaraEngine
> pnpm --filter @marinara-engine/server build

'pnpm' is not recognized as an internal or external command,
operable program or batch file.
 ELIFECYCLE  Command failed with exit code 1.
 [..] Building client...

> marinara-engine@1.5.2 build:client C:\Users\7373\AppData\Local\MarinaraEngine
> pnpm --filter @marinara-engine/client build

'pnpm' is not recognized as an internal or external command,
operable program or batch file.
 ELIFECYCLE  Command failed with exit code 1.

 ==========================================
   Starting Marinara Engine on http://127.0.0.1:7860
   Press Ctrl+C to stop
 ==========================================

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

Error: Cannot find module 'C:\Users\7373\AppData\Local\MarinaraEngine\packages\server\dist\index.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
    at Module._load (node:internal/modules/cjs/loader:1227:37)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v24.13.0

 [ERROR] Server exited unexpectedly. See the error above.

I'm assuming something went wrong with the installation at some point, or setting the PATH or something, but I don't know how or why. I'm unsure if the error at the end is related to pnpm failing but well, overall it just seems something is scuffed with my install... Any ideas on how to fix it?

Originally created by @OuroboricCycle on GitHub (Apr 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/124 I finished installing Marinara Engine through the .exe, but I got this when I run it: ``` +==========================================+ | Marinara Engine - Launcher | +==========================================+ [..] Aligning pnpm to 10.30.3 via Corepack... [..] Checking for updates... [OK] Already up to date [OK] Node.js found: v24.13.0 [OK] pnpm 10.30.3 ready [..] Building shared types... > marinara-engine@1.5.2 build:shared C:\Users\7373\AppData\Local\MarinaraEngine > pnpm --filter @marinara-engine/shared build 'pnpm' is not recognized as an internal or external command, operable program or batch file.  ELIFECYCLE  Command failed with exit code 1. [..] Building server... > marinara-engine@1.5.2 build:server C:\Users\7373\AppData\Local\MarinaraEngine > pnpm --filter @marinara-engine/server build 'pnpm' is not recognized as an internal or external command, operable program or batch file.  ELIFECYCLE  Command failed with exit code 1. [..] Building client... > marinara-engine@1.5.2 build:client C:\Users\7373\AppData\Local\MarinaraEngine > pnpm --filter @marinara-engine/client build 'pnpm' is not recognized as an internal or external command, operable program or batch file.  ELIFECYCLE  Command failed with exit code 1. ========================================== Starting Marinara Engine on http://127.0.0.1:7860 Press Ctrl+C to stop ========================================== node:internal/modules/cjs/loader:1424 throw err; ^ Error: Cannot find module 'C:\Users\7373\AppData\Local\MarinaraEngine\packages\server\dist\index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22) at Module._load (node:internal/modules/cjs/loader:1227:37) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.13.0 [ERROR] Server exited unexpectedly. See the error above. ``` I'm assuming something went wrong with the installation at some point, or setting the PATH or something, but I don't know how or why. I'm unsure if the error at the end is related to pnpm failing but well, overall it just seems something is scuffed with my install... Any ideas on how to fix it?
Author
Owner

@emperorgaia commented on GitHub (Apr 20, 2026):

Having this exact same issue.

<!-- gh-comment-id:4277343449 --> @emperorgaia commented on GitHub (Apr 20, 2026): Having this exact same issue.
Author
Owner

@daddytorgo-hash commented on GitHub (Apr 20, 2026):

same here

<!-- gh-comment-id:4277637154 --> @daddytorgo-hash commented on GitHub (Apr 20, 2026): same here
Author
Owner

@HungerShovel commented on GitHub (Apr 20, 2026):

I had the same issue, fixed it myself by opening Command Prompt as admin and writing:
npm install --global corepack@latest
corepack enable pnpm

<!-- gh-comment-id:4277715431 --> @HungerShovel commented on GitHub (Apr 20, 2026): I had the same issue, fixed it myself by opening Command Prompt as admin and writing: npm install --global corepack@latest corepack enable pnpm
Author
Owner

@rosx27 commented on GitHub (Apr 20, 2026):

I had the same issue, fixed it myself by opening Command Prompt as admin and writing: npm install --global corepack@latest corepack enable pnpm

It worked after running npm install --global corepack@latest. The corepack enable pnpm didn't run successfully, but it's now working. Thanks!

<!-- gh-comment-id:4278372362 --> @rosx27 commented on GitHub (Apr 20, 2026): > I had the same issue, fixed it myself by opening Command Prompt as admin and writing: npm install --global corepack@latest corepack enable pnpm It worked after running `npm install --global corepack@latest`. The `corepack enable pnpm` didn't run successfully, but it's now working. Thanks!
Author
Owner

@SpicyMarinara commented on GitHub (Apr 20, 2026):

Hopefully fixed.

<!-- gh-comment-id:4279538483 --> @SpicyMarinara commented on GitHub (Apr 20, 2026): Hopefully fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#28
No description provided.