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.

yarn serve stuck at "95% emitting CopyPlugin"

See original GitHub issue

Version

3.9.2

Reproduction link

https://github.com/intijk/vue-cli3-bug-report-copyplugin-stuck

Environment info

phao@mm:~/workspace/athena-vc3$ vue info

Environment Info:

  System:
    OS: Linux 4.15 Ubuntu 16.04.6 LTS (Xenial Xerus)
    CPU: (12) x64 Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
  Binaries:
    Node: 12.5.0 - /usr/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Browsers:
    Chrome: 75.0.3770.100
    Firefox: 67.0.4
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0 
    @vue/babel-plugin-transform-vue-jsx:  1.0.0 
    @vue/babel-preset-app:  3.9.2 
    @vue/babel-preset-jsx:  1.0.0 
    @vue/babel-sugar-functional-vue:  1.0.0 
    @vue/babel-sugar-inject-h:  1.0.0 
    @vue/babel-sugar-v-model:  1.0.0 
    @vue/babel-sugar-v-on:  1.0.0 
    @vue/cli-overlay:  3.9.0 
    @vue/cli-plugin-babel: ^3.8.0 => 3.9.2 
    @vue/cli-plugin-e2e-cypress: ^3.8.0 => 3.9.0 
    @vue/cli-plugin-eslint: ^3.8.0 => 3.9.2 
    @vue/cli-plugin-pwa: ^3.8.0 => 3.9.0 
    @vue/cli-plugin-typescript: ^3.8.0 => 3.9.0 
    @vue/cli-plugin-unit-jest: ^3.8.0 => 3.9.0 
    @vue/cli-service: ^3.8.0 => 3.9.2 
    @vue/cli-shared-utils:  3.9.0 
    @vue/component-compiler-utils:  2.6.0 
    @vue/eslint-config-prettier: ^4.0.1 => 4.0.1 
    @vue/eslint-config-typescript: ^4.0.0 => 4.0.0 
    @vue/preload-webpack-plugin:  1.1.0 
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29 
    @vue/web-component-wrapper:  1.2.0 
    eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
    jest-serializer-vue:  2.0.2 
    typescript: ^3.4.3 => 3.5.2 
    vue: ^2.6.10 => 2.6.10 
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-hot-reload-api:  2.3.3 
    vue-jest:  3.0.4 
    vue-loader: ^15.7.0 => 15.7.0 
    vue-markdown: ^2.2.4 => 2.2.4 
    vue-resource: ^1.5.1 => 1.5.1 
    vue-router: ^3.0.3 => 3.0.7 
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.6.10 => 2.6.10 
    vue-template-es2015-compiler:  1.9.1 
    vuetable-2: ^1.7.5 => 1.7.5 
    vuex: ^3.0.1 => 3.1.1 
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

cd public

ln -s / root

cd …

yarn serve

What is expected?

compile without issue

What is actually happening?

stuck at 95% emitting CopyPlugin


My need is simple, I want to serve files belong to a folder as is, a huge one, with symlink.

I am not sure if I am using the public in correct way, but in vue cli 2, that was a valid usage.

Maybe I should add ignore for copy plugin ? But really need some guide here on how to do that. Thank you very much!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

11reactions
sodateacommented, Jul 11, 2019

Vue CLI is not meant to be a static web server so this is not a valid use case.

2reactions
jestima-mprcommented, Jul 11, 2019

FYI, the problem in my scenario appeared to be related to not enough memory available in the environment I was working on for the node process, after I increased memory it solved the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

webpack hangs at on "95% emit" / "95% emitting"
I then saw it got stuck in mkdirp so added a console.log in the function in that node module to see what path...
Read more >
Developers - Stuck at 95% Emitting - - Bountysource
it looks like it's working, but then it sits at 95% emitting. Here's my console output: F:\Links\www\laravel\54>npm run dev > @ dev ...
Read more >
vue npm run serve stuck at 98% after emitting CopyPlugin
For me it was simple stupid mistake. Somehow forgot to add the path of package during import import { Cropper } from "";....
Read more >
vue脚手架编译速度慢95% emitting CopyPlugin - CSDN博客
一个小的vue项目,竟然编译时间很久,也没有报错找原因,网上都说是图片路径问题,但是我把所有图片路径都找了一遍,没有发现问题所在,而且一直都是很慢, ...
Read more >
vue-cli 项目启动输出INFO Starting development server... 98o/o ...
98o/o after emitting CopyPlugin,程序员大本营,技术文章内容聚合第一站。 ... vue-cli创建项目,webpack运行时在95% emitting CompressionPlugin卡住不动问题:项目 ...
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