zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
45.73k stars 2.52k forks source link

Linux install script fails with "unexpected end of file" error #14179

Open krishnaraj opened 1 month ago

krishnaraj commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Running the install script on Pop!_OS 22.04 fails with the below error

image

Environment

Pop!_OS 22.04

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


GlacierFox commented 1 month ago

I'm getting something similar, although it actually seemed to (partially?) install for me. Every time I open a new terminal in Zed I get this:

image

(RHEL 9.4, KDE)

r0kym commented 1 month ago

Same issue here. A manual installation worked without issues

steve-reilly24 commented 1 month ago

unable to reproduce on Fedora 40

dmytrogajewski commented 1 week ago

Have same issue bash: _module_raw: line 1: syntax error: unexpected end of file bash: error importing function definition for `_module_raw' bash: module: line 2: syntax error: unexpected end of file bash: error importing function definition for `module' /usr/bin/sh: module: line 2: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `module' /usr/bin/sh: _module_raw: line 1: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `_module_raw' /usr/bin/sh: module: line 2: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `module' /usr/bin/sh: _module_raw: line 1: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `_module_raw' /usr/bin/sh: module: line 2: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `module' /usr/bin/sh: _module_raw: line 1: syntax error: unexpected end of file /usr/bin/sh: error importing function definition for `_module_raw' bash: module: line 2: syntax error: unexpected end of file bash: error importing function definition for `module' bash: _module_raw: line 1: syntax error: unexpected end of file bash: error importing function definition for `_module_raw' bash: module: line 2: syntax error: unexpected end of file bash: error importing function definition for `module' bash: _module_raw: line 1: syntax error: unexpected end of file bash: error importing function definition for `_module_raw' bash: module: line 2: syntax error: unexpected end of file bash: error importing function definition for `module' bash: _module_raw: line 1: syntax error: unexpected end of file bash: error importing function definition for `_module_raw' bash: module: line 2: syntax error: unexpected end of file

GlacierFox commented 1 week ago

@dmytrogajewski Which distro are you using?

dmytrogajewski commented 1 day ago

@GlacierFox Fedora 40