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 in upload source map in vue

See original GitHub issue

Hi, there. I’m trying to upload my source map, but it doesn’t work properly. the log is below.

ERROR  Failed to compile with 1 errors                                                                                                                                    5:48:05 PM

 error  in ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js

Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 3)
releasePromise.then is not a function
    at PoolWorker.fromErrorObj (/Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/thread-loader/dist/WorkerPool.js:262:12)
    at /Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/thread-loader/dist/WorkerPool.js:204:29
    at mapSeries (/Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/neo-async/async.js:3625:14)
    at PoolWorker.onWorkerMessage (/Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/thread-loader/dist/WorkerPool.js:170:35)
    at /Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/thread-loader/dist/WorkerPool.js:152:14
    at Socket.onChunk (/Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/thread-loader/dist/readBuffer.js:36:9)
    at Object.sentryLoader (/Users/juseonghyeok/Dev/github/mysterico/latte-builder/Latte-Client/node_modules/@sentry/webpack-plugin/src/sentry.loader.js:4:18)

 @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I don’t know how to resolve this. How can I upload my source map properly?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fengyuanchencommented, Apr 12, 2022

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

// vue.config.js
module.exports = {
  parallel: false,
  // ...
};
0reactions
kamilogorekcommented, Jun 2, 2020

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Source Maps for Vue - Sentry Documentation
For uploaded source maps to be located and applied, the release needs to be created by the CLI or API (and the correct...
Read more >
vue.js - Source maps, error reporting and production builds
What's the best way to generate source maps for error reporting tools but still not expose them publicly in the production build?
Read more >
Sourcemaps in .vue files are broken in development - GitLab
I am currently unable to set breakpoints and debug .vue files within VS Code's native debugger. It appears that somewhere along the line, ......
Read more >
Source Maps - Rollbar Docs
Getting started · 1. Raise descriptive errors from JavaScript · 2. Configure the rollbar.js SDK to support source maps · 3. Upload your...
Read more >
Vue.js 2.x Error and Exception Tracking
Honeybadger monitors your Vue.js applications for errors and exceptions so ... your Vue app with Webpack, you can automatically upload your source maps...
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