#hosting on raspberry pi

1 messages · Page 1 of 1 (latest)

wraith temple

running node index.js on my vscode works fine, no errors
running it on my raspberry pi returns an error

node_modules/discord.js/src/client/BaseClient.js:29
      userAgentAppendix: options.rest?.userAgentAppendix
                                      ^

SyntaxError: Unexpected token "."
    at Object.<anonymous> (node_modules/discord.js/src/index.js:6:22)

yall got any clue?