Julia Stopped working due to 2 deprecated methods

HI everyone,

Maybe someone could help me out here. When I opened atom yesterday, there were two updates available. It has happened before that these updates must be installed or otherwise the program stops working. But this time, there were also two deprecation warnings (I never saw one before) and now even after installing the updates, atom does not work. Anyone know how to fix this?

the deprecation messages are the following:

  • Use require("electron").shell instead of require("shell")

Object. - C:\Users\Tomás\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\shell.js:4:6

Object. - C:\Users\Tomás\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\shell.js:9:3

Module._compile - :11:149837

Object…js - :11:153385

Module.load - internal/modules/cjs/loader.js:815:32

Module._load - internal/modules/cjs/loader.js:727:14

  • Use require("electron").remote instead of require("remote")

Object. - C:\Users\Tomás\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\remote.js:4:6

Object. - C:\Users\Tomás\AppData\Local\atom\app-1.56.0\resources\app.asar\exports\remote.js:11:3

Module._compile - :11:149837

Object…js - :11:153385

Module.load - internal/modules/cjs/loader.js:815:32

Module._load - internal/modules/cjs/loader.js:727:14

1 Like

That’s a red herring. Try

apm uninstall julia-client ink
apm install julia-client ink

as per the update instructions after closing all Atom instances.

1 Like

While we’re on the topic do you happen to know whether there’s a fix for these deprecations? Are they Atom or Juno related?

Juno related. And yes, there is a fix. No one’s bothered to implement it though :slight_smile:

2 Likes

Thank you so much pfitzseb. I tried what you suggested and it worked. The 2 deprecation warnings are still there but it runs ok now.

@pfitzseb do you know if they are going to implement it eventually?

Most IDE work has shifted to vscode AFAIK.

4 Likes

Although so far the position has been Juno is in maintenance mode, which arguably could cover this.