openwisp / ansible-openwisp-wifi-login-pages

Ansible role to deploy and manage OpenWISP WiFi Login Pages
https://openwisp.org
5 stars 7 forks source link

[change] Install nodeJS v20.9.0 LTS #35

Closed nemesifier closed 9 months ago

nemesifier commented 11 months ago

Let's change the playbook so that it installs nodeJS v20.9.0 LTS.

pandafy commented 11 months ago

While testing locally, I am getting this error with Node 20 on yarn build task

ERROR in ./utils/load-translation.js
    Module not found: Error: Can't resolve '../translations' in '/opt/openwisp2/wifi-login-pages/client/utils'

@nemesifier since you use Node 20 in your development environment, did you face this too?

paramosr commented 10 months ago

which version of Node are you using before 20? @pandafy

pandafy commented 10 months ago

Hey @paramosr, apologies for my late reply. I was using Node 16 before.