vue-cli-service build hangs indefinitely
See original GitHub issueVersion
4.5.6
Environment info
System:
OS: Linux 3.10 CentOS Linux 7 (Core)
CPU: (2) x64 Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
Binaries:
Node: 12.18.4 - /bin/node
Yarn: Not Found
npm: 6.14.8 - /bin/npm
Browsers:
Chrome: 85.0.4183.102
Firefox: 68.12.0esr
npmGlobalPackages:
@vue/cli: 4.5.6
Steps to reproduce
I have a Vue project in Node that I am trying to build via ‘npm run build’. This works fine using the latest NPM (v6.14.8). Using the npm (v6.14.4) shipped with GraalVM causes it to hang indefinitely. FWIW my Vue project is built in Node and compiled using ES4x for Vert.x. I have tried the same with a prior GraalVM build (19.2.1) and get the same error. I am using v4.5.6 of the vue-cli-service package.
package.json snippet:
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"postinstall": "es4x install",
"start": "es4x",
},
Ex:
> which npm
/bin/npm
> npm -v
6.14.8
> npm run build
> vue-cli-service build
⠴ Building for production...
...Lots of output followed by...
DONE Build complete. The dist directory is ready to be deployed.
> /path/to/graalvm-ce-java8-20.2.0/bin/npm run build
> vue-cli-service build
⠴ Building for production...
<I never get any further output from this. It hangs on the last line shown above>
What is expected?
For the call to complete
What is actually happening?
The call does not complete
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Vue.js stuck on serving at 40% how to recover? - Stack Overflow
I decided to delete the node modules folder, do a npm install then do a npm run serve it always gets stuck around...
Read more >Vue-Cli 3, pages: 'npn run build' gets stuck
I'm using the pages setting in my vue.config.js. It looks something like this: module.exports = { baseUrl: process.env.
Read more >vue cli build slow, npm run build stuck, vue build hang, vue cli ...
just tried a blank out of the box project and run: npm run dev there is a problem with .vue files. The issue...
Read more >Npm Run Build Hangs Indefinitely On Azure Ci/Cd Pipelines
The pipeline deploys your changes to an Amazon EC2 instance using CodeDeploy as the deployment service. The pipeline has two stages: A source...
Read more >Common Issues | Vue CLI Plugin Electron Builder
Easily Build Your Vue.js App For Desktop With Electron.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Running the build command on docker makes the process hang for me too and I’m not using GRAALVM.
hi,I have same problem ,did you solve the problem