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.

Getting JavaScript Error when opening new Tab in Hyper

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

I recently updated Hyper terminal to Version 3.2.3 and now am noticing that I get a JavaScript Error when trying to open a new tab. I did come across some older GitHub issues where others ran into the same error. But the resolution was to remove the hypercwd plugin. This doesn’t apply in my case because I don’t have any plugins installed. If anyone can help troubleshoot this issue, it would be much appreciated! Thanks! JavaScript Error

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
JBarker90commented, Jul 15, 2022

So removing the values for env and shellArgs fixed the error.

         // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
        // by default `['--login']` will be used
        shellArgs: [],
        // for environment variables
        env: {},

But now bash commands can’t be found. Are there recommended configurations I can use in .hyper.js to configure Cygwin Bash in Hyper?

jonat@Beastmaster /cygdrive/c/Users/jonat
$ ls
bash: ls: command not found
jonat@Beastmaster /cygdrive/c/Users/jonat
$ clear
bash: clear: command not found
1reaction
LabhanshAgrawalcommented, Jul 7, 2022

Can you check the shell path once, that error code is generally there when path doesn’t exist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hyperterminal is giving me JavaScript error code 267 When ...
When I try to open a new tab on hyper terminal, I get an error with code 267. But when i use the...
Read more >
HTML link in a new window - RapidTables.com
In order to open a link in a new window, add Javascript command onclick="window.open('text-link.htm', 'name','width=600,height=400') inside the <a> tag:.
Read more >
A Javascript Error occurred in the main process Windows 10 ...
A Javascript Error occurred in the main process Windows 10 Fixed| How to fix Fatal Discord ... Get Personal Technical Assistance ...
Read more >
HTML Links Hyperlinks - W3Schools
Links are found in nearly all web pages. Links allow users to click their way from page to page. HTML Links - Hyperlinks....
Read more >
Just upgraded, new tab shows Error Code ... - Brave Community
I think I found the solution. Go to chrome://flags/#brave-news and set it to default (if is not). Relaunch the browser and that's it....
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