Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Build issue: SyntaxError: Identifier 'tasks' has already been declared #1076

Closed
@RoshanMali

Description

@RoshanMali

Found an issue or bug with electron-vue? Tell me all about it!

Describe the issue / bug.

Thank you for creating this package.

I'm facing this issue while building:

const tasks = new Listr(
        ^

SyntaxError: Identifier 'tasks' has already been declared
    at wrapSafe (internal/modules/cjs/loader.js:931:16)
    at Module._compile (internal/modules/cjs/loader.js:979:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47

on .electron-vue\build.js:45

How can I reproduce this problem?
  1. Create new project using this command: vue init simulatedgreg/electron-vue my-project
  2. run: npm run build
If visual, provide a screenshot.

image

Tell me about your development environment.
  • Node version: v12.19.0
  • NPM version: 6.14.8
  • vue-cli version: 4.5.8
  • Operating System: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions