[GH-ISSUE #7201] [Issue]: 2.5.0 refuses to build upon upgrading from 2.4.6 #4020

Closed
opened 2026-10-21 06:09:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @DarkPulse on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7201

Summary

Trying to perform an upgrade from 2.4.6 to 2.5.0. 2.4.6 ran just fine, but every attempt to get 2.5.0 to build is failing. As a result, can't even get 2.5.0 to run.

Attempting either via start.bat or start-local.bat simply fails building at the same step every time.

Expected behavior

Naturally, that it builds.

Actual behavior

It explodes with the following error:

packages/client build: error during build:
packages/client build: Error: Cannot find module 'P:\MarinaraEngine\.pnpm\workbox-build@7.4.1_@types+babel__core@7.20.5\node_modules\@babel\preset-env\lib\index.js'. Please verify that the package.json has a valid "main" entry
packages/client build:     at tryPackage (node:internal/modules/cjs/loader:524:19)
packages/client build:     at Module._findPath (node:internal/modules/cjs/loader:792:18)
packages/client build:     at Module._resolveFilename (node:internal/modules/cjs/loader:1405:27)
packages/client build:     at defaultResolveImpl (node:internal/modules/cjs/loader:1058:19)
packages/client build:     at defaultResolve (node:internal/modules/cjs/loader:1093:31)
packages/client build:     at nextStep (node:internal/modules/customization_hooks:189:26)
packages/client build:     at Ie (file:///P:/MarinaraEngine/.pnpm/@tailwindcss+node@4.3.3/node_modules/@tailwindcss/node/dist/index.mjs:1:539)
packages/client build:     at nextStep (node:internal/modules/customization_hooks:189:26)
packages/client build:     at resolveWithHooks (node:internal/modules/customization_hooks:417:10)
packages/client build:     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1102:25)
packages/client build: Failed
P:\MarinaraEngine\packages\client:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @marinara-engine/client@2.5.0 build: `node ./scripts/build.mjs`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

 [ERROR] Local build failed. Fix the build error above, then run this launcher again.

Looking further, it seems that the reason it can't continue is that the file it's looking for isn't there (shipped-proposals.js and targets-parser.js are, but not index.js), but I'm not sure how to cleanly get it to re-download or re-construct it or whatever it needs to properly build.

I'm pretty wary of just nuking and doing a clean install, since naturally I don't want to lose my repository of characters/lorebooks/etc.

Steps to reproduce

  1. Have a 2.4.6 install.
  2. Attempt to update to 2.5.0 by launching start.bat.
  3. Crunch, bang, boom.

Environment

  • Marinara Engine version: Attempting 2.4.6 -> 2.5.0
  • Install type: Installer
  • OS + version: Windows 11, 26H1
  • Browser or app shell: Firefox

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @DarkPulse on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7201 ## Summary Trying to perform an upgrade from 2.4.6 to 2.5.0. 2.4.6 ran just fine, but every attempt to get 2.5.0 to build is failing. As a result, can't even get 2.5.0 to run. Attempting either via start.bat or start-local.bat simply fails building at the same step every time. ## Expected behavior Naturally, that it builds. ## Actual behavior It explodes with the following error: ``` packages/client build: error during build: packages/client build: Error: Cannot find module 'P:\MarinaraEngine\.pnpm\workbox-build@7.4.1_@types+babel__core@7.20.5\node_modules\@babel\preset-env\lib\index.js'. Please verify that the package.json has a valid "main" entry packages/client build: at tryPackage (node:internal/modules/cjs/loader:524:19) packages/client build: at Module._findPath (node:internal/modules/cjs/loader:792:18) packages/client build: at Module._resolveFilename (node:internal/modules/cjs/loader:1405:27) packages/client build: at defaultResolveImpl (node:internal/modules/cjs/loader:1058:19) packages/client build: at defaultResolve (node:internal/modules/cjs/loader:1093:31) packages/client build: at nextStep (node:internal/modules/customization_hooks:189:26) packages/client build: at Ie (file:///P:/MarinaraEngine/.pnpm/@tailwindcss+node@4.3.3/node_modules/@tailwindcss/node/dist/index.mjs:1:539) packages/client build: at nextStep (node:internal/modules/customization_hooks:189:26) packages/client build: at resolveWithHooks (node:internal/modules/customization_hooks:417:10) packages/client build: at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1102:25) packages/client build: Failed P:\MarinaraEngine\packages\client:  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @marinara-engine/client@2.5.0 build: `node ./scripts/build.mjs` Exit status 1  ELIFECYCLE  Command failed with exit code 1. [ERROR] Local build failed. Fix the build error above, then run this launcher again. ``` Looking further, it seems that the reason it can't continue is that the file it's looking for isn't there (shipped-proposals.js and targets-parser.js are, but not index.js), but I'm not sure how to cleanly get it to re-download or re-construct it or whatever it needs to properly build. I'm pretty wary of just nuking and doing a clean install, since naturally I don't want to lose my repository of characters/lorebooks/etc. ## Steps to reproduce 1. Have a 2.4.6 install. 2. Attempt to update to 2.5.0 by launching start.bat. 3. Crunch, bang, boom. ## Environment - Marinara Engine version: Attempting 2.4.6 -> 2.5.0 - Install type: Installer - OS + version: Windows 11, 26H1 - Browser or app shell: Firefox ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:09:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DarkPulse commented on GitHub (Oct 7, 2026):

Got it built - I downloaded a clean install, had that build, then copied the missing files from that into my old install and then built; the build succeeded.

Not sure what made it fail to download those files while updating the first time though.

<!-- gh-comment-id:6028148555 --> @DarkPulse commented on GitHub (Oct 7, 2026): Got it built - I downloaded a clean install, had that build, then copied the missing files from that into my old install and then built; the build succeeded. Not sure what made it fail to download those files while updating the first time though.
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#4020
No description provided.