openam-jp / openam

Other
32 stars 15 forks source link

Issue #242 Update nodejs/npm to fix build errors #253

Closed tsujiguchitky closed 2 years ago

tsujiguchitky commented 2 years ago

Analysis

This project has some build failure issue. We need to update Node.js and npm to fix this.

Solution

The following libraries have been updated. I've seen some issues with just updating Node.js and npm, so I'm updating the related libraries as well.

Also, since the ForgeRock repository was used as the NPM registry, I changed it to the standard one.

Compatibility

The fixed code uses Puppeteer instead of PhantomJS for karma.

Therefore, some packages are required for Puppeteer to work (See Puppeteer Troubleshooting page).

Testing

I confirmed that the build passed with openam-jp/forgerock-ui#17.

$ mvn clean install -f forgerock-ui
$ mvn clean install -f openam