run build error
See original GitHub issueFound an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
/Users/xxx/my-project/.electron-vue/build.js:45
const tasks = new Listr (
^
Syntax Error: Identifier 'tasks' has already been declared
How can I reproduce this problem?
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project
cd my-project
npm install
npm run build
If visual, provide a screenshot.
#
Tell me about your development environment.
- Node version: v14.15.4
- NPM version: v6.14.10
- vue-cli version: 2.9.6
- Operating System: darwin
If you are looking to suggest an enhancement or feature, then feel free to remove everything above.
variable tasks declared twice in bulid.js
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Errors when running npm run build - node.js - Stack Overflow
Im trying to create my built folder for a react project, but I get this error when I run the command 'npm run...
Read more >Execution of "npm run build" causes an error and can not be ...
I purchased Material Dashboard Pro React.(material-dashboard-pro-react@1.2.0) Execution of "npm run build" causes an error and can not be ...
Read more >"npm build / npm run build" shows error : r/reactjs - Reddit
Thing I've tried: Tried running `npm run-script build`. Tried doing `npm cache clean --force`. Tried deleting node_modules folder then using ...
Read more >A new Error: Command "npm run build" exited with 1 - Get Help
You need to follow the steps when you change the version of Node in a project, like npm install, probably some dependencies will...
Read more >Error MSB3073 The command "npm run build" exited with ...
Recently I was trying to build a complex project which included also node js code and was deployable to IIS. The error I...
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

the same error
its seems because this
you can remove this code from 37 to 41
then your project will be successful build