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

Webpack5 Error: Content and Map of this Source is not available (only size() is supported) #40

Open
pidehen23 opened this issue Feb 1, 2021 · 3 comments

Comments

@pidehen23
Copy link

Does not support wepback5
image

@fregante
Copy link

fregante commented Mar 1, 2021

v2.0.2 works

v3.0.0 doesn't

@axe312ger
Copy link

Any plans to support webpack v5?

@developit
Copy link
Collaborator

I would be happy to merge a PR to add support, but I don't currently have the bandwidth to do this myself.

Shadowfiend added a commit to tahowallet/extension that referenced this issue Jul 24, 2021
Version 3 has some issues with Webpack 5; see
GoogleChromeLabs/size-plugin#40 . These rear
their head with the upcoming TypeScript config.
Shadowfiend added a commit to tahowallet/extension that referenced this issue Jul 24, 2021
Version 3 has some issues with Webpack 5; see
GoogleChromeLabs/size-plugin#40 . These rear
their head with the upcoming TypeScript config.
mhluongo pushed a commit to tahowallet/extension that referenced this issue Jul 25, 2021
Version 3 has some issues with Webpack 5; see
GoogleChromeLabs/size-plugin#40 . These rear
their head with the upcoming TypeScript config.
s-weigand added a commit to s-weigand/binge-stream that referenced this issue Sep 10, 2021
since version 3.0.0 doesn't work with webpack 5.

Ref: GoogleChromeLabs/size-plugin#40 (comment)
s-weigand added a commit to s-weigand/binge-stream that referenced this issue Sep 10, 2021
* 🩹 Downgraded size-plugin to 2.0.2 

since version 3.0.0 doesn't work with webpack 5.

Ref: GoogleChromeLabs/size-plugin#40 (comment)

* 🩹 Fixed 'npm run update_manifest_firefox' and added test to 'Test' workflow


Fixes the Error:
$ npm run update_manifest_firefox

> @ update_manifest_firefox /home/runner/work/binge-stream/binge-stream
> npx ts-node tools/firefox_manifest_append.ts

npx: installed 14 in 2.154s
(node:1884) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
Cannot use import statement outside a module
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ update_manifest_firefox: `npx ts-node tools/firefox_manifest_append.ts`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ update_manifest_firefox script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

* 🩹 Fixed typo and added 'package-lock.json' to misspell ignore
browniebroke added a commit to browniebroke/semaphoreci-notifier that referenced this issue Nov 17, 2021
fregante added a commit to refined-github/refined-github that referenced this issue Jul 8, 2023
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

4 participants