question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

0reactions
lelouedeccommented, May 17, 2017

👍 I installed node.js using the apt-get of ubuntu, well I will uninstall ubuntu soon then

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found