Skip to content

Cannot bootstrap atom for development with Node 18 #427

Answered by aminya
IneptusMechanicus asked this question in Q&A
Discussion options

You must be logged in to vote

Please follow the instructions in https://github.com/atom-community/atom/blob/master/docs/Building.md

The requirements are clearly stated. You need Node 12.18.3 version, npm 6, and a C++ compiler (e.g. Visual Studio 2017). You can also see the official preparation step of our CI image that is tested continuously:
https://github.com/atom-community/atom/blob/master/script/vsts/platforms/templates/preparation.yml

The reason your build has failed is that you are building for a newer Nodejs target. We can probably avoid this by adding target=12.18.3 to .npmrc. You can also define it by setting the environment variable npm_config_target=12.18.3

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@DeeDeeG
Comment options

@mauricioszabo
Comment options

@IneptusMechanicus
Comment options

@IneptusMechanicus
Comment options

@DeeDeeG
Comment options

Answer selected by aminya
Comment options

You must be logged in to vote
2 replies
@DeeDeeG
Comment options

@IneptusMechanicus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants