Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lstat error when requiring virtual modules #411

Open
craigbeck opened this issue Mar 11, 2024 · 1 comment
Open

lstat error when requiring virtual modules #411

craigbeck opened this issue Mar 11, 2024 · 1 comment

Comments

@craigbeck
Copy link

Latest v5.16.0 breaks with lstat error when using virtual modules:

ERROR in ../../../../derby-webpack-virtual-fs/app-views/ sync ^\.\/.*__views$
ENOENT: no such file or directory, lstat '/derby-webpack-virtual-fs'
caused by plugins in ContextModule.resolveDependencies
Error: ENOENT: no such file or directory, lstat '/derby-webpack-virtual-fs'
 @ ./node_modules/@derbyjs/derby-webpack/lib/browser.js 8:11-75

We use a plugin that writes virtual modules (using webpack-virtual-modules) code, but fails to require these modules here

This works if we pin to prior v5.15.1 version.

@alexander-akait
Copy link
Member

alexander-akait commented Mar 12, 2024

We don't change lstat logic, weird, please create a reproducible test repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants