Unattended install of node.js and npm, but without building it from source

StackOverflow https://stackoverflow.com/questions/6397737

  •  29-10-2019
  •  | 
  •  

Pergunta

Is there a way to install node.js and npm in an unattended way (with a shell script) without building it from source? I have an array of servers that scales automatically based on server load, but downloading the Node.js source and building it using make takes like 10 minutes.

Thanks!

edit: I tried copying over the binaries, but that resulted in an error that the binary was corrupted. And yes, they are all EC2 m1.small instances.

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top