atom-julia-client: Failed to activate the julia-client package

[Enter steps to reproduce:]

Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.14.6 Thrown From: julia-client package 0.11.2

Stack Trace

Failed to activate the julia-client package

At Cannot find module '../build/Debug/pty.node'

Error: Cannot find module '../build/Debug/pty.node'
    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:155413)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at Object.loadNative (/packages/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/lib/utils.js:22:16)
    at /packages/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/lib/unixTerminal.js:24:19)
    at /packages/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/lib/unixTerminal.js:255:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/lib/index.js:14:20)
    at /packages/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/lib/index.js:52:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/julia-client/lib/connection/process/basic.js:3:24)
    at /packages/julia-client/lib/connection/process/basic.js:186:2)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/julia-client/lib/connection/process/cycler.coffee:2:9)
    at /packages/julia-client/lib/connection/process/cycler.coffee:1:1)
    at /packages/julia-client/lib/connection/process/cycler.coffee:1:1)

Commands

Non-Core Packages

advanced-open-file 0.16.8 
atom-beautify 0.33.4 
atom-dark-fusion-syntax 2.2.1 
atom-django 0.3.2 
atom-html-preview 0.2.6 
atom-latex 0.8.11 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-mdtoc 0.8.4 
atom-runner 2.7.1 
atom-ternjs 0.20.0 
atom-typescript 13.3.0 
atomatigit 1.5.5 
autoclose-html 0.23.0 
autocomplete-bibtex 1.2.7 
autocomplete-html-entities 0.2.0 
autocomplete-modules 2.3.0 
autocomplete-paths 2.12.2 
autocomplete-python 1.16.0 
autoprefixer 4.1.0 
autoupdate-packages 1.3.1 
blame 1.1.0 
busy 0.7.0 
busy-signal 2.0.1 
css-snippets 1.1.0 
diagrams 0.30.0 
docblockr 0.13.7 
easy-motion-redux 1.3.3 
emmet 2.4.3 
ex-mode 0.18.0 
expand-region 0.5.0 
file-icons 2.1.36 
fixmyjs 1.4.1 
git-history 3.3.0 
git-log 0.4.1 
git-plus 8.7.1 
git-time-machine 2.1.0 
gitkraken-bisect 0.1.1 
glowing-cursor 0.1.2 
golden-ratio 0.3.0 
highlight-line 0.12.0 
highlight-selected 0.16.0 
Hydrogen 2.13.0 
hydrogen-python 0.0.8 
hyperclick 0.1.5 
indent-detective 0.4.0 
ink 0.11.5 
intentions 1.1.5 
javascript-snippets 1.2.1 
julia-client 0.11.2 
language-diff 0.7.0 
language-julia 0.19.1 
language-latex 1.2.0 
language-markdown 0.37.0 
language-matlab 0.2.1 
language-weave 0.6.5 
latex 0.50.2 
latex-completions 0.3.6 
latexer 0.3.0 
lines 0.13.1 
linter 2.3.1 
linter-bootlint 1.1.7 
linter-csslint 2.0.6 
linter-eslint 8.5.5 
linter-jshint 3.1.17 
linter-julia 0.7.4 
linter-markdown 5.2.10 
linter-ui-default 1.8.0 
linter-xmllint 1.4.4 
markdown-pdf 2.2.0 
markdown-scroll-sync 2.1.2 
markdown-toc 0.4.2 
markdown-writer 2.11.9 
maximize-panes 0.2.0 
merge-conflicts 1.4.5 
move-panes 0.2.0 
neon-syntax 0.3.7 
nucleus-dark-ui 0.12.3 
pdf-view 0.72.0 
pigments 0.40.2 
platformio-ide-terminal 2.9.4 
project-plus 1.0.0 
proton-mode 0.16.0 
python-isort 0.0.7 
python-tools 0.6.9 
python-yapf 0.14.0 
react 0.18.0 
react-snippets 1.2.0 
recent-files-fuzzy-finder 1.0.0 
relative-numbers 0.9.0 
release-notes 0.53.0 
remote-ftp 2.2.2 
script 3.18.1 
tab-switcher 1.5.6 
teletype 0.13.4 
theme-switch 0.6.0 
tool-bar 1.2.0 
uber-juno 0.3.0 
vim-mode-plus 1.36.2 
zentabs 0.8.9 

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 4
  • Comments: 40 (16 by maintainers)

Most upvoted comments

Same this error after upgrade today Atom to v.1.41.0 x64 (osx Mojave)

Add: Simple solve:

  1. ununstall ‘julia-client’ package.
  2. restart Atom
  3. install back ‘julia-client’ package.
  4. restart Atom Enjoy! 😉

I released a new version of julia-client (as well as ink) a couple of minutes ago (which might or might not help with this issue). Can you all try the following steps again:

  1. Close all Atom instances.
  2. Open a terminal and type in apm uninstall ink and apm uninstall julia-client,
  3. Re-install those packages with apm install ink, followed by apm install julia-client.
  4. Open Atom.

Update: What worked for me was that after uninstalling and reinstalling ink and julia-client, I needed to rebuild all packages in Atom.

Just accepting all the updates and the advised restart worked for me. Ubuntu 16.04, $ atom -v Atom : 1.41.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0