Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

startup error #9

Open
jewelalex opened this issue Feb 22, 2022 · 1 comment
Open

startup error #9

jewelalex opened this issue Feb 22, 2022 · 1 comment

Comments

@jewelalex
Copy link

hello sir

i downloaded your bot and im getting this error msg

index.js: 1: Syntax error: "(" unexpected

thx

@jewelalex
Copy link
Author

const unsplash = new Unsplash({ accessKey: configs.UNSLASH_ACCESS_KEY });
^

TypeError: Unsplash is not a constructor
at Object. (/opt/eagles/commands/general/images.js:5:18)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at /opt/eagles/node_modules/require-all/index.js:56:46
at Array.forEach ()
at requireAll (/opt/eagles/node_modules/require-all/index.js:34:9)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant