Skip to content

Bot can't start (first install) #25

Description

@SDS1234

Describe the bug
Bot can't start (first install)

To Reproduce
Steps to reproduce the behavior:
run run.js

Log
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/collection@1.5.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/util@0.2.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/rest@1.7.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }

up to date, audited 56 packages in 1s
14 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/collection@1.5.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/rest@1.7.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@discordjs/util@0.2.0',
npm WARN EBADENGINE required: { node: '>=16.9.0' },
npm WARN EBADENGINE current: { node: 'v16.6.1', npm: '7.20.3' }
npm WARN EBADENGINE }

up to date, audited 56 packages in 541ms
14 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
file:///home/container/run.js:17
Client, GatewayIntentBits
^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'discord.js' does not provide an export named 'GatewayIntentBits'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:179:5)
at async Loader.import (node:internal/modules/esm/loader:178:24)
at async Object.loadESM (node:internal/process/esm_loader:68:5)
at async handleMainPromise (node:internal/modules/run_main:63:12)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions