Deploying to GitHub Pages failed


Everything worked until two days: I commit the code to GitHub, and CircleCI deployed it to Github pages. And that’s how our website was updated.

For the last two days, I’m getting this error from the circleCI job:

error fs-extra@9.1.0: The engine "node" is incompatible with this module. Expected version ">=10".

I updated all the npm packages, including fs-extra (latest is 9.1.0). Node version is 10.15.3.
So I don’t understand why I see this error…

Note that locally the site is running fine. The issue is only on the deployment to GitHub.


I found the solution. Adding here if anyone interested:

I updated the node version of the circleCI docker: from 8.x.x to the latest (10.15.3).

I did it by updating the image: circleci/node field in the local yaml.config file, and specified the version you desire here:

  - image: circleci/node:10.15.3 


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.