We have a Node.js project that is using Dependency Scanning. Our project is using Node engine 10.16.0 LTS. When the DS job runs it detects Node and loads the retire.js scanner and kicks it off but we get the following error:
Found project in /tmp/app/
yarn install v1.16.0
[1/5] Validating package.json…
error email@example.com: The engine “node” is incompatible with this module. Expected version
“>=10.0.0 <11.0.0”. Got “11.15.0”
error Found incompatible module.
Looks like the scanner is loading Node 11.15.0 and some of our modules are not compatible. This scan actually used to work until we started using yarn.lock files. Any suggestions?