Issue with npx create-cloudflare-cli --template chatgpt-plugin <PROJECT_NAME>

Hello Cloudflare Community,

I’ve been trying to set up a new Cloudflare Workers project using the command npx create-cloudflare-cli --template chatgpt-plugin <PROJECT_NAME>, as mentioned in a documentation/tutorial I’m following. However, I’ve encountered an issue where the command returns a 404 Not Found error for create-cloudflare-cli@latest.

Here’s the exact error I’m seeing:

csharpCopy code

npm ERR! code E404
npm ERR! 404 Not Found - GET - Not found
npm ERR! 404
npm ERR! 404  'create-cloudflare-cli@latest' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

I’ve ensured that I have the latest versions of Node.js and npm installed on my system. Here are the versions I’m using:

  • Node.js: v18.12.1
  • npm: 8.19.2

I’m wondering if anyone else has encountered this issue or if there’s been a change in the recommended way to set up a new Cloudflare Workers project with the ChatGPT plugin template. Any guidance or suggestions would be greatly appreciated!

Thank you in advance for your help!

The documentation seems to be wrong, try running npm create cloudflare and selecting ChatGPT plugin in the choice that comes up.

1 Like

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