-
Notifications
You must be signed in to change notification settings - Fork 200
Broken build on Node v18 #1373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] We're also updating the docs to mention using `nvm` to manage node versions. [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] We're also updating the docs to mention using `nvm` to manage node versions. [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] We're also updating the docs to mention using `nvm` to manage node versions. [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
3 tasks
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], we want to stay in sync with the current node version shipped with VSCode (16.13.0) [2]. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18. [3] We're also updating the docs to mention using `nvm` to manage node versions. [1]: #1369 (comment) [2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 [3]: #1373
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here [1], since the current build for this extension does not work with Node v18 [2], it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0. [1]: #1369 (comment) [2]: #1373
3 tasks
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version [shipped with VSCode](https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2) (v16.13.0). For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version shipped with VSCode (v16.13.0): https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2). For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version shipped with VSCode (v16.13.0): https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2. For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version shipped with VSCode (v16.13.0): https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version shipped with VSCode (v16.13.0): https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions and point to the right place to check for current supported versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 1, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
Cause of this error is mozilla/source-map#454, which is a dependency of |
elenatanasoiu
added a commit
that referenced
this issue
Jun 13, 2022
As recommended here #1369 (comment), we want to stay in sync with the current node version shipped with VSCode (v16.13.0): https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2 For this we can add a `.nvmrc` file to alert nvm to switch to the preferred version automatically. It will also help prevent builds from failing when setting up the project for the first time, as building the extension currently fails in Node v18: #1373 We're also updating the docs to mention using `nvm` to manage node versions and point to the right place to check for current supported versions.
elenatanasoiu
added a commit
that referenced
this issue
Jun 13, 2022
As recommended here #1369 (comment), since the current build for this extension does not work with Node v18 #1373, it would be good to set a maximum node version until this gets addressed. So we're updating `engines` here to allow for a maximum version, which in this case is v17.0.0.
As mentioned in #1378, there's no rush right now to get this fixed, but we do need to address this before vscode releases a version that ships with node 18, which is likely to be in a few months. |
This is addressed in #1387 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Building the extension via
npm run build
breaks on Node v18, but works fine on previous versions.Full error output:
To reproduce
Expected behavior
The build command should complete without errors.
Additional context
This passes in codespaces as a codespace currently defaults to v16. Discovered while working on #1369
The text was updated successfully, but these errors were encountered: