Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

When developing for electron , require('electron') returns undefined #157

Closed
crcdng opened this issue Jan 30, 2017 · 0 comments
Closed

When developing for electron , require('electron') returns undefined #157

crcdng opened this issue Jan 30, 2017 · 0 comments

Comments

@crcdng
Copy link

crcdng commented Jan 30, 2017

When developing for electron, require('electron') returns undefined in platformio-atom-ide-terminal

To reproduce:

  1. git clone https://github.com/electron/electron-quick-start
  2. open in Atom and open terminal
  3. npm install
  4. npm start

This throws TypeError: Cannot read property ' on' of undefined However, in a system terminal it works as intended.

see also http://stackoverflow.com/questions/40664009/requireelectron-app-is-undefined-i-npm-installed-fresh-modules-unsure-what/40664925#40664925

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

No branches or pull requests

1 participant