ansible-for-devops icon indicating copy to clipboard operation
ansible-for-devops copied to clipboard

Ch4 nodejs Fixes

Open MCDELTAT opened this issue 3 years ago • 2 comments

Removed Remi Repo tasks from Playbook. The CentOS 7/8 Repo does not contain npm or any of the required RPMs see here. EPEL 7 contains an npm package (3.10.0) but EPEL 8 does not because nodejs 10 and 12 LTS is available in the built-in AppStream repos.

Added version to package.json to fix bug that existed in version 3.3.0-3.3.1 of community.general.npm module. It would fail if a version tag was not available. This was fixed in 3.3.2, but should be there since it's included in the simple npminit values. See commit here

MCDELTAT avatar Jul 09 '21 04:07 MCDELTAT

Honestly I don't remember why I had the remi tasks in there...

geerlingguy avatar Jul 13 '21 16:07 geerlingguy

Hmm. I see the one that failed is getting the same error as I was getting, which is caused by not using 3.3.2+ of community.general.npm

I can't see what role you're applying to download that Galaxy package, but it likely needs updating there first.

MCDELTAT avatar Jul 13 '21 16:07 MCDELTAT