probot/create-probot-app

The programmatic API was removed in npm v8.0.0

Closed this issue ยท 7 comments

Bug Report

Unable to create the project using npx command,

Current Behavior
Node version 19 also tried with lower version of node (16)

// Your code here
npx create-probot-app my-first-app

Expected behavior/code
should have create the project

Environment

  • Probot version(s): [e.g. v6.0.0]
  • Node/npm version: [e.g. Node 16,19/npm 7, 8]
  • MacOS Big Sur 11.4

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

Also seeing this ๐Ÿ˜ž - Relevant / additional conversation on the create-probot-app issue. Temporary work-around noted there is to use last working version

npx create-probot-app@v5.0.9 my-example-app

Fix is here, but it needs someone to merge it: #814

I'm also facing the same issue. Any updates?

@LucBerge

You can use this command that @nrakochy suggested, below;

npx create-probot-app@v5.0.9 my-example-app

This has been fixed in the latest release of create-probot-app

Awesome!!