Answer the question
In order to leave comments, you need to log in
Nest start. What is the error in /bin/sh line 0: unexpected EOF?
Hello!
I installed @nestjs/cli globally, ran the nest new command - the project was created.
But when I try to run it, I get the following error:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
sudo nano /bin /sh - displays "a bunch of questions in an incomprehensible encoding"
Has anyone had such a problem? How did you decide? I understand that nest may not be the issue, but I haven't touched anything else, and other commands run without any problems.
Answer the question
In order to leave comments, you need to log in
belyy_lis , fix the link
readlink $(which nest)
../../../Users//.config/yarn/global/node_modules/.bin/nest
file ../../../Users/userName/.config/yarn/global/node_modules/.bin/nest
../../../Users/userName/.config/yarn/global/node_modules/.bin/nest: cannot open `../../../Users/userName/.config/yarn/global/node_modules/.bin/nest' (No such file or directory)
/usr/local/bin/nest
ln -fs "правильный путь" /usr/local/bin/nest
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question