Juno, julia-client install error

I install JUNO from the GUI in Atom caused by a bug of Atom not solved at present. I tried to install julia-client from the command console. After running the command of “apm install julia-client” , I got the following error. Any one can help? Thanks.

System information:

Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

The information of the error is as follows.

C:\Users\zhangly>apm install julia-client
Installing julia-client to C:\Users\zhangly\.atom\packages failed

> @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
> prebuild-install || node scripts/install.js


C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty_console_list.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj]

prebuild-install WARN install unexpected end of file
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11997-11656-1yaues3.xzqm\package.json'
npm WARN apm-install-dir-11997-11656-1yaues3.xzqm No description
npm WARN apm-install-dir-11997-11656-1yaues3.xzqm No repository field.
npm WARN apm-install-dir-11997-11656-1yaues3.xzqm No README data
npm WARN apm-install-dir-11997-11656-1yaues3.xzqm No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\zhangly\.atom\.apm\_logs\2019-10-07T05_17_41_576Z-debug.log

This either is a (usually spurious) download failure or an overzealous antivir that’s deleting (or stopping the download of) files Juno needs.

1 Like

Thank you so much! After I close the antivir and firewall. I got the same errors. I also test using network of both my home and company.

I like many features of Juno. Unfortunately, encountered many errors while updating the software on windows 10, which works well on my Mac. Thanks for your efforts on Juno.

I have shut down all the antivirus and still can not install the new package. This is caused by some problem of Atom https://discuss.atom.io/t/unable-to-get-local-issuer-certificate/38660 .
I can use apm to install and update existing package. Atom GUI also works for updating the installed package now, however can still not install new one. When I update Julia-client, I get the following error which would be related to C++ compiler. Anyone can help? Thanks!

Updating to “julia-client@0.11.1” failed.Hide output…

> @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
> prebuild-install || node scripts/install.js


C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty.vcxproj]
  
  
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty_console_list.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty_console_list.vcxproj]
  
  
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj]
  
  
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj]
  
  

prebuild-install WARN install unexpected end of file
gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-13048-9g98qs.skrle\package.json'
npm WARN apm-install-dir-11999-13048-9g98qs.skrle No description
npm WARN apm-install-dir-11999-13048-9g98qs.skrle No repository field.
npm WARN apm-install-dir-11999-13048-9g98qs.skrle No README data
npm WARN apm-install-dir-11999-13048-9g98qs.skrle No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\zhangly\.atom\.apm\_logs\2019-10-09T03_08_18_997Z-debug.log

When I install Julia-client from console window. The error message is as following.

Installing julia-client to C:\Users\zhangly\.atom\packages failed

> @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
> prebuild-install || node scripts/install.js


C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty.vcxproj]


C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty_console_list.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\conpty_console_list.vcxproj]


C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj]


C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj]
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj]



prebuild-install WARN install unexpected end of file
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\zhangly\AppData\Local\atom\app-1.40.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\zhangly\\AppData\\Local\\atom\\app-1.40.1\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zhangly\AppData\Local\Temp\apm-install-dir-11999-11748-13305it.0kda\package.json'
npm WARN apm-install-dir-11999-11748-13305it.0kda No description
npm WARN apm-install-dir-11999-11748-13305it.0kda No repository field.
npm WARN apm-install-dir-11999-11748-13305it.0kda No README data
npm WARN apm-install-dir-11999-11748-13305it.0kda No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\zhangly\.atom\.apm\_logs\2019-10-09T03_29_46_938Z-debug.log

same problem here following an update within Atom!

I finally solved this problem by copying portable version of Atom from another machine with all Juno packages.