Failed to activate the jupyter-notebook package
See original GitHub issueI just reinstalled atom-notebook and it cannot be launched anymore.
Atom: 1.22.0 x64 Electron: 1.6.15 OS: Ubuntu 16.04.3 Thrown From: jupyter-notebook package 0.0.10
Stack Trace
Failed to activate the jupyter-notebook package
At /home/stephentsui/.atom/packages/jupyter-notebook/lib/main.js: Unexpected token (36:4)
SyntaxError: /home/stephentsui/.atom/packages/jupyter-notebook/lib/main.js: Unexpected token (36:4)
return el;
}
});
},
deactivate() {
at Parser.pp.raise (/app.asar/node_modules/babylon/lib/parser/location.js:24:13)
at Parser.pp.unexpected (/app.asar/node_modules/babylon/lib/parser/util.js:82:8)
at Parser.pp.expect (/app.asar/node_modules/babylon/lib/parser/util.js:76:33)
at Parser.pp.parseExprList (/app.asar/node_modules/babylon/lib/parser/expression.js:785:12)
at Parser.pp.parseSubscripts (/app.asar/node_modules/babylon/lib/parser/expression.js:270:29)
at Parser.pp.parseExprSubscripts (/app.asar/node_modules/babylon/lib/parser/expression.js:240:17)
at Parser.pp.parseMaybeUnary (/app.asar/node_modules/babylon/lib/parser/expression.js:217:19)
at Parser.pp.parseExprOps (/app.asar/node_modules/babylon/lib/parser/expression.js:163:19)
at Parser.pp.parseMaybeConditional (/app.asar/node_modules/babylon/lib/parser/expression.js:145:19)
at Parser.pp.parseMaybeAssign (/app.asar/node_modules/babylon/lib/parser/expression.js:112:19)
at Parser.pp.parseExpression (/app.asar/node_modules/babylon/lib/parser/expression.js:79:19)
at Parser.pp.parseStatement (/app.asar/node_modules/babylon/lib/parser/statement.js:137:23)
at Parser.parseStatement (/app.asar/node_modules/babylon/lib/plugins/flow.js:655:22)
at Parser.pp.parseBlock (/app.asar/node_modules/babylon/lib/parser/statement.js:442:21)
at Parser.pp.parseFunctionBody (/app.asar/node_modules/babylon/lib/parser/expression.js:747:22)
at Parser.parseFunctionBody (/app.asar/node_modules/babylon/lib/plugins/flow.js:643:20)
at Parser.pp.parseMethod (/app.asar/node_modules/babylon/lib/parser/expression.js:717:8)
at Parser.pp.parseObjPropValue (/app.asar/node_modules/babylon/lib/parser/expression.js:658:23)
at Parser.parseObjPropValue (/app.asar/node_modules/babylon/lib/plugins/flow.js:891:13)
at Parser.pp.parseObj (/app.asar/node_modules/babylon/lib/parser/expression.js:640:10)
at Parser.pp.parseExprAtom (/app.asar/node_modules/babylon/lib/parser/expression.js:392:19)
at Parser.parseExprAtom (/app.asar/node_modules/babylon/lib/plugins/jsx/index.js:412:22)
at Parser.pp.parseExprSubscripts (/app.asar/node_modules/babylon/lib/parser/expression.js:236:19)
at Parser.pp.parseMaybeUnary (/app.asar/node_modules/babylon/lib/parser/expression.js:217:19)
at Parser.pp.parseExprOps (/app.asar/node_modules/babylon/lib/parser/expression.js:163:19)
at Parser.pp.parseMaybeConditional (/app.asar/node_modules/babylon/lib/parser/expression.js:145:19)
at Parser.pp.parseMaybeAssign (/app.asar/node_modules/babylon/lib/parser/expression.js:112:19)
at Parser.pp.parseExport (/app.asar/node_modules/babylon/lib/parser/statement.js:682:21)
at Parser.parseExport (/app.asar/node_modules/babylon/lib/plugins/flow.js:713:20)
at Parser.pp.parseStatement (/app.asar/node_modules/babylon/lib/parser/statement.js:115:90)
Commands
Non-Core Packages
activate-power-mode 2.6.0
atom-ide-ui 0.5.4
atom-python-run 0.9.3
atom-runner 2.7.1
autocomplete-python 1.10.3
busy-signal 1.4.3
Hydrogen 2.0.1
hydrogen-launcher 1.2.1
ide-cpp 0.0.3
ide-html 0.4.1
ide-python 0.3.0
intentions 1.1.5
jupyter-notebook 0.0.10
language-markdown 0.25.1
linter 2.2.0
linter-ui-default 1.6.10
markdown-assistant 0.2.0
markdown-pdf 2.1.0
markdown-preview-plus 2.4.16
markdown-scroll-sync 2.1.2
markdown-table-editor 0.6.4
markdown-toc 0.4.2
markdown-writer 2.7.3
python-debugger 0.2.0
python-indent 1.1.4
python-tools 0.6.9
script-runner 2.2.1
seti-icons 1.5.4
sync-settings 0.8.3
tidy-markdown 3.0.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
What to do when things go wrong - The Jupyter Notebook
Jupyter fails to start ; If it can't find jupyter , you may need to configure your PATH ; If Jupyter...
Read more >Failed to load the jupyter-notebook package #104 - GitHub
The best thing to do is; either you fix the issue of this open-source project on your own, or use the new applications...
Read more >How to fix errors occurring on installation of Jupyter Notebook
Upgrade your pip first: pip install --upgrade pip. Then: pip install jupyter.
Read more >Error due to missing `dateutil` import when starting jupyter ...
I'm trying to start up my Jupyter Notebook (jupyter notebook in ... File "/usr/local/lib/python3.9/site-packages/notebook/notebookapp.py", ...
Read more >Troubleshooting common Watson Studio Local problems - IBM
To fix this problem, apply Patch 06. Symptom: The following error occurs when you use the graphviz package within a Jupyter notebook. FileNotFoundError:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a extra
}
in the main .js file Simply open file : /home/.atom/packages/jupyter-notebook/lib/main.js inside main.js on line 36:});
Replace this with)},
and On line 37 or 38 there is a},
remove it Save the file restart AtomI think it’s the same problem in #67