The engine "node" is incompatible with this module #130779
Replies: 3 comments 1 reply
-
Add (or tweak) the - uses: actions/setup-node@v4
with:
node-version: 18 # or use 20 |
Beta Was this translation helpful? Give feedback.
-
I already have done that adding the setup-node action, please have a look Yet it doesn't work and I get the same error with the node version: 18.15.0 |
Beta Was this translation helpful? Give feedback.
-
I found the solution and was able to fix it myself. Thank you all for your efforts 👍 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Show & Tell
Body
Hello,
I recently came across some issues with my CI/CD pipeline which was developed by my previous colleague.
Idk what is the issue here since I'm new to this setup. I had previous auth issue with the github actions some how manage to fix it but took me like a week.
Requesting your assistance to this issue. I tried all the possible fixes and resolution but none worked for me like, updated the node.js version in my workflow ci.yml file. Added few steps related to clearing the cache for npm and checking the node version down the process.
Here is the error:
Installing plugin @salesforce/sfdx-scanner... ⣽ [2/4] Fetching packages...
error @typescript-eslint/parser@7.14.1: The engine "node" is incompatible with this module. Expected version "^18.18.0 || >=20.0.0". Got "18.15.0"
error Found incompatible module.
Installing plugin @salesforce/sfdx-scanner... failed
Error: yarn add @salesforce/sfdx-scanner@latest --non-interactive
--mutex=file:/home/runner/.local/share/sfdx/yarn.lock
--preferred-cache-folder=/home/runner/.cache/sfdx/yarn --check-files
exited with code 1
Error: Process completed with exit code 1.
Please help with the fixes as I have deployment next week and this issues would probably get the deployment delayed.
Looking forward to hearing from you all community folks soon.
Thank you in advance and appreciate your time invested.
Regards,
Hardik
Beta Was this translation helpful? Give feedback.
All reactions