Skip to content

Globally installed old version of Electron Packager cannot run with Node >= 10 #991

@albu77

Description

@albu77

Preflight Checklist

  • [x ] I have read the contribution documentation for this project.
  • [x ] I agree to follow the code of conduct that this project follows, as appropriate.
  • [x ] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

  • **Node Verion
    Node v11.4.0
  • Electron Packager Version:
    • Electron Packager 13.1.1
  • Electron Version:
    • v1.8.1
  • Operating System:
    • Host Operating system: win32 (ia32)
  • Last Known Working Electron Packager version::
    *

Expected Behavior

Actual Behavior

with 2 projects one with version of electron-packager :8.1 and 13.1.1
I've tried changing the dependency in my package.json .Nothing can change the error. I'm under visualCode and emit the following command in the terminal. Everything worked fine before but I don't remember which node version was installed...
D:\electron\TestVisa>electron-packager D:\electron\VisaChine TestVisa --platform=win32 --arch=ia32 --overwrite --prune=true --ignore=output --ignore=doc --ignore=essais --ignore=packaging --ignore=.vscode --ignore=.gitignore --icon=assets/images/favicon.ico --win32metadata.CompanyName='AlbuWeb' --win32metadata.ProductName='TestVisa' --win32metadata.FileDescription='TestVisa' --win32metadata.OriginalFilename='testvisa.exe' --app-copyright="(C)2019 AlbuWeb "
CANNOT RUN WITH NODE 11.4.0
Electron Packager requires Node 4.0 or above.

To Reproduce

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    question ❓Question about using Electron Packager. Not supported in this issue tracker.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions