hydrogen: Unable to install Hydrogen 2.13.1
[Enter steps to reproduce:] I first received this error when trying to start hydrogen: https://github.com/nteract/hydrogen/issues/1779 I attempted to resolve it using the linked solution (adding a line to dependencies in .atom packages) That didn’t fix it, so I uninstalled Hydrogen, restarted my computer, and then followed the steps below.
- Atom preferences
- Install tab
- Install Hydrogen
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15 Thrown From: Hydrogen package 2.13.1
Stack Trace
Uncaught SyntaxError: Unexpected token export
At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11
/Users/mdsutcliffe/.atom/packages/Hydrogen/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vs.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { export default {
^^^^^^
SyntaxError: Unexpected token export
at new Script (vm.js:79:7)
at NativeCompileCache.runInThisContext (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146322)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147206)
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/Hydrogen/node_modules/@nteract/presentational-components/lib/syntax-highlighter/index.js:15:30)
at /packages/Hydrogen/node_modules/@nteract/presentational-components/lib/syntax-highlighter/index.js:46: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/Hydrogen/node_modules/@nteract/presentational-components/lib/components/source.js:15:46)
at /packages/Hydrogen/node_modules/@nteract/presentational-components/lib/components/source.js:51: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/Hydrogen/node_modules/@nteract/presentational-components/lib/components/input.js:16:18)
at /packages/Hydrogen/node_modules/@nteract/presentational-components/lib/components/input.js:52:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
Commands
Non-Core Packages
Hydrogen 2.13.1
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 17 (8 by maintainers)
@Xavier-JS
apm install hydrogen@2.8.0Note from maintainer (@wadethestealth): This is the best current work around.
This is still a problem.
Atom: 1.40.1 x64 Electron: 3.1.10 OS: WS24 Thrown From: Hydrogen package 2.13.1
Stack Trace
Uncaught SyntaxError: Unexpected token export
Commands
Non-Core Packages