New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript error on launch - Mac #131

Closed
Taffer opened this Issue Nov 8, 2018 · 2 comments

Comments

2 participants
@Taffer

Taffer commented Nov 8, 2018

The second and subsequent times I launch Extraterm on Mac OS (10.14 "Mojave") I get a JavaScript error. Clicking "OK" (the only button in the error dialog) closes the dialog, leaves the app running, but I don't get a window, and the only option in the menu is Quit.

Uncaught Exception:
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at basename (path.js:1395:5)
    at Command.parse (/private/var/folders/jd/t2rlxz8525z515_1cx1jg9t85q8b2g/T/AppTranslocation/A4968BAF-CD7B-447F-9E56-7F1E98BA8CAE/d/Extraterm.app/Contents/Resources/app/node_modules/commander/index.js:462:30)
    at main (/private/var/folders/jd/t2rlxz8525z515_1cx1jg9t85q8b2g/T/AppTranslocation/A4968BAF-CD7B-447F-9E56-7F1E98BA8CAE/d/Extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:95:10)
    at Object.<anonymous> (/private/var/folders/jd/t2rlxz8525z515_1cx1jg9t85q8b2g/T/AppTranslocation/A4968BAF-CD7B-447F-9E56-7F1E98BA8CAE/d/Extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:1067:1)
    at Object.<anonymous> (/private/var/folders/jd/t2rlxz8525z515_1cx1jg9t85q8b2g/T/AppTranslocation/A4968BAF-CD7B-447F-9E56-7F1E98BA8CAE/d/Extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:1069:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)

Deleting all the Extraterm files and unpacking them again from the release .zip file lets me run it once successfully.

@sedwards2009

This comment has been minimized.

Owner

sedwards2009 commented Nov 9, 2018

Thanks for reporting this. It has been fixed in 0.37.2 which is just released.

@Taffer

This comment has been minimized.

Taffer commented Nov 9, 2018

Excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment