-
Notifications
You must be signed in to change notification settings - Fork 334
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
Uncaught Error: Cannot find module '@babel/runtime-corejs2/helpers/interopRequireWildcard' #1406
Comments
Not sure what's causing it but as a workaround, you can go to the package and directly install the dependency: cd ~/.atom/packages/Hydrogen/
npm install @babel/runtime-corejs2 |
Looking into this tonight. |
* Thanks @drewbo for the fix
I have seen the same problem in the Mac OS |
I am experiencing same issue. Windows 10. |
We have a fix in an open PR right now and will ship today after that's merged. |
Uninstalled and reinstalled since new commit. It works! Just want to say a really big thank you to all the contributors for how efficiently and fast this was solved! |
Description:
Hi there,
I installed Hydrogen on Atom using the command line (apm install hydrogen) as it throws an error directly from the package manager. After installation I open Atom to run some test code (eg, print("hello")). Even before I try to "shift-Enter", the error pops up. Unable to run any code with Hydrogen "shift-enter", running the file as a script works fine though.
Spend a bit of time looking around ( I rarely write help posts), and the closest I found was the same type of error message from meteor: [Dates from April 2018]
https://forums.meteor.com/t/solved-cannot-find-module-babel-runtime-helpers-builtin-objectspread-after-update-meteor-to-1-6-1-1/43034
The problem and solution there was:
"The meteor-babel npm package has been updated to version 7.0.0-beta.42, which may require updating any custom Babel plugins you’ve enabled in a .babelrc file, and/or running the following command to update @babel/runtime
meteor npm install @babel/runtime@latest"
I wonder if it's the same issue with Hydrogen, and if there is a fix for it or if I'm doing something wrong.
Help :)
Thanks
PS: In troubleshooting guide, it says to add debug messages by ticking enable debug message.
I don't have that tick in the settings (picture attached).
Steps to Reproduce:
(Hard to know since it happens when I open Atom after installation)
Versions:
Atom: 1.30.0 x64
Electron: 2.0.5
OS: Microsoft Windows 10 Enterprise
python: 3.6
Logs:
Stack Trace
Uncaught Error: Cannot find module '@babel/runtime-corejs2/helpers/interopRequireWildcard'
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: