mikegedelman / atom-force

lightweight atom.io salesforce plugin
GNU General Public License v2.0
6 stars 3 forks source link

Object.require is deprecated. #5

Closed kerkarpraj closed 6 years ago

kerkarpraj commented 7 years ago

Use remote.BrowserWindow instead of remote.require("browser-window")

Object.require (C:\Users\Prajyot\AppData\Local\atom\app-1.16.0\resources\app.asar\src\electron-shims.js:54:12)
Object.<anonymous> (C:\Users\Prajyot\.atom\packages\atom-force\lib\atom-force.js:55:41)
Module._compile (C:\Users\Prajyot\AppData\Local\atom\app-1.16.0\resources\app.asar\src\native-compile-cache.js:109:30)
Object..js (C:\Users\Prajyot\AppData\Local\atom\app-1.16.0\resources\app.asar\src\compile-cache.js:216:21)
Module.load (module.js:473:32)
tryModuleLoad (module.js:432:12)
Priya-Sundaram commented 7 years ago

Facing the same issue..

bertday commented 6 years ago

Same, it won't open a browser window so I can't activate the plugin :/

mikegedelman commented 6 years ago

I might have some time to take a look at it this week, but feel free to make a PR too!

bertday commented 6 years ago

Taking a stab at it now :)

mikegedelman commented 6 years ago

A patch has been published to fix this, v0.3.6.