Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Codespace: Install npm

Kilian Lieretb7f5c512b342
diff --git a/.devcontainer/oncreate.sh b/.devcontainer/oncreate.sh
index 311b40f7..4009dd6e 100755
--- a/.devcontainer/oncreate.sh
+++ b/.devcontainer/oncreate.sh
@@ -9,4 +9,8 @@ sudo usermod -aG docker vscode
sudo chmod 666 /var/run/docker.sock
pip install -e '.'
cp .devcontainer/sample_keys.cfg keys.cfg
-cat .devcontainer/bashrc_epilog.sh >> ~/.bashrc
\ No newline at end of file
+cat .devcontainer/bashrc_epilog.sh >> ~/.bashrc
+
+# Install nodejs
+curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - &&\
+sudo apt-get install -y nodejs