Currently, I am facing an issue while attempting to set up the probot.github app using the command
npx create-probot-app my-first-app
which can be found at: .
My system is running on the latest node version v19.3.0 with npm version 9.2.0. However, upon executing the command, the app creation fails, showing the following error message:
npm WARN deprecated <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f4c5d405c5c025c5f4e5841024e5c56414c6f1d011d011a">[email protected]</a>: cross-spawn no longer requires a build toolchain, use it instead
/Users/user1/.npm/_npx/ac7da0f8d6e6b5c7/node_modules/npm/index.js:4
throw new Error('The programmatic API was removed in npm v8.0.0')
^
Error: The programmatic API was removed in npm v8.0.0
at Object.<anonymous> (/Users/user1/.npm/_npx/ac7da0f8d6e6b5c7/node_modules/npm/index.js:4:9)
...
I've attempted to resolve this by downgrading the npm versions to both 6 and 7, along with trying lower versions of node as well. Unfortunately, despite these efforts, the same error persists. Any suggestions or assistance regarding this matter would be greatly appreciated.