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 build failed. Please resolve any issues with your build and try again.

See original GitHub issue

I am getting Vue CLI build failed. Please resolve any issues with your build and try again. when i run the vue-cli-service electron:build command.

The serve command is working fine.

If i run the command npm run build it gives me the error

Error: CSS minification error: Expected a pseudo-class or pseudo-element.. File: css/app.a1ff64ba.css

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
fskcommented, Dec 27, 2021
ERROR  Vue CLI build failed. Please resolve any issues with your build and try again.
Waiting for the debugger to disconnect...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dsk@0.1.0 electron:build: `vue-cli-service electron:build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dsk@0.1.0 electron:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Dell\AppData\Roaming\npm-cache\_logs\2021-12-27T23_47_37_547Z-debug.log
Waiting for the debugger to disconnect...

This is my issue. I didnt see any errors. Just tell me ‘ERROR Vue CLI build failed. Please resolve any issues with your build and try again.’.

How can i fix.?

And i am using npm run electron:builder commant.

0reactions
Nistharcommented, Oct 9, 2020

Ok, my bad. I found my solution. Thanks. It was an issue with comments in css.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error "vue-cli-service: command not found" when running a ...
Sometimes caching is the problem.can you try npm run cache clean --force and delete package-lock.json and try to install again. – Gurkan Ugurlu....
Read more >
Common Issues | Vue CLI Plugin Electron Builder
This issue is likely caused when Vue Router is operating in history mode. In Electron, it only works in hash mode. To fix...
Read more >
Deployment - Vue CLI
The easiest way to preview your production build locally is using a Node.js static file server, for example serve:.
Read more >
vue-cli-plugin-electron-builder - Bountysource
A Vue Cli 3 plugin for Electron with no required configuration ... to install correctly, please delete node_modules/electron and try installing again.
Read more >
vue cli build failed. please resolve any issues with your ... - 掘金
vue cli build failed. please resolve any issues with your build and try again技术、学习、经验文章掘金开发者社区搜索结果。掘金是一个帮助开发者成长的社区,vue ...
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