Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install/rebuild [email protected] #2077

Closed
WhyBeU opened this issue Apr 14, 2021 · 3 comments · Fixed by #2082
Closed

Failed to install/rebuild [email protected] #2077

WhyBeU opened this issue Apr 14, 2021 · 3 comments · Fixed by #2082
Labels
bug 🐛 For unexpected issues

Comments

@WhyBeU
Copy link

WhyBeU commented Apr 14, 2021

Prerequisites

Description

Hi, thanks for the awesome package, I have been using for almost 3 years now.
While starting the day, Got an issue where the package would not run and issue an error (upon starting the kernel) which prompted to rebuild the package (Hydrogen). The package failed to rebuild. I went on to uninstall and reinstall the package.
Upon installation I still encountered the following error.
Thanks for the help!

[email protected] install C:\Users\z5189526\AppData\Local\Temp\apm-install-dir-2021314-14752-z8u63i.0335b\node_modules\Hydrogen\node_modules\zeromq
node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)

prebuild-install WARN install No prebuilt binaries found (target=9.4.4 runtime=electron arch=x64 libc= platform=win32)

Downloading libzmq for Windows
Download finished

C:\Users\z5189526\AppData\Local\Temp\apm-install-dir-2021314-14752-z8u63i.0335b\node_modules\Hydrogen\node_modules\zeromq>if not defined npm_config_node_gyp (node "C:\Users\z5189526\AppData\Local\atom\app-1.56.0\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\z5189526\AppData\Local\atom\app-1.56.0\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)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(439,5): error MSB8020: The build tools for Visual Studio 2015 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install Visual Studio 2015 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\z5189526\AppData\Local\Temp\apm-install-dir-2021314-14752-z8u63i.0335b\node_modules\Hydrogen\node_modules\zeromq\build\zmq.vcxproj]

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\z5189526\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\Users\z5189526\AppData\Local\atom\app-1.56.0\resources\app\apm\bin\node.exe" "C:\Users\z5189526\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\z5189526\AppData\Local\Temp\apm-install-dir-2021314-14752-z8u63i.0335b\node_modules\Hydrogen\node_modules\zeromq
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\z5189526\AppData\Local\Temp\apm-install-dir-2021314-14752-z8u63i.0335b\package.json'
npm WARN apm-install-dir-2021314-14752-z8u63i.0335b No description
npm WARN apm-install-dir-2021314-14752-z8u63i.0335b No repository field.
npm WARN apm-install-dir-2021314-14752-z8u63i.0335b No README data
npm WARN apm-install-dir-2021314-14752-z8u63i.0335b No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\z5189526.atom.apm_logs\2021-04-14T05_05_20_665Z-debug.log

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Versions

apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.56.0
python 3.6.6
git 2.30.0.windows.2
visual studio

OS version:
Windows Version 10.0.19042 Build 19042

Hydrogen version:
2.14.7

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

  • [ N] hydrogen-python
  • [ N] Hydrogen Launcher
  • [ N] Data Explorer
@WhyBeU WhyBeU added the bug 🐛 For unexpected issues label Apr 14, 2021
@WhyBeU
Copy link
Author

WhyBeU commented Apr 14, 2021

@aminya
Copy link
Member

aminya commented Apr 14, 2021

Duplicate of #2034

@aminya
Copy link
Member

aminya commented Apr 15, 2021

Hydrogen 2.15.0 is released. Now you can use Hydrogen on the latest Atom 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 For unexpected issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants