Skip to content

JavaScript/Node.js Application FAQ

How to upload a Node.js application

To upload a Node.js application, pack your code into a zip archive or upload the folder itself. Make sure the archive or the folder contains a package.json file — this is how the system identifies your project as a Node.js application.

Important

It must contain exactly one package.json file. If there are multiple or none — the system won't be able to recognize the project as a Node.js application.

How to choose a Node.js version

The Node.js version is taken from the package.json file. If the version is not specified, lts will be used by default. You can also manually select the desired version when loading the application in the second step. Available versions:

Version Description
lts Latest stable version (default)
latest Latest available version
22 Node.js 22
21 Node.js 21
20 Node.js 20
18 Node.js 18

How to install npm packages

By default, the system runs npm install to install dependencies from your package.json. If you need a different command to install packages (e.g., yarn install), you can change it on the second step of the upload process in the "Package install command" field.

How to change the run command

The run command is determined automatically based on the contents of package.json (see below). You can change it on the second step of the upload process in the "Run command" field.

Example run commands:

node index.js
node src/app.js
npm start

How the application entry point is determined

The system determines the Node.js application entry point in the following order:

  1. main field in package.json — standard Node.js entry point.
  2. scripts.start script — if it contains a command like node <file>, the file path is extracted.
  3. Fallback — if none of the above are found, index.js is used.

Example package.json:

{
  "name": "my-app",
  "version": "1.0.0",
  "main": "src/app.js",
  "scripts": {
    "start": "node src/app.js"
  }
}

Didn't find an answer?

Still have questions? Ask us in the Telegram support chat