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

error when building @relative-ci/agent library #328

Closed
Nigui opened this issue May 10, 2021 · 5 comments
Closed

error when building @relative-ci/agent library #328

Nigui opened this issue May 10, 2021 · 5 comments
Labels

Comments

@Nigui
Copy link

Nigui commented May 10, 2021

Hello,
I can't use your product because of an error at build time.

I have imported @relative-ci/agent into my webpack config file then it broke the build with the following error:

You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer

Could you help ?
Thank you

@vio
Copy link
Member

vio commented May 10, 2021

Hi @Nigui! @relative-ci/agent doesn't rely directly on the source map consumer, most likely the error is happening upstream. Can you share more details about your setup:

  • full stack error
  • webpack version
  • agent version / setup
  • node version?

@Nigui
Copy link
Author

Nigui commented May 12, 2021

  • webpack 4.43
  • @relative-ci/agent 1.5.0
  • node v12.17

I don't have more lines on stack trace, except the one above. Sorry.

@vio
Copy link
Member

vio commented May 12, 2021

Thanks for sharing @Nigui! I'm pretty sure there are a bunch of projects that are using 1.5.0 with webpack 4 and node 12. I will try to replicate the exact versions.

Searches for the same error message ended up on mozilla/source-map#349.

Also, if you are able to try on your setup:

  1. use the latest version - @relative-ci/[email protected]
  2. disable source maps (no devtool)

@github-actions
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 31, 2023
@github-actions
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants