question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error with thread-loader

See original GitHub issue

Environment

How do you use Sentry? Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?)

Which SDK and version?

macos node12

Steps to Reproduce

{
        test: /\.js$/,
        include: path.resolve("src"),
        use: [
          "thread-loader",
          "expensive-loader"
        ]
}

Expected Result

webpack build success

Actual Result

node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js
Thread Loader (Worker 1)
releasePromise.then is not a function

https://github.com/getsentry/sentry-webpack-plugin/issues/176

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
fengyuanchencommented, Apr 12, 2022

@Saran010 Just found a solution, set the parallel option to false to disable the thread-loader:

// vue.config.js
module.exports = {
  // Not to use `thread-loader`.
  parallel: false,
  // ...
};
2reactions
alexsaranincommented, Apr 11, 2022

Same issue. I cant build my project. I created project via vue/cli. When I try build project with SentryWebpackPlugin it crash. I dont know why query.releasePromise is empty object in sentry.loader.js. But method getReleasePromise return Promise.

query.project and query.org return string

Read more comments on GitHub >

github_iconTop Results From Across the Web

thread-loader | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
thread-loader with @ngtools/webpack - angular - Stack Overflow
For speed up transpile and build, I use thread-loader with @ngtools/webpack. However below error is happend when I execute build.
Read more >
thread-loader - npm.io
thread-loader. Runs the following loaders in a worker pool. Getting Started. npm install --save-dev thread-loader. Put this loader in front of other loaders ......
Read more >
thread-loader - npm
Runs the following loaders in a worker pool. Latest version: 3.0.4, last published: 2 years ago. Start using thread-loader in your project ...
Read more >
Bugfixing with thread-loader and Scope Hoisting (week 15)
Next to normal bugfixes for webpack 3, I hunted some really difficult/annoying bug and I want to tell you this story.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found