Skip to content

[Bug?]: Cannot create solid project that throws "fetch failed" #1909

@memorw

Description

@memorw

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

I am following the instructions Getting Started by official website, it can't create a new project.

pnpm create solid@latest

It reports

 ERROR  fetch failed                                                                                                                                                     13:29:02

  at node:internal/deps/undici/undici:13510:13
  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
  at async Object.fetchLatestCommit (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:10:30970)
  at async sD (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:10:31199)
  at async rl (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:10:31913)
  at async ci (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:10:32001)
  at async lo (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:192:298)
  at async Object.run (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:220:3419)
  at async tc (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:5:3996)
  at async sc (/C:/Users/Windows/AppData/Local/pnpm-cache/dlx/cc2cf9e1462ef48f0ffc2d34b1f5f72354d2ace32a80b70ac165f43cb5e16350/197a05e4b2f-d78/node_modules/.pnpm/create-solid@0.6.5/node_modules/create-solid/dist/bin.mjs:7:369)



 ERROR  fetch failed                                                                                                                                                     13:29:02

■  Canceled

Image

Expected behavior 🤔

It should create a new project.

Steps to reproduce 🕹

Execute the command, and in China.

Context 🔦

  1. Behind a HTTP proxy
  2. Set npm config 'proxy' and 'http-proxy'
  3. Set environment variable 'HTTP_PROXY' and 'HTTPS_PROXY'
  4. Using pnpm

Your environment 🌎

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