【问题标题】:How to unzip a zip file from the Terminal?如何从终端解压缩 zip 文件?
【发布时间】:2021-12-29 15:09:47
【问题描述】:

json 代码在服务器上不起作用。在我看来,由于 node.js 是 Heroku 上的第 14 版。最新版本 16。一切都在我的本地计算机上开始。它立即给出错误。帮忙解决。

错误本身:

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 应用程序 [worker.1]: ^^^ 2021-11-18T18:02:54.848193+00:00 应用程序[worker.1]: 2021-11-18T18:02:54.848193+00:00 app[worker.1]: SyntaxError: Unexpected token '??='

【问题讨论】:

  • 求助json,这里有什么问题?
  • 你能给我们看一些代码吗?仅从错误信息很难判断。
  • 请提供足够的代码,以便其他人更好地理解或重现问题。

标签: javascript node.js json node-modules


【解决方案1】:

在 Lunix 上我们使用:$zip myfile.zip 文件名 解压缩:$解压缩文件名.zip

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-01-09
    • 1970-01-01
    • 2023-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多