JunoLab / Juno.jl

MIT License
145 stars 23 forks source link

[BUG] Juno: Error installing package ink #642

Open lemelinm opened 2 years ago

lemelinm commented 2 years ago

Error: Installing “ink@0.12.6” failed.

Details

Steps to reproduce

  1. I have installed Atom
  2. Then I Type uber-juno in the options->Install
  3. The installation was going without a glintch but then:
  4. This error appears...

The path of Julia has been set to my path ; C:\Users\mario\AppData\Local\Programs\Julia-1.7.2\bin That is where it was installed automatically By the way, I have NordVPN 6.43.5.0 but please, If you think it's him the problem, specify why.

I am new to programming in Julia (I am a Python guy) and I don't know how ot use Atom and Juno. So I followed instructions on this page.

Thank you in advance for your help! Mario

lemelinm commented 2 years ago

I read about it and with no NordVPM nor Kaspersky, I try this in Julia: (@v1.7) pkg> up Atom Juno

Updating registry at C:\Users\mario\.julia\registries\General.toml ERROR: The following package names could not be resolved:

  • Atom (not found in project or manifest)
  • Juno (not found in project or manifest) <<<<

(@v1.7) pkg> rm Atom Juno

ERROR: The following package names could not be resolved:

  • Atom (not found in project or manifest)
  • Juno (not found in project or manifest) <<<< So it seems that an error occur in Atom when I was trying to install julia-client: (I show the beginning)

Installing ink to C:\Users\mario.atom\packages failed

ink@0.12.6 postinstall C:\Users\mario\AppData\Local\Temp\apm-install-dir-2022121-16368-lm9g7o.d5oz\node_modules\ink node scripts/postinstall.js

(node:12724) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. npm WARN lifecycle npm is using C:\Users\mario\AppData\Local\atom\app-1.59.0\resources\app\apm\bin\node.exe but there is no node binary in the current PATH. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with. 'node' n'est pas reconnu en tant que commande interne ou externe, un programme ex�cutable ou un fichier de commandes. <<<<

But the location « C:\Users\mario\AppData\Local\atom\app-1.59.0\resources\app\apm\bin\node.exe» exist and node.exe is there???

I adding that when I start Juno the first time in Julia, the localhost:1234 had something at the end that require a secret Key that appears in Julia. But both Julia and Juno were not installed as Administrator?

So for a beginner, I must conclude that I am stupid or something is really wrong. The web is full of this problem. All this seems to be related to Atom 1.59. Should I change for another Julia editor? Because Julia works when it started directle from Julia?