简体   繁体   中英

How to unzip a zip file from the Terminal?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM