Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supposedly Missing Dependencies #213

Closed
3 tasks done
cjduncana opened this issue Apr 30, 2017 · 6 comments
Closed
3 tasks done

Supposedly Missing Dependencies #213

cjduncana opened this issue Apr 30, 2017 · 6 comments

Comments

@cjduncana
Copy link

cjduncana commented Apr 30, 2017

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

Please describe your issue:

When I run any electron-forge command, including init and import, I receive an error message that says that I am missing dependencies for Electron. I have both Node.js v6 and Git installed on my computer. I also have Electron installed. I don't know of any other dependencies I would need.

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.

WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
  electron-forge:lifecycle Process Started: Checking your system +0ms
  electron-forge:lifecycle Process Succeeded: Checking your system +82ms
It looks like you are missing some dependencies you need to get Electron running.
Make sure you have git installed and Node.js version 6.0.0+

What command line arguments are you passing?

DEBUG=electron-forge:* electron-forge
@MarshallOfSound
Copy link
Member

In a clean terminal can you run git -v and node -v and indicate the output here.

Also is node 6 actually in your path or is it added to your path in your bashrc (or similar)

@cjduncana
Copy link
Author

@MarshallOfSound
I'm running Git v2.7.4 and Node v6.0.0. Node is in my path variable.

@MarshallOfSound
Copy link
Member

Hahaha @cjduncana, just realized you said you had exactly node v6.0.0. We require something greater than 6.0.0, not equal to 😢

Kinda want to change this, also want to make sure people have a reasonable patch version.

You should update to latest v6 of node to get security and bug fixes 👍

https://github.com/electron-userland/electron-forge/blob/master/src/util/check-system.js#L11

@cjduncana
Copy link
Author

I can confirm that by updating Node to v6.10.2 LTS, I was able to use electron-forge with no issues. Thanks, @MarshallOfSound.

@GuillermoBaldan
Copy link

I have the same error:

It looks like you are missing some dependencies you need to get Electron running. Make sure you have git installed and Node.js version 6.0.0+

But I see as this dependencies in my package.json:

{
  "name": "memoryassitant-electron",
  "version": "1.0.0",
  "description": "software para estudiantes  de asistencia en procesos de memorización de información diversa",
  "main": "index.js",
  "dependencies": {
    "electron-forge": "^5.2.4",
    "git": "^0.1.5",
    "node": "^14.0.0"
  },
  "devDependencies": {
    "electron": "^8.2.3"
  },
  "scripts": {
    "test": "test",
    "dev": "electron index.js",
    "test1": "electron frontend.html",
    "installer1": "electron-forge import"
  },
  "keywords": [
    "memory",
    "learning",
    "asistant"
  ],
  "author": "Guillermo Baldán",
  "license": "ISC"
}

As you can see I have git (^0.1.5) and node (^14.0.0) supposedly installed. I don´t understand why I get this error.

How can I solve it?

dsanders11 pushed a commit that referenced this issue Jan 14, 2023
fix: correct touch bar constructor in example
@joseaburt
Copy link

updating node is the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants