https://pulumi.com logo
#general
Title
# general
b

big-potato-91793

11/01/2019, 2:03 PM
Hey, which version of node is recommanded for pulumi?
b

better-rainbow-14549

11/01/2019, 2:05 PM
just the latest i believe. i'm on 11.3.0 fwiw
a

ancient-memory-38025

11/01/2019, 2:05 PM
Version 8 or later
b

big-potato-91793

11/01/2019, 2:12 PM
Ah ok good. we got some weird behaviour with the node 12
Copy code
pulumi:pulumi:Stack aurora-edge-selenium-nonprod running 
D1029 18:31:07.630242640     186 <http://env_linux.cc:71]|env_linux.cc:71]>            Warning: insecure environment read function 'getenv' used
@ previewing update......................................................
this never finish.. but if we go back to the desbian image. everything is working
t

tall-librarian-49374

11/01/2019, 2:31 PM
The official recommendation is the latest LTS, thus currently 12 and not 13. Not sure about the problem though.
w

white-balloon-205

11/01/2019, 2:57 PM
@big-potato-91793 what OS was that on? I suspect that is not related to Node version but to something related to the OS. If this is alpine, you may need some of the tips here: https://github.com/pulumi/pulumi/issues/1986
b

big-potato-91793

11/01/2019, 3:02 PM
We are running on alpine. But I got the same things as the guy mention on the issue. Except the env part for
Copy code
ENV PATH=$PATH:/root/.pulumi/bin
b

billowy-laptop-45963

11/01/2019, 3:08 PM
I had weird node issues too which seemed due to the version: https://pulumi-community.slack.com/archives/C84L4E3N1/p1565806389319900
b

big-potato-91793

11/01/2019, 3:26 PM
Got also that strange behaviour 👇
Copy code
Outputs:
  + 0     : "0"
  + 1     : "4"
  + 10    : "0"
  + 11    : "e"
  + 12    : "4"
  + 13    : "-"
  + 14    : "4"
  + 15    : "6"
  + 16    : "f"
  + 17    : "7"
  + 18    : "-"
  + 19    : "9"
  + 2     : "d"
  + 20    : "6"
  + 21    : "e"
  + 22    : "c"
  + 23    : "-"
  + 24    : "b"
  + 25    : "5"
  + 26    : "6"
  + 27    : "f"
  + 28    : "f"
  + 29    : "0"
  + 3     : "a"
  + 30    : "3"
  + 31    : "3"
  + 32    : "1"
  + 33    : "b"
  + 34    : "a"
  + 35    : "9"
  + 4     : "6"
  + 5     : "b"
  + 6     : "5"
  + 7     : "4"
  + 8     : "-"
  + 9     : "8"
  - record: "endpoint"
w

white-balloon-205

11/01/2019, 4:14 PM
The latter sounds like you set
module.exports
to an array?