해결된 질문
작성
·
237
·
수정됨
0
문제)
의존성 설치 후 npm run dev를 기동하면
$ npm run dev
> test-example-shopping-mall@0.0.0 dev
> concurrently --kill-others 'npm run dev:server' 'npm run dev:ui'
[0] ''npm'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
[0] ��ġ ������ �ƴմϴ�.
[1] 'run'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
[1] ��ġ ������ �ƴմϴ�.
[2] ���� �̸�, ���� �̸� �Ǵ� ���� ���̺� ������ �߸��Ǿ����ϴ�.
[3] ''npm'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
[3] ��ġ ������ �ƴմϴ�.
[4] 'run'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
[4] ��ġ ������ �ƴմϴ�.
[4] run exited with code 1
--> Sending SIGTERM to other processes..
[3] 'npm exited with code 1
--> Sending SIGTERM to other processes..
--> Sending SIGTERM to other processes..
[1] run exited with code 1
--> Sending SIGTERM to other processes..
[0] 'npm exited with code 1
--> Sending SIGTERM to other processes..
[5] ���� �̸�, ���� �̸� �Ǵ� ���� ���̺� ������ �߸��Ǿ����ϴ�.
[5] dev:ui' exited with code 1
이런 콘솔이 찍히며 테스트 서버가 실행되지 않습니다.
인코딩이 깨져서 뭐가 문젠지 추적을 못하겠어요ㅠㅠ
node 버전은 강의와 동일하게 19.9.0으로 맞춰두었습니다.
+) 인코딩이 깨지는 문제는 vscode터미널 말고 다른 커맨드창을 이용하니 해결 되었습니다.
> test-example-shopping-mall@0.0.0 dev
> concurrently --kill-others 'npm run dev:server' 'npm run dev:ui'
[0] ''npm' is not recognized as an internal or external command,
[0] operable program or batch file.
[1] 'run' is not recognized as an internal or external command,
[1] operable program or batch file.
[2] The filename, directory name, or volume label syntax is incorrect.
[3] ''npm' is not recognized as an internal or external command,
[3] operable program or batch file.
[4] 'run' is not recognized as an internal or external command,
[4] operable program or batch file.
[4] run exited with code 1
--> Sending SIGTERM to other processes..
[3] 'npm exited with code 1
--> Sending SIGTERM to other processes..
[2] dev:server' exited with code 1
--> Sending SIGTERM to other processes..
[1] run exited with code 1
--> Sending SIGTERM to other processes..
[0] 'npm exited with code 1
--> Sending SIGTERM to other processes..
[5] The filename, directory name, or volume label syntax is incorrect.
[5] dev:ui' exited with code 1
그런데 여전히 실행이 안됩니다ㅜㅜ
npm을 못찾는거 같은데 환경변수에 따로 등록을 해야하나요? npm -v하면 버전은 잘 나오는데 원인을 모르겠습니다...
현재 환경변수와 버전정보 추가합니다.
넵 해결되었습니다!