Skip to content

npm init solid generating "API rate limit exceeded for ..." #2818

Description

@rrshaban

Describe the bug

Bit confused why there's an API call – but – bun create solid (&) npm init solid – are both throwing an error: "API rate limit exceeded for 104.28.162.133".

◒  Creating projectTypeError: Cannot read properties of undefined (reading 'sha'). Result received: {"message":"API rate limit exceeded for 104.28.162.133. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
    at Object.fetchLatestCommit (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:10:29109)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async ag (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:10:29245)
    at async fu (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:10:29957)
    at async ti (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:10:30053)
    at async po (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:208:245)
    at async Object.run (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:236:4420)
    at async fl (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:5:3429)
    at async ml (file:///Users/razi/.npm/_npx/d879f600f30f4f24/node_modules/create-solid/dist/bin.mjs:7:373) 

■  Canceled
npm error code 1
npm error path /Users/razi/dev/solid
npm error command failed
npm error command sh -c 'create-solid'

Bit odd.

Your Example Website or App

npm init solid

Steps to Reproduce the Bug or Issue

npm init solid
yes– yes – yes – yes

◇ Project Name
│ solid-project

◇ What type of project would you like to create?
│ SolidStart

◇ Which version of SolidStart?
│ v2 (pre-release, recommended)

◇ Use Typescript?
│ Yes

◇ Which template would you like to use?
│ basic

(also happens with v1 (stable))

Expected behavior

As a user, I expected this to generate something. It hasn't worked yet so I don't know.

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions