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

im getting "cannot read property 'default session' of undefined #2

Open
zahaan-jasani opened this issue May 14, 2019 · 0 comments
Open

Comments

@zahaan-jasani
Copy link

zahaan-jasani commented May 14, 2019

const remote = require('electron').remote;
const settings = require('electron').remote.require('electron-settings');
const { BrowserWindow } = require('electron').remote;
const { session } = require('electron');
const { trackEvent, pageView, trackCustomDimension, setUserId } = require('electron').remote.require('../../src/js/analytics');
const qs = require('qs');
const axios = require('axios');
const FB = require('fb');

it is saying that session is undefined but i have electron downloaded inside my yarn file and im declaring the variable in my require statement

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

1 participant