Doesn't glitch support es6 module?

I tried to host a discord bot written in node js es6 module, but it keeps throwing error that “unexpected token {” although it works fine locally.

import { Client, GatewayIntentBits, Collection } from "discord.js";
import { config } from "dotenv";
import fs from "fs";
import { ListObjectsCommand } from "@aws-sdk/client-s3";
import s3 from "./client/aws.js";
import http from "http";

That seems strange to me, I don’t get any error. Can you please give your project’s name, or if it’s private, then your index.js code?