The json code is not working on the server. It seems to me due to the fact that node.js is version 14 on Heroku. And the latest version 16. Everything starts on my local computer. It immediately gives an error. Help solve.
The error itself:
2021-11-18T18:02:54.848162+00:00 app[worker.1]: /app/node_modules/discord.js/src/rest/APIRequest.js:33 2021-11-18T18:02:54.848192+00:00 app[worker.1]: agent ??= new https.Agent({ ...this.client.options.http.agent, keepAlive: true }); 2021-11-18T18:02:54.848193+00:00 app[worker.1]: ^^^ 2021-11-18T18:02:54.848193+00:00 app[worker.1]: 2021-11-18T18:02:54.848193+00:00 app[worker.1]: SyntaxError: Unexpected token '??='
on Lunix we use : $zip myfile.zip filename unzip: $unzip filename.zip