# 디펜던시 설치

{% embed url="<https://phsun102.tistory.com/28>" %}

Nodejs 서버는 패널 콘솔을 이용한 npm install 같은 커맨드의 실행이 안됩니다.

```json
{
  "name": "Very cool discord chat bot",
  "version": "1.0.0",
  "description": "A bot",
  "main": "index.js",
  "scripts": {
    "test": "test"
  },
  "keywords": [],
  "author": "someone",
  "license": "ISC",
  "dependencies": {
    "discord.js": "^14.8.0",
    "dotenv": "^16.0.3",
    "openai": "^3.2.1"
  }
}

# Package.json의 예시
```

**package.json** 이라는 이름의 파일로 서버가 필요한 디펜던시를 적어두면 서버 실행시 설치가 자동으로 진행됩니다.

*디펜던시 관련 문제사항 공식적인 지원이 없습니다, 일부 기능 (예시: selenium, chromedriver)는  작동이 안될수도 있습니다*.

디펜던시 설치 공간은 서버 저장공간과 달라요. 100메가 초과시 OS 오류가 표시됩니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.weirdhost.xyz/bots/nodejs/nodepends.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
