Launching tiny-care-terminal raise error
See original GitHub issue- Node Version:
4.2.6
- tiny-core-terminal version:
1.2.0:
- Shell:
bash
- Terminal Program:
ubuntu terminal
- Operating System:
linux ubuntu
hello when trying to launch tiny I get the following error :
/usr/local/lib/node_modules/tiny-care-terminal/gitbot.js:15
let allRepos = [];
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/local/lib/node_modules/tiny-care-terminal/care.js:4:14)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Any idea why ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
8. Errors and Exceptions — Python 3.11.1 documentation
The TypeError raised by dividing two strings is not handled by the except clause and therefore re-raised after the finally clause has been...
Read more >How to Throw Exceptions in Python
Catching Python Exceptions with Try-Except-Else-Finally The “finally” block runs whether or not the “try” block's code raises an exception. If ...
Read more >Manually raising (throwing) an exception in Python
How do I manually throw/raise an exception in Python? Use the most specific Exception constructor that semantically fits your issue.
Read more >Python Raise an Exception
To throw (or raise) an exception, use the raise keyword. Example. Raise an error and stop the program if x is lower than...
Read more >Python Exceptions: An Introduction
In this beginner tutorial you'll learn what exceptions are good for in Python. You'll see how to raise exceptions and how to handle...
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
👍 I installed node.js using the apt-get of ubuntu, well I will uninstall ubuntu soon then