Hey, which version of node is recommanded for pulu...
# general
b
Hey, which version of node is recommanded for pulumi?
b
just the latest i believe. i'm on 11.3.0 fwiw
a
Version 8 or later
b
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
The official recommendation is the latest LTS, thus currently 12 and not 13. Not sure about the problem though.
w
@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
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
I had weird node issues too which seemed due to the version: https://pulumi-community.slack.com/archives/C84L4E3N1/p1565806389319900
b
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
The latter sounds like you set
module.exports
to an array?