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

Nuxt 2 build with "Error: Content and Map of this Source is no longer available (only size() is supported)" #18

Open
royanon opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@royanon
Copy link

royanon commented Jan 19, 2024

Describe the bug

Install the plugin with nuxt 2.17.2 with webpack 4.47.0, an error message of "Error: Content and Map of this Source is no longer available (only size() is supported)" appeared

To reproduce

Steps to reproduce the behaviour:

  1. Install the plugin with nuxt 2.17.2 with webpack 4.47.0
  2. RUN npm run build
  3. See error message
/app/node_modules/webpack/lib/Compiler.js:713
                throw this._error();
                ^
Error: Content and Map of this Source is no longer available (only size() is supported)
    at SizeOnlySource._error (/app/node_modules/webpack/lib/Compiler.js:699:10)
    at SizeOnlySource.source (/app/node_modules/webpack/lib/Compiler.js:713:14)
    at writeOut (/app/node_modules/webpack/lib/Compiler.js:417:39)
    at Immediate.<anonymous> (/app/node_modules/memory-fs/lib/MemoryFileSystem.js:308:4)
    at process.processImmediate (node:internal/timers:476:21)

Expected behaviour

Build should be successful with file copied

Screenshots

N/A

Versions

  • Plugin version: v1.1.0
  • Craft version: N/A
@royanon royanon added the bug Something isn't working label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant