Skip to content

[Bug?]: Got Cannot read properties of undefined (reading 'sha') when using pnpm create solid #1897

Open
@CornWorld

Description

@CornWorld

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

I found a same issue, which caused by networking problem. But I am sure my network is working for pnpm and so on.

Log:

~/Code 15:16:17
❯ pnpm create solid
.../1972a593d5c-1050c                    |   +1 +
.../1972a593d5c-1050c                    | Progress: resolved 1, reused 0, downloaded 1, added 1, done
┌  
 Create-Solid v0.6.5
│
◇  Project Name
│  solid-project
│
◇  What type of project would you like to create?
│  SolidStart
│
◇  Use Typescript?
│  Yes
│
◇  Which template would you like to use?
│  basic
│
◓  Creating project
 ERROR  Cannot read properties of undefined (reading 'sha')                                                                                                                                                                     3:16:23 PM

  at Object.fetchLatestCommit (/home/corn/.cache/pnpm/dlx/50c6515388259a224ec27b11533464b5df28f9ddae1b7448e25efdd0b01aa4ab/1972a593d5c-1050c/node_modules/.pnpm/[email protected]/node_modules/create-solid/dist/bin.mjs:10:31134)
  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
...

 ERROR  Cannot read properties of undefined (reading 'sha')                                                                                                                                                                     3:16:23 PM

■  Canceled

Expected behavior 🤔

No response

Steps to reproduce 🕹

Steps:

Context 🔦

No response

Your environment 🌎

~/Code 4s 15:16:23
❯ pnpm -v                        
10.6.5

~/Code 15:18:38
❯ node -v                                      
v22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions