codestates / codestates/Podo

[:space_invader:Error] Sever 다시 서버 다운

Open
#130 0 comments 0 reactions 2 assignees Claimed by @cherishxyun View on GitHub
Error Handling Log
Dominant language
JavaScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**에러를 상세히 작성하세요**
```js
0|app | /usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:30
0|app | import(url.pathToFileURL(process.env.pm_exec_path));
0|app | ^^^^^^
0|app | SyntaxError: Unexpected token import
0|app | at createScript (vm.js:80:10)
0|app | at Object.runInThisContext (vm.js:139:10)
0|app | at Module._compile (module.js:616:28)
0|app | at Object.Module._extensions..js (module.js:663:10)
0|app | at Module.load (module.js:565:32)
0|app | at tryModuleLoad (module.js:505:12)
0|app | at Function.Module._load (module.js:497:3)
0|app | at Function.Module.runMain (module.js:693:10)
0|app | at startup (bootstrap_node.js:188:16)
0|app | at bootstrap_node.js:609:3
```
위의 에러로 인해 다시 서버가 접속이 불가한 상태가 됨..

**에러의 원인이 무엇인가요**
정확한 원인을 모른다면 예상되는 원인을 작성하세요
1. 에러로그로만 본다면 ES6에서만 사용하는 import가 문제이고 따라서 노드 버전 문제가 아닐까 싶다.
하지만 이미 노드 버전은 최신 버전임.(rooot, ubuntu 모두 node v17.1.0 npm, v8.1.2)

**에러를 어떻게 해결했나요r**
해결 못함

**검색 키워드와 도움이 된 레퍼런스를 작성하세요**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.