GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(webpack): find WorkerDependency where webpack 5.112 moved it by NathanWalker · Pull Request #11547 · NativeScript/NativeScript

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

webpack 5.112.0 (published 2026-10-15, now latest) moved lib/dependencies/WorkerDependency to lib/dependencies/worker/WorkerDependency. The worker loader requires the old path, so every new webpack-based project (ns create installs webpack ^5) fails at ns run with "Cannot find module 'webpack/lib/dependencies/WorkerDependency'", and the app dies at launch.

5.112 also moved lib/RuntimeGlobals to lib/runtime/RuntimeGlobals.

The loader now requires WorkerDependency at the new path, falling back to the old one, and takes RuntimeGlobals from webpack's public export (present in both). WorkerDependency.Template.prototype.apply, which the loader patches, is unchanged in 5.112.

Verified with webpack 5.112.0 on a fresh ns create app: ns run ios syncs and runs, and a worker round trip works (the bundle carries the loader's patch).

Until this ships, the workaround is npm install -D [email protected].

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
NathanWalker added 2 commits October 15, 2026 22:03
@NathanWalker
fix(webpack): find WorkerDependency where webpack 5.112 moved it
f955534
@NathanWalker
fix(webpack): RuntimeGlobals from webpack's public export, which 5.11…
bb289b4
…2 kept when it moved lib/RuntimeGlobals
@nx-cloud

nx-cloud Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit bb289b4

Command Status Duration Result
nx run-many -t build -p core,webpack5,vite ✅ Succeeded 4s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-10-16 05:07:45 UTC

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pkg-pr-new

pkg-pr-new Bot commented Oct 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nativescript/core@11547
npm i https://pkg.pr.new/@nativescript/vite@11547
npm i https://pkg.pr.new/@nativescript/webpack@11547

commit: bb289b4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@NathanWalker

NathanWalker commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Heads up @rigor789

rigor789 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@NathanWalker
NathanWalker merged commit 1d5be2d into main Oct 16, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@NathanWalker
NathanWalker deleted the fix/webpack-worker-dependency branch October 16, 2026 05:20
@edusperoni edusperoni mentioned this pull request Nov 10, 2026
fix(webpack): find ExternalModuleFactoryPlugin where webpack 5.112 moved it #11633
Merged
5 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@NathanWalker
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.