apex / apex/up

apex up doesnt support node 12

未关闭
#820 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
8.8k
派生
383
PR 合并指标
30 天内没有已合并 PR

描述

## Prerequisites

* [ ] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [ ] Are you an Up Pro subscriber?

## Description

Hello,
I added new code to our backend and it contained the not so new private class fields. Everything worked fine locally, running the same runtime version.

## Steps to Reproduce

using up v1.5.1
add any private class fields like:

```
class Test {
#result;
constructor(result) {
this.#result = result;
}
}
```

deploy live
inspect with:
`up logs
`

After a couple of hours debugging this, I had to refactor the class to the old syntax. and everything worked.

Hopefully we won't run into this problem again when we decide to upgrade to node12.

## Love Up?

Please consider signing up for Up Pro (https://up.docs.apex.sh/#guides.subscribing_to_up_pro) or donating via https://opencollective.com/apex-up/donate.

## Slack

Join us on Slack https://chat.apex.sh/

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。