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.

vue-cli-service build crash

See original GitHub issue

Version

4.4.4

Environment info

ubuntu18.04

Steps to reproduce

vue-cli-service build

What is expected?

build prod dist

What is actually happening?

ERROR TypeError: ErrorStackParser.parse is not a function TypeError: ErrorStackParser.parse is not a function at getOriginalErrorStack (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/@soda/friendly-errors-webpack-plugin/src/core/extractWebpackError.js:31:29) at extractError (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/@soda/friendly-errors-webpack-plugin/src/core/extractWebpackError.js:22:20) at Array.map (<anonymous>) at processErrors (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/@soda/friendly-errors-webpack-plugin/src/core/transformErrors.js:31:17) at FriendlyErrorsWebpackPlugin.displayErrors (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/@soda/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:97:29) at doneFn (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/@soda/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:57:14) at AsyncSeriesHook.eval [as callAsync] (eval at create (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1) at AsyncSeriesHook.lazyCompileHook (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/tapable/lib/Hook.js:154:20) at /media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/webpack/lib/Compiler.js:304:22 at Compiler.emitRecords (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/webpack/lib/Compiler.js:499:39) at /media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/webpack/lib/Compiler.js:298:10 at /media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/webpack/lib/Compiler.js:485:14 at _next0 (eval at create (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:14:1) at eval (eval at create (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:22:1) at /media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/copy-webpack-plugin/dist/index.js:115:7 at AsyncSeriesHook.eval [as callAsync] (eval at create (/media/fanglei/mpca_wq_2T/workspace/recorder/DFDI-Console/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! dfdi-console@1.0.0 build:stage: vue-cli-service build --mode staging npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dfdi-console@1.0.0 build:stage script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:19
  • Comments:16

github_iconTop GitHub Comments

19reactions
tassiovalecommented, Jun 6, 2022

Adding "error-stack-parser": "2.0.6" to devDependencies in package.json worked for me.

15reactions
CharlotteMorrisoncommented, Jun 6, 2022

I am having the same issue as above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue: npm run serve crashes when a broken link is added
The npm run serve command works normally. However, once a broken link is added to the folder that npm is tracking, the npm...
Read more >
CLI Service - Vue CLI
Inside a Vue CLI project, @vue/cli-service installs a binary named vue-cli-service . You can access the binary directly as vue-cli-service in ...
Read more >
Vue.JS Crash Course + Guide - Udemy
Here's what you'll learn in this Course: Build amazing Vue.js Applications - all the Way from Small and Simple Ones up to Large...
Read more >
vue cli build slow, npm run build stuck, vue build hang, vue cli ...
vue cli build slow ... Vue uses fork-ts-checker-webpack-plugin to pull out the type checking into a separate process to speed up the build....
Read more >
@vue/cli-service | Yarn - Package Manager
@vue/cli-service. service for vue-cli. Full Docs. changelog. 5.0.7 (2022 ...
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